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_qid |
Ensures that input appears to be a valid Wikidata id |
tw_check_search |
Checks if an input is a search; if not, it tries to return a search |
tw_connect_to_cache |
Return a connection to be used for caching |
tw_create_cache_folder |
Creates the base cache folder where 'tidywikidatar' caches data. |
tw_disable_cache |
Disable caching for the current session |
tw_disconnect_from_cache |
Ensure that connection to cache is disconnected consistently |
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_cached_search |
Retrieve cached search |
tw_get_cache_file |
Gets location of cache file |
tw_get_cache_folder |
Set folder for caching data |
tw_get_cache_table_name |
Gets name of table inside the database |
tw_get_description |
Get Wikidata description in given language |
tw_get_field |
Gets a field such a label or description from a dataframe typically generated with 'tw_get()' |
tw_get_id_of_wikipedia_page |
Gets the Wikidata id of a Wikipedia page |
tw_get_image |
Get image from Wikimedia Commons |
tw_get_image_metadata |
Get metadata for images from Wikimedia Commons |
tw_get_image_metadata_single |
Get metadata for images from Wikimedia Commons |
tw_get_image_same_length |
Get image from Wikimedia Commons |
tw_get_label |
Get Wikidata label in given language |
tw_get_language |
Set language to be used by all functions |
tw_get_links_from_wikipedia_page |
Get all Wikidata id of all Wikipedia pages included in a given page |
tw_get_property |
Get Wikidata property of one or more items as a tidy data frame |
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_property_same_length |
Get Wikidata property of an item as a character vector of the same length as input |
tw_get_property_with_details |
Gets all details of a property |
tw_get_property_with_details_single |
Gets all details of a property |
tw_get_qualifiers |
Get Wikidata qualifiers for a given property of a given item |
tw_get_qualifiers_single |
Get Wikidata qualifiers for a given property of a given item |
tw_get_single |
Return (most) information from a Wikidata item in a tidy format |
tw_get_wikipedia |
Get Wikipedia article in given language |
tw_get_wikipedia_base_api_url |
Facilitates the creation of MediaWiki API base URLs |
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_search_single |
Search for Wikidata items or properties and return Wikidata id, label, and description. |
tw_set_cache_folder |
Set folder for caching data |
tw_set_language |
Set language to be used by all functions |
tw_write_item_to_cache |
Writes item to cache |
tw_write_qualifiers_to_cache |
Write qualifiers to cache |
tw_write_search_to_cache |
Writes search to cache |