Man pages for tidywikidatar
Explore 'Wikidata' Through Tidy Data Frames

pipePipe operator
tidyevalTidy eval helpers
tw_check_cacheCheck caching status in the current session, and override it...
tw_check_cached_itemsCheck if given items are present in cache
tw_check_cache_folderChecks if cache folder exists, if not returns an informative...
tw_check_cache_indexCheck if cache table is indexed
tw_check_qidEnsures that input appears to be a valid Wikidata id
tw_check_searchChecks if an input is a search; if not, it tries to return a...
tw_connect_to_cacheReturn a connection to be used for caching
tw_create_cache_folderCreates the base cache folder where 'tidywikidatar' caches...
tw_disable_cacheDisable caching for the current session
tw_disconnect_from_cacheEnsure that connection to cache is disconnected consistently
tw_empty_image_metadataA zero-rows tibble used internally when...
tw_empty_itemA zero-rows tibble used internally when 'tw_get()' would not...
tw_empty_qualifiersA zero-rows tibble used internally when 'tw_get_qualifiers()'...
tw_empty_searchA zero-rows tibble used internally when 'tw_search()' would...
tw_empty_wikipedia_category_membersA zero-rows tibble used internally when...
tw_empty_wikipedia_pageA zero-rows tibble used internally when...
tw_empty_wikipedia_page_linksA zero-rows tibble used internally when...
tw_empty_wikipedia_page_sectionsA zero-rows tibble used internally when...
tw_enable_cacheEnable caching for the current session
tw_extract_qualifierExtract qualifiers from an object of class Wikidata created...
tw_extract_singleExtract item data from an object of class Wikidata created...
tw_filterFilter search result and keep only items with matching...
tw_filter_firstFilter search result and keep only and keep only the first...
tw_filter_peopleFilter search result and keep only people
tw_getReturn (most) information from a Wikidata item in a tidy...
tw_get_all_with_pGet all items that have a given property (irrespective of the...
tw_get_cache_dbGet database connection settings from the environment
tw_get_cached_itemRetrieve cached item
tw_get_cached_qualifiersRetrieve cached qualifier
tw_get_cached_searchRetrieve cached search
tw_get_cached_wikipedia_category_membersGets members of Wikipedia categories from local cache
tw_get_cached_wikipedia_page_linksGets links of Wikipedia pages from local cache
tw_get_cached_wikipedia_page_qidGets id of Wikipedia pages from local cache
tw_get_cached_wikipedia_page_sectionsGets sections of Wikipedia pages from local cache
tw_get_cache_fileGets location of cache file
tw_get_cache_table_nameGets name of table inside the database
tw_get_descriptionGet Wikidata description in given language
tw_get_fieldGets a field such a label or description from a dataframe...
tw_get_imageGet image from Wikimedia Commons
tw_get_image_metadataGet metadata for images from Wikimedia Commons
tw_get_image_metadata_singleGet metadata for images from Wikimedia Commons
tw_get_image_same_lengthGet image from Wikimedia Commons
tw_get_labelGet Wikidata label in given language
tw_get_p1Get Wikidata property of an item as a character vector of the...
tw_get_propertyGet Wikidata property of one or more items as a tidy data...
tw_get_property_descriptionGet description of a Wikidata property in a given language
tw_get_property_labelGet label of a Wikidata property in a given language
tw_get_property_label_singleGet label of a Wikidata property in a given language
tw_get_property_same_lengthGet Wikidata property of an item as a vector or list of the...
tw_get_property_with_detailsGets all details of a property
tw_get_property_with_details_singleGets all details of a property
tw_get_p_wideEfficiently get a wide table with various properties of a...
tw_get_qualifiersGet Wikidata qualifiers for a given property of a given item
tw_get_qualifiers_singleGet Wikidata qualifiers for a given property of a given item
tw_get_singleReturn (most) information from a Wikidata item in a tidy...
tw_get_wikipediaGet URL to a Wikipedia article corresponding to a Wikidata Q...
tw_get_wikipedia_base_api_urlFacilitates the creation of MediaWiki API base URLs
tw_get_wikipedia_category_membersGet all Wikidata Q identifiers of all Wikipedia pages (or...
tw_get_wikipedia_category_members_singleGet all Wikidata Q identifiers of all Wikipedia pages that...
tw_get_wikipedia_page_linksGet all Wikidata Q identifiers of all Wikipedia pages that...
tw_get_wikipedia_page_links_singleGet all Wikidata Q identifiers of all Wikipedia pages that...
tw_get_wikipedia_page_qidGets the Wikidata Q identifier of one or more Wikipedia pages
tw_get_wikipedia_page_qid_singleGets the Wikidata id of a Wikipedia page
tw_get_wikipedia_page_section_linksGet links from a specific section of a Wikipedia page
tw_get_wikipedia_page_sectionsGet sections of a Wikipedia page
tw_get_wikipedia_page_sections_singleGet all Wikidata Q identifiers of all Wikipedia pages that...
tw_get_wikipedia_section_links_api_urlFacilitates the creation of MediaWiki API base URLs to...
tw_get_wikipedia_sections_api_urlFacilitates the creation of MediaWiki API base URLs to...
tw_index_cache_itemAdd index to caching table for search queries for increased...
tw_index_cache_searchAdd index to caching table for search queries for increased...
tw_labelGets labels for all columns with names such as "id" and...
tw_qid_airportsThe Wikidata Q identifier of European airports found in...
tw_qid_mepsThe Wikidata Q identifier of all members of the European...
tw_queryPerform simple Wikidata queries
tw_reset_item_cacheReset qualifiers cache
tw_reset_qualifiers_cacheReset qualifiers cache
tw_reset_wikipedia_category_members_cacheReset Wikipedia category members cache
tw_reset_wikipedia_page_cacheReset Wikipedia page cache
tw_reset_wikipedia_page_links_cacheReset Wikipedia page link cache
tw_reset_wikipedia_page_sections_cacheReset Wikipedia page link cache
tw_searchSearch for Wikidata items or properties and return Wikidata...
tw_search_itemSearch for Wikidata properties in Wikidata and return...
tw_search_propertySearch for Wikidata properties in Wikidata and return...
tw_search_singleSearch for Wikidata items or properties and return Wikidata...
tw_set_cache_dbSet database connection settings for the session
tw_set_cache_folderSet folder for caching data
tw_set_languageSet language to be used by all functions
tw_test_itemsA list mostly used for testing with some Wikidata items in...
tw_write_item_to_cacheWrites item to cache
tw_write_qid_of_wikipedia_page_to_cacheWrite Wikidata identifier (qid) of Wikipedia page to cache
tw_write_qualifiers_to_cacheWrite qualifiers to cache
tw_write_search_to_cacheWrites search to cache
tw_write_wikipedia_category_members_to_cacheWrite Wikipedia page links to cache
tw_write_wikipedia_page_links_to_cacheWrite Wikipedia page links to cache
tw_write_wikipedia_page_sections_to_cacheWrite Wikipedia page links to cache
tidywikidatar documentation built on March 31, 2023, 9:08 p.m.