Retrieve randomly-selected Wikidata items or properties
Retrieve randomly-selected Wikidata items or properties
get_random_item and get_random_property allow you to retrieve the data associated with randomly-selected Wikidata items and properties, respectively. As with other WikidataR code, custom print methods are available; use str
to manipulate and see the underlying structure of the data.
get_item for selecting a specific item or property, or find_item for using search functionality to pull out item or property IDs where the descriptions or aliases match a particular search term.