diff --git a/docs/pkgdown.yml b/docs/pkgdown.yml index 96b3653..55b3769 100644 --- a/docs/pkgdown.yml +++ b/docs/pkgdown.yml @@ -2,5 +2,5 @@ pandoc: 3.1.1 pkgdown: 2.0.7 pkgdown_sha: ~ articles: {} -last_built: 2024-02-22T16:18Z +last_built: 2024-02-22T20:07Z diff --git a/docs/reference/extract_dsd.html b/docs/reference/extract_dsd.html index 7cee8d0..f7c2691 100644 --- a/docs/reference/extract_dsd.html +++ b/docs/reference/extract_dsd.html @@ -126,7 +126,7 @@

Examples

#> [9,] "FREQ" "H" "Hourly" #> [10,] "FREQ" "I" "Irregular / A-periodic" #> [11,] "FREQ" "NAP" "Not applicable" -options(timeout=2) +options(timeout=60) # } diff --git a/docs/reference/get_compressed_sdmx.html b/docs/reference/get_compressed_sdmx.html index b7e06e2..3f596d1 100644 --- a/docs/reference/get_compressed_sdmx.html +++ b/docs/reference/get_compressed_sdmx.html @@ -84,12 +84,11 @@

Details

Examples

-
if (!(grepl("amzn|-aws|-azure ",Sys.info()['release']))) options(timeout=2)
-id<-"agr_r_milkpr"
+    
id<-"agr_r_milkpr"
 url<-paste0("https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/",
             id,
             "?format=sdmx_2.1_structured&compressed=true")
-options(timeout=2)
+if (!(grepl("amzn|-aws|-azure ",Sys.info()['release']))) options(timeout=2)
 sdmx_xml<-get_compressed_sdmx(url,verbose=TRUE,format="gz")
 #> 
 #> get_compressed_sdmx - url:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr?format=sdmx_2.1_structured&compressed=true
diff --git a/docs/reference/get_eurostat_bulk.html b/docs/reference/get_eurostat_bulk.html
index 6a24d32..466441d 100644
--- a/docs/reference/get_eurostat_bulk.html
+++ b/docs/reference/get_eurostat_bulk.html
@@ -242,7 +242,7 @@ 

Examples

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/RtmpYiXAnW/restatapi is empty. +#> clean_restatapi_cache - The cache folder /tmp/Rtmp6Te9lQ/restatapi is empty. options(timeout=60) # }
diff --git a/docs/reference/get_eurostat_codelist.html b/docs/reference/get_eurostat_codelist.html index 42dfa17..594dd60 100644 --- a/docs/reference/get_eurostat_codelist.html +++ b/docs/reference/get_eurostat_codelist.html @@ -122,14 +122,14 @@

See also

Examples

-
options(timeout=2)
+    
if (!(grepl("amzn|-aws|-azure ",Sys.info()['release']))) options(timeout=2)
 get_eurostat_codelist("freq",lang="de",cache=FALSE,verbose=TRUE)
 #> 
 #> get_eurostat_codelist - API version:2
 #> get_eurostat_codelist - API version:2
 #> 
 #> get_eurostat_codelist - Trying to download the codelist from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/codelist/ESTAT/FREQ
-#> Trying to extract the codelist from: /tmp/RtmpYiXAnW/file1c6bb2cf95
+#> Trying to extract the codelist from: /tmp/Rtmp6Te9lQ/file1c66b379ffc
 #> get_eurostat_codelist - codelist NULL:TRUE
 #>       code                           name
 #>     <char>                         <char>
diff --git a/docs/reference/get_eurostat_data.html b/docs/reference/get_eurostat_data.html
index f92683b..18607a5 100644
--- a/docs/reference/get_eurostat_data.html
+++ b/docs/reference/get_eurostat_data.html
@@ -435,7 +435,7 @@ 

Examples

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/RtmpYiXAnW/restatapi +#> clean_restatapi_cache - Deleted all .rds files from /tmp; /tmp/Rtmp6Te9lQ/restatapi options(timeout=60) # }
diff --git a/docs/reference/get_eurostat_dsd.html b/docs/reference/get_eurostat_dsd.html index 7a0918a..7619724 100644 --- a/docs/reference/get_eurostat_dsd.html +++ b/docs/reference/get_eurostat_dsd.html @@ -140,10 +140,10 @@

Examples

#> URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/med_rd6?references=children': Timeout of 2 seconds was reached #> utils::download.file(dsd_endpoint, temp, dmethod) #> -#> get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 1142784 - temp: /tmp/RtmpYiXAnW/file1c61aab1fad -#> Trying to extract the DSD from: /tmp/RtmpYiXAnW/file1c61aab1fad +#> get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 2449408 - temp: /tmp/Rtmp6Te9lQ/file1c6130b4c55 +#> Trying to extract the DSD from: /tmp/Rtmp6Te9lQ/file1c6130b4c55 #> get_eurostat_dsd - Error during the extraction of the XML from the downloaded DSD file: -#> AttValue: ' expected [40] +#> Premature end of data in tag Name line 3 [77] #> read_xml.character(temp) #> get_eurostat_dsd - The dsd_xml is NULL. Please check in a browser the url below. If it provides valid response you can try again to download the DSD. #> https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/med_rd6?references=children diff --git a/docs/reference/get_eurostat_raw.html b/docs/reference/get_eurostat_raw.html index 3496d1d..a9f1a51 100644 --- a/docs/reference/get_eurostat_raw.html +++ b/docs/reference/get_eurostat_raw.html @@ -198,7 +198,7 @@

Examples

#> get_eurostat_toc - class(xml_leafs): xml_nodeset #> get_eurostat_toc - number of nodes: 9223 #> get_eurostat_toc - number of cores: 2 -#> get_eurostat_toc - The TOC was cached in the file /tmp/RtmpYiXAnW/restatapi/toc.xml.en.rds. +#> get_eurostat_toc - The TOC was cached in the file /tmp/Rtmp6Te9lQ/restatapi/toc.xml.en.rds. #> get_eurostat_raw - raws of TOC: 7153 #> get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/avia_par_ee.sdmx.zip #> get_eurostat_raw - data rowcount in TOC: 88890 diff --git a/docs/reference/get_eurostat_toc.html b/docs/reference/get_eurostat_toc.html index 0da3f0d..5ed211c 100644 --- a/docs/reference/get_eurostat_toc.html +++ b/docs/reference/get_eurostat_toc.html @@ -139,7 +139,7 @@

Examples

} # } # \donttest{ -options(timeout=2) +if (!(grepl("amzn|-aws|-azure ",Sys.info()['release']))) options(timeout=2) toc_xml<-get_eurostat_toc(cache=FALSE,verbose=TRUE) #> #> get_eurostat_toc - API version:2 - number of cores:2 @@ -197,10 +197,21 @@

Examples

#> 5: https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/ei_bpm6iip_q.sdmx.zip #> 6: https://ec.europa.eu/eurostat/estat-navtree-portlet-prod/BulkDownloadListing?file=data/ei_bsco_m.sdmx.zip toc_txt<-get_eurostat_toc(mode="txt", lang="de") -#> There is a warning by the download of the txt TOC file. Run the same command with verbose=TRUE option to get more info on the issue. -#> There is a warning by the reading of the downloaded txt TOC file. Run the same command with verbose=TRUE option to get more info on the issue. head(toc_txt) -#> NULL +#> title code type +#> 5 Leistungsbilanz - vierteljährliche Daten ei_bpm6ca_q table +#> 6 Finanzierungskonto - vierteljährliche Daten ei_bpm6fa_q table +#> 7 Leistungsbilanz - monatliche Daten ei_bpm6ca_m table +#> 8 Finanzierungskonto - monatliche Daten ei_bpm6fa_m table +#> 9 Auslandsvermögensstatus - vierteljährliche Daten ei_bpm6iip_q table +#> 12 Verbraucher - monatliche Daten ei_bsco_m dataset +#> lastUpdate lastModified dataStart dataEnd values +#> 5 2024.02.20 2024.02.20 1992-Q1 2023-Q4 271230 +#> 6 2024.02.20 2024.02.20 1992-Q1 2023-Q4 48728 +#> 7 2024.02.20 2024.02.20 1991-01 2023-12 219339 +#> 8 2024.02.20 2024.02.20 1991-01 2023-12 70960 +#> 9 2024.01.12 2024.01.12 1992-Q4 2023-Q3 59859 +#> 12 2024.02.02 2024.02.02 1980-01 2024-01 308097 options(timeout=60) # }
diff --git a/docs/reference/put_eurostat_cache.html b/docs/reference/put_eurostat_cache.html index 72f8485..b24faaf 100644 --- a/docs/reference/put_eurostat_cache.html +++ b/docs/reference/put_eurostat_cache.html @@ -114,7 +114,7 @@

Examples

#> 2 b 2 #> 3 c 3 put_eurostat_cache(dt,"teszt",cache_dir=tempdir()) -#> [1] "in the file /tmp/RtmpYiXAnW/teszt.rds" +#> [1] "in the file /tmp/Rtmp6Te9lQ/teszt.rds" readRDS(file.path(tempdir(),"teszt.rds")) #> txt nr #> 1 a 1 diff --git a/docs/reference/search_eurostat_dsd.html b/docs/reference/search_eurostat_dsd.html index c8de01e..a5382a9 100644 --- a/docs/reference/search_eurostat_dsd.html +++ b/docs/reference/search_eurostat_dsd.html @@ -124,10 +124,10 @@

Examples

#> URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/nama_10_gdp?references=children': Timeout of 2 seconds was reached #> utils::download.file(dsd_endpoint, temp, dmethod) #> -#> get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 1142784 - temp: /tmp/RtmpYiXAnW/file1c62e75ce14 -#> Trying to extract the DSD from: /tmp/RtmpYiXAnW/file1c62e75ce14 +#> get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 2301952 - temp: /tmp/Rtmp6Te9lQ/file1c66037bb41 +#> Trying to extract the DSD from: /tmp/Rtmp6Te9lQ/file1c66037bb41 #> get_eurostat_dsd - Error during the extraction of the XML from the downloaded DSD file: -#> Premature end of data in tag Name line 4 [77] +#> Couldn't find end of Start Tag Annota line 4 [73] #> read_xml.character(temp) #> get_eurostat_dsd - The dsd_xml is NULL. Please check in a browser the url below. If it provides valid response you can try again to download the DSD. #> https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/nama_10_gdp?references=children diff --git a/docs/reference/search_eurostat_toc.html b/docs/reference/search_eurostat_toc.html index 7a90477..382dc3c 100644 --- a/docs/reference/search_eurostat_toc.html +++ b/docs/reference/search_eurostat_toc.html @@ -109,7 +109,7 @@

Examples

} # } # \donttest{ -options(timeout=2) +if (!(grepl("amzn|-aws|-azure ",Sys.info()['release']))) options(timeout=2) head(search_eurostat_toc("energy",verbose=TRUE)) #> #> get_eurostat_toc - API version:2 - number of cores:2