View source: R/get_eurostat_cache.R
get_eurostat_cache | R Documentation |
Search and load the object (dataset/toc/DSD) from cache
get_eurostat_cache(oname, cache_dir = NULL, verbose = FALSE)
oname |
a character string with the name of the object (toc, dataset id, DSD id) |
cache_dir |
a path to a cache directory to search in. The default is |
verbose |
a logical value with default |
If the given name or the beginning of the name (for datasets) found in the cache then it returns the value of the object otherwise it returns NULL
.
the requested object if exists in the '.restatapi_env' or in the cache_dir
, otherwise it returns the NULL
value.
dt<-data.frame(txt=c("a","b","c"),nr=c(1,2,3))
put_eurostat_cache(dt,"teszt")
get_eurostat_cache("teszt",verbose=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.