Explore 'Wikidata' Through Tidy Data Frames


[Up] [Top]

Documentation for package ‘tidywikidatar’ version 0.2.0

Help Pages

tw_check_cache Check caching status in the current session, and override it upon request
tw_check_cached_items Check if given items are present in cache
tw_check_cache_folder Checks if cache folder exists, if not returns an informative message
tw_check_search Checks if an input is a search; if not, it tries to return a search
tw_create_cache_folder Creates the base cache folder where 'tidywikidatar' caches data.
tw_disable_cache Disable caching for the current session
tw_enable_cache Enable caching for the current session
tw_filter Filter search result and keep only items with matching property and Q id
tw_filter_first Filter search result and keep only and keep only the first match
tw_filter_people Filter search result and keep only people
tw_get Return (most) information from a Wikidata item in a tidy format
tw_get_cached_item Retrieve cached item
tw_get_cached_qualifiers Retrieve cached qualifier
tw_get_cache_file Gets location of cache file
tw_get_cache_folder Set folder for caching data
tw_get_description Get Wikidata description in given language
tw_get_image Get Wikidata image
tw_get_label Get Wikidata label in given language
tw_get_property Get Wikidata property of an item
tw_get_property_description Get description of a Wikidata property in a given language
tw_get_property_label Get label of a Wikidata property in a given language
tw_get_qualifiers Get Wikidata qualifiers for a given property of a given item
tw_get_wikipedia Get Wikipedia article in given language
tw_label Gets labels for all columns with names such as "id" and "property".
tw_query Perform simple Wikidata queries
tw_search Search for Wikidata items or properties and return Wikidata id, label, and description.
tw_search_item Search for Wikidata properties in Wikidata and return Wikidata id, label, and description.
tw_search_property Search for Wikidata properties in Wikidata and return Wikidata id, label, and description.
tw_set_cache_folder Set folder for caching data
tw_write_item_to_cache Writes item to cache
tw_write_qualifiers_to_cache Write qualifiers to cache