wd_query function

Download a Wikidata item

Download a Wikidata item

Utility wrapper for wikidata API to download item. Used by get_item and get_property

wd_query(title, ...)

Arguments

  • title: the wikidata item or property as a string
  • \dots: Additional parameters to supply to [httr::POST]

Returns

a download of the full wikidata object (item or property) formatted as a nested json list

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