Skip to contents

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

Usage

wd_query(title, ...)

Arguments

title

The Wikidata item or property as a string.

\dots

Additional parameters to supply to httr:POST.

Value

A downloaded full wikidata object (item or property) formatted as a nested json list.