From 8414c7ef828ef6a779d59d1baedc6edc3e46b52a Mon Sep 17 00:00:00 2001 From: mmatyi Date: Thu, 13 May 2021 20:34:45 +0000 Subject: [PATCH] auto updating documentation after commit --- docs/404.html | 2 +- docs/authors.html | 2 +- docs/index.html | 2 +- docs/news/index.html | 10 +++++++- docs/pkgdown.yml | 2 +- docs/reference/clean_restatapi_cache.html | 2 +- docs/reference/create_filter_table.html | 2 +- docs/reference/dot-restatapi_env.html | 2 +- docs/reference/extract_data.html | 29 +++-------------------- docs/reference/extract_dsd.html | 2 +- docs/reference/extract_toc.html | 2 +- docs/reference/filter_raw_data.html | 2 +- docs/reference/get_compressed_sdmx.html | 2 +- docs/reference/get_eurostat_bulk.html | 7 +++--- docs/reference/get_eurostat_cache.html | 2 +- docs/reference/get_eurostat_data.html | 7 +++--- docs/reference/get_eurostat_dsd.html | 4 ++-- docs/reference/get_eurostat_raw.html | 4 ++-- docs/reference/get_eurostat_toc.html | 2 +- docs/reference/index.html | 2 +- docs/reference/load_cfg.html | 2 +- docs/reference/put_eurostat_cache.html | 6 ++--- docs/reference/search_eurostat_dsd.html | 4 ++-- docs/reference/search_eurostat_toc.html | 6 ++--- 24 files changed, 47 insertions(+), 60 deletions(-) diff --git a/docs/404.html b/docs/404.html index 168c7bc..7e119a1 100644 --- a/docs/404.html +++ b/docs/404.html @@ -71,7 +71,7 @@ restatapi - 0.10.5 + 0.10.6 diff --git a/docs/authors.html b/docs/authors.html index 033afa5..8abcded 100644 --- a/docs/authors.html +++ b/docs/authors.html @@ -71,7 +71,7 @@ restatapi - 0.10.5 + 0.10.6 diff --git a/docs/index.html b/docs/index.html index a3bc4a4..f6e6024 100644 --- a/docs/index.html +++ b/docs/index.html @@ -35,7 +35,7 @@ restatapi - 0.10.5 + 0.10.6 diff --git a/docs/news/index.html b/docs/news/index.html index 68454df..1dbfd94 100644 --- a/docs/news/index.html +++ b/docs/news/index.html @@ -71,7 +71,7 @@ restatapi - 0.10.5 + 0.10.6 @@ -114,6 +114,14 @@

Changelog

Source: NEWS.md +
+

+restatapi 0.10.6 Unreleased +

+ +

restatapi 0.10.5 Unreleased diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 6486577..a49c063 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-05-11T19:15Z +last_built: 2021-05-13T20:31Z diff --git a/docs/reference/clean_restatapi_cache.html b/docs/reference/clean_restatapi_cache.html index 2fe3b90..77ef7b5 100644 --- a/docs/reference/clean_restatapi_cache.html +++ b/docs/reference/clean_restatapi_cache.html @@ -74,7 +74,7 @@ restatapi - 0.10.5 + 0.10.6

diff --git a/docs/reference/create_filter_table.html b/docs/reference/create_filter_table.html index 2dd9288..325654d 100644 --- a/docs/reference/create_filter_table.html +++ b/docs/reference/create_filter_table.html @@ -72,7 +72,7 @@ restatapi - 0.10.5 + 0.10.6 diff --git a/docs/reference/dot-restatapi_env.html b/docs/reference/dot-restatapi_env.html index 5b7517a..224b34f 100644 --- a/docs/reference/dot-restatapi_env.html +++ b/docs/reference/dot-restatapi_env.html @@ -72,7 +72,7 @@ restatapi - 0.10.5 + 0.10.6 diff --git a/docs/reference/extract_data.html b/docs/reference/extract_data.html index 589fdaa..6225ed0 100644 --- a/docs/reference/extract_data.html +++ b/docs/reference/extract_data.html @@ -72,7 +72,7 @@ restatapi - 0.10.5 + 0.10.6 @@ -170,32 +170,9 @@

Examp sdmx_xml<-xml2::read_xml(unzip(temp, paste0(id,".sdmx.xml"))) xml_leafs<-xml2::xml_find_all(sdmx_xml,".//data:Series") extract_data(xml_leafs[1]) + unlink(temp) } -
#> FREQ milkitem dairyprod geo TIME_FORMAT TIME_PERIOD OBS_VALUE -#> 1 A PRO D1110A AT P1Y 1996 2956.6 -#> 2 A PRO D1110A AT P1Y 1997 3015 -#> 3 A PRO D1110A AT P1Y 1998 3042.6 -#> 4 A PRO D1110A AT P1Y 1999 3131.9 -#> 5 A PRO D1110A AT P1Y 2000 3233.20 -#> 6 A PRO D1110A AT P1Y 2001 3299.60 -#> 7 A PRO D1110A AT P1Y 2002 3292.20 -#> 8 A PRO D1110A AT P1Y 2003 3229.90 -#> 9 A PRO D1110A AT P1Y 2004 3137.30 -#> 10 A PRO D1110A AT P1Y 2005 3113.70 -#> 11 A PRO D1110A AT P1Y 2006 3146.66 -#> 12 A PRO D1110A AT P1Y 2007 3155.07 -#> 13 A PRO D1110A AT P1Y 2008 3195.95 -#> 14 A PRO D1110A AT P1Y 2009 3229.81 -#> 15 A PRO D1110A AT P1Y 2010 3257.74 -#> 16 A PRO D1110A AT P1Y 2011 3307.13 -#> 17 A PRO D1110A AT P1Y 2012 3382.00 -#> 18 A PRO D1110A AT P1Y 2013 3393.06 -#> 19 A PRO D1110A AT P1Y 2014 3493.86 -#> 20 A PRO D1110A AT P1Y 2015 3537.76 -#> 21 A PRO D1110A AT P1Y 2016 3627.61 -#> 22 A PRO D1110A AT P1Y 2017 3712.73 -#> 23 A PRO D1110A AT P1Y 2018 3821.19 -#> 24 A PRO D1110A AT P1Y 2019 3781.34
# } +# }
diff --git a/docs/reference/extract_dsd.html b/docs/reference/extract_dsd.html index 773e37e..2c506e2 100644 --- a/docs/reference/extract_dsd.html +++ b/docs/reference/extract_dsd.html @@ -72,7 +72,7 @@ restatapi - 0.10.5 + 0.10.6 diff --git a/docs/reference/extract_toc.html b/docs/reference/extract_toc.html index b6d82ca..75223cc 100644 --- a/docs/reference/extract_toc.html +++ b/docs/reference/extract_toc.html @@ -72,7 +72,7 @@ restatapi - 0.10.5 + 0.10.6 diff --git a/docs/reference/filter_raw_data.html b/docs/reference/filter_raw_data.html index 1ba9a80..41c5e9e 100644 --- a/docs/reference/filter_raw_data.html +++ b/docs/reference/filter_raw_data.html @@ -72,7 +72,7 @@ restatapi - 0.10.5 + 0.10.6 diff --git a/docs/reference/get_compressed_sdmx.html b/docs/reference/get_compressed_sdmx.html index fa9b9bd..4ddde83 100644 --- a/docs/reference/get_compressed_sdmx.html +++ b/docs/reference/get_compressed_sdmx.html @@ -72,7 +72,7 @@ restatapi - 0.10.5 + 0.10.6 diff --git a/docs/reference/get_eurostat_bulk.html b/docs/reference/get_eurostat_bulk.html index e4c6a09..5b3f543 100644 --- a/docs/reference/get_eurostat_bulk.html +++ b/docs/reference/get_eurostat_bulk.html @@ -72,7 +72,7 @@ restatapi - 0.10.5 + 0.10.6 @@ -251,9 +251,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/RtmpKNXqHW/file1be6a430e2b-1-size#isdir#mode#mtime#ctime#atime#uid#gid#uname#grname-167484-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/Rtmpv4G9AH/file1bb6495f167-1-size#isdir#mode#mtime#ctime#atime#uid#gid#uname#grname-167484-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/RtmpKNXqHW/file1be6473430d-1-size#isdir#mode#mtime#ctime#atime#uid#gid#uname#grname-29698-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/Rtmpv4G9AH/file1bb6e394baa-1-size#isdir#mode#mtime#ctime#atime#uid#gid#uname#grname-29698-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/Rtmpv4G9AH/restatapi is empty.
# }
diff --git a/docs/reference/get_eurostat_data.html b/docs/reference/get_eurostat_data.html index c3b93d8..5068e45 100644 --- a/docs/reference/get_eurostat_data.html +++ b/docs/reference/get_eurostat_data.html @@ -72,7 +72,7 @@ restatapi - 0.10.5 + 0.10.6 @@ -355,8 +355,9 @@

Examp date_filter="2010:2012", select_freq="A", label=TRUE, - name=FALSE) -# } + 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/Rtmpv4G9AH/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/RtmpKNXqHW/file1be106e6b93
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/Rtmpv4G9AH/file1bb69bdd0e5
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 bedb980..e1f5799 100644 --- a/docs/reference/get_eurostat_raw.html +++ b/docs/reference/get_eurostat_raw.html @@ -72,7 +72,7 @@ restatapi - 0.10.5 + 0.10.6
@@ -245,7 +245,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/RtmpKNXqHW/file1be7c425d48-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/Rtmpv4G9AH/file1bb741fbc45-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 3657d09..22783db 100644 --- a/docs/reference/index.html +++ b/docs/reference/index.html @@ -71,7 +71,7 @@ restatapi - 0.10.5 + 0.10.6 diff --git a/docs/reference/load_cfg.html b/docs/reference/load_cfg.html index 39135e3..889c927 100644 --- a/docs/reference/load_cfg.html +++ b/docs/reference/load_cfg.html @@ -72,7 +72,7 @@ restatapi - 0.10.5 + 0.10.6 diff --git a/docs/reference/put_eurostat_cache.html b/docs/reference/put_eurostat_cache.html index 04a3a18..262ff6c 100644 --- a/docs/reference/put_eurostat_cache.html +++ b/docs/reference/put_eurostat_cache.html @@ -72,7 +72,7 @@ restatapi - 0.10.5 + 0.10.6 @@ -171,12 +171,12 @@

Examp # } dt<-data.frame(txt=c("a","b","c"),nr=c(1,2,3)) put_eurostat_cache(dt,"teszt") -
#> [1] "previously in memory ('teszt' in '.restatapi_env'). It remained unchanged"
get("teszt",envir=restatapi::.restatapi_env) +
#> [1] "in memory ('teszt' in '.restatapi_env')"
get("teszt",envir=restatapi::.restatapi_env)
#> txt nr #> 1 a 1 #> 2 b 2 #> 3 c 3
put_eurostat_cache(dt,"teszt",cache_dir=tempdir()) -
#> [1] "in the file /tmp/RtmpKNXqHW/teszt.rds"
readRDS(file.path(tempdir(),"teszt.rds")) +
#> [1] "in the file /tmp/Rtmpv4G9AH/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 f137b9d..cd9aed6 100644 --- a/docs/reference/search_eurostat_dsd.html +++ b/docs/reference/search_eurostat_dsd.html @@ -74,7 +74,7 @@ restatapi - 0.10.5 + 0.10.6
@@ -180,7 +180,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/RtmpKNXqHW/file1be1a6637c6
#> 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/Rtmpv4G9AH/file1bb21f6ebda
#> 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 ae0ff2a..c31e062 100644 --- a/docs/reference/search_eurostat_toc.html +++ b/docs/reference/search_eurostat_toc.html @@ -73,7 +73,7 @@ restatapi - 0.10.5 + 0.10.6
@@ -187,7 +187,7 @@

Examp # } # \donttest{ head(search_eurostat_toc("energy",verbose=TRUE)) -
#> get_eurostat_cache - The 'toc.xml.en' was loaded from 'toc.xml.en' in '.restatapi_env'.
#> get_eurostat_toc - The TOC was cached previously in memory ('toc.xml.en' in '.restatapi_env'). It remained unchanged.
#> title +
#> get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?sort=1&downfile=table_of_contents.xml
#> get_eurostat_toc - The TOC was cached in memory ('toc.xml.en' in '.restatapi_env').
#> title #> 699 Final energy consumption by sector #> 726 Candidate countries and potential candidates: energy #> 879 Primary energy production @@ -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.05.11 2021.05.11 2008M01 2021M03 66529 +#> 38 dataset 2021.05.13 2021.05.13 2008M01 2021M03 66701 #> 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