sn_get_db_file | R Documentation |
Gets location of cache file
sn_get_db_file(type = "osm", country)
type |
Defaults to "item". Type of cache file to output. Values typically used by 'tidywikidatar' include "item", "search", and "qualifier". |
language |
Defaults to language set with 'tw_set_language()'; if not set, "en". Use "all_available" to keep all languages. For available language values, see https://www.wikidata.org/wiki/Help:Wikimedia_language_codes/lists/all |
A character vector of length one with location of item cache file.
tw_set_cache_folder(path = tempdir())
sqlite_cache_file_location <- sn_get_db_file() # outputs location of cache file
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.