wd_rand_query {WikidataR} | R Documentation |
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 |
... |
Additional parameters to supply to [httr::POST] |
Value
a download of the full wikidata objects (items or properties) formatted as nested json lists
[Package WikidataR version 2.3.3 Index]