qid_from_name function

QID from label name

QID from label name

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

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)

Returns

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

  • Maintainer: Thomas Shafee
  • License: MIT + file LICENSE
  • Last published: 2021-11-16