wd_rand_query: Download random Wikidata items
Description
Utility wrapper for wikidata API to download random items. Used by random_item
Usage
wd_rand_query(ns, limit, ...)
Arguments
ns
string indicating namespace, most commonly "Main" for QID items, "Property" for PID properties
limit
how many random objesct to return
\dots
Additional parameters to supply to [httr::POST]
Value
a download of the full wikidata objects (items or properties) formatted as nested json lists