sn_get_db_table_name | R Documentation |
Gets name of table inside the database
sn_get_db_table_name(type, country)
type |
Defaults to "item". Type of cache file to output. Values typically used by 'tidywikidatar' include "item", "search", and "qualifier". |
country |
Defaults to language set with 'tw_set_language()'; "en" if not set. Used to limit the data to be cached. Use "all_available" to keep all data. For available values, see https://www.wikidata.org/wiki/Help:Wikimedia_language_codes/lists/all |
A character vector of length one with the name of the relevant table in the cache file.
# outputs name of table used in of cache file
sn_get_db_table_name(type = "item", language = "en")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.