qid_from_name {WikidataR}R Documentation

QID from label name

Description

simple converter from label names to QIDs (for items in wikidata). Essentially a simplification of find_item

Usage

qid_from_name(name = "Thomas Shafee", limit = 100, format = "vector")

Arguments

name

name labels submitted as strings

limit

if multiple QIDs match each submitted name, how many to return

format

output format ('vector' to return a simple vector, or 'list' to return a nested list)

Value

vector of QIDs corresponding to names submitted. Note: some names may return multiple QIDs.


[Package WikidataR version 2.3.3 Index]