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
#> 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
#> 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 - 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 - 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
#> 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
#> 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
#> [1] "in the file /tmp/RtmpaDgH9I/teszt.rds"
#> [1] "in the file /tmp/RtmpdhSWXx/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