diff --git a/docs/404.html b/docs/404.html index 5f523e0..647cf03 100644 --- a/docs/404.html +++ b/docs/404.html @@ -71,7 +71,7 @@ restatapi - 0.11.1 + 0.11.2 diff --git a/docs/authors.html b/docs/authors.html index 6fd83e7..8ce1058 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -71,7 +71,7 @@ restatapi - 0.11.1 + 0.11.2 diff --git a/docs/index.html b/docs/index.html index 78b14c3..87741bc 100644 --- a/docs/index.html +++ b/docs/index.html @@ -35,7 +35,7 @@ restatapi - 0.11.1 + 0.11.2 diff --git a/docs/news/index.html b/docs/news/index.html index 6a301c6..cd6bc78 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -71,7 +71,7 @@ restatapi - 0.11.1 + 0.11.2 @@ -114,6 +114,14 @@

Changelog

Source: NEWS.md +
+

+restatapi 0.11.2 Unreleased +

+ +

restatapi 0.11.1 Unreleased diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 45eb0ac..baabf9e 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -2,5 +2,5 @@ pandoc: 2.11.4 pkgdown: 1.6.1 pkgdown_sha: ~ articles: {} -last_built: 2021-09-12T19:06Z +last_built: 2021-09-14T18:48Z diff --git a/docs/reference/clean_restatapi_cache.html b/docs/reference/clean_restatapi_cache.html index fef0879..460889a 100644 --- a/docs/reference/clean_restatapi_cache.html +++ b/docs/reference/clean_restatapi_cache.html @@ -74,7 +74,7 @@ restatapi - 0.11.1 + 0.11.2

diff --git a/docs/reference/create_filter_table.html b/docs/reference/create_filter_table.html index 28d9d7c..06e6f75 100644 --- a/docs/reference/create_filter_table.html +++ b/docs/reference/create_filter_table.html @@ -72,7 +72,7 @@ restatapi - 0.11.1 + 0.11.2 diff --git a/docs/reference/dot-restatapi_env.html b/docs/reference/dot-restatapi_env.html index 913b964..fc3e0e5 100644 --- a/docs/reference/dot-restatapi_env.html +++ b/docs/reference/dot-restatapi_env.html @@ -72,7 +72,7 @@ restatapi - 0.11.1 + 0.11.2 diff --git a/docs/reference/extract_data.html b/docs/reference/extract_data.html index a73187b..3e9c5d3 100644 --- a/docs/reference/extract_data.html +++ b/docs/reference/extract_data.html @@ -72,7 +72,7 @@ restatapi - 0.11.1 + 0.11.2 @@ -167,10 +167,11 @@

Examp if (!is.null(bulk_url)){ temp<-tempfile() download.file(bulk_url,temp) - sdmx_xml<-xml2::read_xml(unzip(temp, paste0(id,".sdmx.xml"))) + sdmx_xml<-xml2::read_xml(unzip(temp,paste0(id,".sdmx.xml"),exdir=tempdir())) xml_leafs<-xml2::xml_find_all(sdmx_xml,".//data:Series") extract_data(xml_leafs[1]) unlink(temp) + unlink(file.path(tempdir(),paste0(id,".sdmx.xml"))) } # } diff --git a/docs/reference/extract_dsd.html b/docs/reference/extract_dsd.html index feadecf..08a82c2 100644 --- a/docs/reference/extract_dsd.html +++ b/docs/reference/extract_dsd.html @@ -72,7 +72,7 @@ restatapi - 0.11.1 + 0.11.2 diff --git a/docs/reference/extract_toc.html b/docs/reference/extract_toc.html index 60113b1..03b4115 100644 --- a/docs/reference/extract_toc.html +++ b/docs/reference/extract_toc.html @@ -72,7 +72,7 @@ restatapi - 0.11.1 + 0.11.2 diff --git a/docs/reference/filter_raw_data.html b/docs/reference/filter_raw_data.html index 24248c2..61ba8d8 100644 --- a/docs/reference/filter_raw_data.html +++ b/docs/reference/filter_raw_data.html @@ -72,7 +72,7 @@ restatapi - 0.11.1 + 0.11.2 diff --git a/docs/reference/get_compressed_sdmx.html b/docs/reference/get_compressed_sdmx.html index 9e150e9..a42c51d 100644 --- a/docs/reference/get_compressed_sdmx.html +++ b/docs/reference/get_compressed_sdmx.html @@ -72,7 +72,7 @@ restatapi - 0.11.1 + 0.11.2 diff --git a/docs/reference/get_eurostat_bulk.html b/docs/reference/get_eurostat_bulk.html index adf9ea2..c6f231a 100644 --- a/docs/reference/get_eurostat_bulk.html +++ b/docs/reference/get_eurostat_bulk.html @@ -72,7 +72,7 @@ restatapi - 0.11.1 + 0.11.2 @@ -252,10 +252,10 @@

Examp options(restatapi_update=TRUE) dt<-get_eurostat_bulk("avia_par_ee",check_toc=TRUE)
#> There are multiple frequencies in the dataset. The 'M' is selected as it is the most common frequency.
dt<-get_eurostat_bulk("avia_par_ee",select_freq="A",verbose=TRUE) -
#> get_eurostat_bulk - charactertxtlogicallogicalNULLlogicallogicallogicallogicalfunctionlogical
#> get_eurostat_raw - bulk url: http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/avia_par_ee.tsv.gz
#> get_eurostat_raw - /tmp/RtmpaDgH9I/file1ae3db09f40-1-size#isdir#mode#mtime#ctime#atime#uid#gid#uname#grname-167925-TRUE
#> get_eurostat_raw - class:data.tabledata.frame
#> get_eurostat_raw - caching in raw:FALSE local filter:FALSE called from:get_eurostat_rawidtxtcacheupdate_cachecache_dircompress_filestringsAsFactorskeep_flagscheck_tocTRUEverbose
#> get_eurostat_raw - TRUE
#> get_eurostat_raw - FALSEFALSEFALSE
options(restatapi_update=FALSE) +
#> get_eurostat_bulk - charactertxtlogicallogicalNULLlogicallogicallogicallogicalfunctionlogical
#> get_eurostat_raw - bulk url: http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/avia_par_ee.tsv.gz
#> get_eurostat_raw - /tmp/RtmpdhSWXx/file1ac52030581-1-size#isdir#mode#mtime#ctime#atime#uid#gid#uname#grname-167925-TRUE
#> get_eurostat_raw - class:data.tabledata.frame
#> get_eurostat_raw - caching in raw:FALSE local filter:FALSE called from:get_eurostat_rawidtxtcacheupdate_cachecache_dircompress_filestringsAsFactorskeep_flagscheck_tocTRUEverbose
#> get_eurostat_raw - TRUE
#> get_eurostat_raw - FALSEFALSEFALSE
options(restatapi_update=FALSE) dt<-get_eurostat_bulk("agr_r_milkpr",cache_dir=tempdir(),compress_file=FALSE,verbose=TRUE) -
#> get_eurostat_bulk - charactertxtlogicallogicalcharacterlogicallogicallogicallogicalfunctionlogical
#> get_eurostat_raw - bulk url: http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/agr_r_milkpr.tsv.gz
#> get_eurostat_raw - /tmp/RtmpaDgH9I/file1ae2496c7ab-1-size#isdir#mode#mtime#ctime#atime#uid#gid#uname#grname-30067-TRUE
#> get_eurostat_raw - class:data.tabledata.frame
#> get_eurostat_raw - caching in raw:FALSE local filter:FALSE called from:get_eurostat_rawidtxtcacheupdate_cachecache_dircompress_filestringsAsFactorskeep_flagscheck_tocTRUEverbose
#> get_eurostat_raw - TRUE
#> get_eurostat_raw - FALSEFALSEFALSE
clean_restatapi_cache(cache_dir=tempdir(),verbose=TRUE) -
#> clean_restatapi_cache - All objects except from 'cfg', 'rav', 'cc' and 'dmethod' are removed from '.restatapi_env'.
#> clean_restatapi_cache - The cache folder /tmp/RtmpaDgH9I/restatapi is empty.
# } +
#> get_eurostat_bulk - charactertxtlogicallogicalcharacterlogicallogicallogicallogicalfunctionlogical
#> get_eurostat_raw - bulk url: http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/agr_r_milkpr.tsv.gz
#> get_eurostat_raw - /tmp/RtmpdhSWXx/file1ac67dfe99e-1-size#isdir#mode#mtime#ctime#atime#uid#gid#uname#grname-30067-TRUE
#> get_eurostat_raw - class:data.tabledata.frame
#> get_eurostat_raw - caching in raw:FALSE local filter:FALSE called from:get_eurostat_rawidtxtcacheupdate_cachecache_dircompress_filestringsAsFactorskeep_flagscheck_tocTRUEverbose
#> get_eurostat_raw - TRUE
#> get_eurostat_raw - FALSEFALSEFALSE
clean_restatapi_cache(cache_dir=tempdir(),verbose=TRUE) +
#> clean_restatapi_cache - All objects except from 'cfg', 'rav', 'cc' and 'dmethod' are removed from '.restatapi_env'.
#> clean_restatapi_cache - The cache folder /tmp/RtmpdhSWXx/restatapi is empty.
# }
diff --git a/docs/reference/get_eurostat_data.html b/docs/reference/get_eurostat_data.html index 77ef18a..0d3ffaa 100644 --- a/docs/reference/get_eurostat_data.html +++ b/docs/reference/get_eurostat_data.html @@ -72,7 +72,7 @@ restatapi - 0.11.1 + 0.11.2 @@ -359,7 +359,7 @@

Examp label=TRUE, name=FALSE) clean_restatapi_cache("/tmp",verbose=TRUE) -
#> clean_restatapi_cache - All objects except from 'cfg', 'rav', 'cc' and 'dmethod' are removed from '.restatapi_env'.
#> clean_restatapi_cache - Deleted all .rds files from /tmp; /tmp/RtmpaDgH9I/restatapi
# } +
#> clean_restatapi_cache - All objects except from 'cfg', 'rav', 'cc' and 'dmethod' are removed from '.restatapi_env'.
#> clean_restatapi_cache - Deleted all .rds files from /tmp; /tmp/RtmpdhSWXx/restatapi
# }
@@ -192,7 +192,7 @@

Examp } # } dsd<-get_eurostat_dsd("nama_10_gdp",cache=FALSE,verbose=TRUE) -
#> get_eurostat_dsd - Trying to download the DSD from: http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_nama_10_gdp
#> Trying to extract the DSD from: /tmp/RtmpaDgH9I/file1ae7c474145
head(dsd) +
#> get_eurostat_dsd - Trying to download the DSD from: http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_nama_10_gdp
#> Trying to extract the DSD from: /tmp/RtmpdhSWXx/file1ac1189aa86
head(dsd)
#> concept code name #> 1 FREQ D Daily #> 2 FREQ W Weekly diff --git a/docs/reference/get_eurostat_raw.html b/docs/reference/get_eurostat_raw.html index a9b380a..4062d31 100644 --- a/docs/reference/get_eurostat_raw.html +++ b/docs/reference/get_eurostat_raw.html @@ -72,7 +72,7 @@ restatapi - 0.11.1 + 0.11.2
@@ -250,7 +250,7 @@

Examp dt<-get_eurostat_raw("avia_par_ee",mode="xml",check_toc=TRUE,update_cache=TRUE) options(restatapi_update=FALSE) dt<-get_eurostat_raw("avia_par_me",mode="txt",cache_dir=tempdir(),compress_file=FALSE,verbose=TRUE) -
#> get_eurostat_raw - bulk url: http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/avia_par_me.tsv.gz
#> get_eurostat_raw - /tmp/RtmpaDgH9I/file1ae4fd11592-1-size#isdir#mode#mtime#ctime#atime#uid#gid#uname#grname-45749-TRUE
#> get_eurostat_raw - class:data.tabledata.frame
#> get_eurostat_raw - caching in raw:FALSE local filter:FALSE called from:get_eurostat_rawavia_par_metxttempdir()FALSETRUE
#> get_eurostat_raw - FALSE
# } +
#> get_eurostat_raw - bulk url: http://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/avia_par_me.tsv.gz
#> get_eurostat_raw - /tmp/RtmpdhSWXx/file1ac755293ff-1-size#isdir#mode#mtime#ctime#atime#uid#gid#uname#grname-45749-TRUE
#> get_eurostat_raw - class:data.tabledata.frame
#> get_eurostat_raw - caching in raw:FALSE local filter:FALSE called from:get_eurostat_rawavia_par_metxttempdir()FALSETRUE
#> get_eurostat_raw - FALSE
# }
diff --git a/docs/reference/index.html b/docs/reference/index.html index a8d0cfb..6f2b493 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -71,7 +71,7 @@ restatapi - 0.11.1 + 0.11.2 diff --git a/docs/reference/load_cfg.html b/docs/reference/load_cfg.html index d0af6e3..79e8d7d 100644 --- a/docs/reference/load_cfg.html +++ b/docs/reference/load_cfg.html @@ -72,7 +72,7 @@ restatapi - 0.11.1 + 0.11.2 diff --git a/docs/reference/put_eurostat_cache.html b/docs/reference/put_eurostat_cache.html index 2dc6f01..2841e72 100644 --- a/docs/reference/put_eurostat_cache.html +++ b/docs/reference/put_eurostat_cache.html @@ -72,7 +72,7 @@ restatapi - 0.11.1 + 0.11.2 @@ -176,7 +176,7 @@

Examp #> 1 a 1 #> 2 b 2 #> 3 c 3
put_eurostat_cache(dt,"teszt",cache_dir=tempdir()) -
#> [1] "in the file /tmp/RtmpaDgH9I/teszt.rds"
readRDS(file.path(tempdir(),"teszt.rds")) +
#> [1] "in the file /tmp/RtmpdhSWXx/teszt.rds"
readRDS(file.path(tempdir(),"teszt.rds"))
#> txt nr #> 1 a 1 #> 2 b 2 diff --git a/docs/reference/search_eurostat_dsd.html b/docs/reference/search_eurostat_dsd.html index a5b15ba..591c97b 100644 --- a/docs/reference/search_eurostat_dsd.html +++ b/docs/reference/search_eurostat_dsd.html @@ -74,7 +74,7 @@ restatapi - 0.11.1 + 0.11.2
@@ -181,7 +181,7 @@

Examp rav<-get("rav",envir=restatapi::.restatapi_env) # } dsd_example<-get_eurostat_dsd("nama_10_gdp",verbose=TRUE) -
#> get_eurostat_dsd - Trying to download the DSD from: http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_nama_10_gdp
#> Trying to extract the DSD from: /tmp/RtmpaDgH9I/file1ae4a2fc54a
#> get_eurostat_dsd - The DSD of the nama_10_gdp dataset was cached in memory ('nama_10_gdp.dsd' in '.restatapi_env').
search_eurostat_dsd("EU",dsd_example) +
#> get_eurostat_dsd - Trying to download the DSD from: http://ec.europa.eu/eurostat/SDMX/diss-web/rest/datastructure/ESTAT/DSD_nama_10_gdp
#> Trying to extract the DSD from: /tmp/RtmpdhSWXx/file1ac8879571
#> get_eurostat_dsd - The DSD of the nama_10_gdp dataset was cached in memory ('nama_10_gdp.dsd' in '.restatapi_env').
search_eurostat_dsd("EU",dsd_example)
#> pattern concept code #> 12 EU UNIT PC_EU27_2020_MEUR_CP #> 13 EU UNIT PC_EU28_MEUR_CP diff --git a/docs/reference/search_eurostat_toc.html b/docs/reference/search_eurostat_toc.html index 7618536..e782bcd 100644 --- a/docs/reference/search_eurostat_toc.html +++ b/docs/reference/search_eurostat_toc.html @@ -73,7 +73,7 @@ restatapi - 0.11.1 + 0.11.2
@@ -245,7 +245,7 @@

Examp #> 879 Primäre Energierzeugung med_eg10 #> 880 Sekundäre Energierzeugung (Umsetzung) med_eg20 #> type lastUpdate lastModified dataStart dataEnd values unit -#> 38 dataset 2021.09.10 2021.09.10 2008M01 2021M07 71957 +#> 38 dataset 2021.09.13 2021.09.13 2008M01 2021M07 72172 #> 698 dataset 2021.04.16 <NA> 2005 2019 518 #> 699 dataset 2021.04.16 <NA> 2005 2019 267 #> 726 dataset 2016.10.11 2021.02.08 2000 2015 926