Last updated on 2026-08-29 13:50:23 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.25.0 | 5.59 | 103.84 | 109.43 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.25.0 | 3.75 | 74.76 | 78.51 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.25.0 | 68.42 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 0.25.0 | 65.05 | OK | |||
| r-devel-windows-x86_64 | 0.25.0 | 8.00 | 137.00 | 145.00 | OK | |
| r-patched-linux-x86_64 | 0.25.0 | 5.82 | 96.28 | 102.10 | ERROR | |
| r-release-linux-x86_64 | 0.25.0 | 4.56 | 93.76 | 98.32 | OK | |
| r-release-macos-arm64 | 0.25.0 | 1.00 | 389.00 | 390.00 | ERROR | |
| r-release-macos-x86_64 | 0.25.0 | 4.00 | 485.00 | 489.00 | ERROR | |
| r-release-windows-x86_64 | 0.25.0 | 7.00 | 124.00 | 131.00 | OK | |
| r-oldrel-macos-arm64 | 0.25.0 | 1.00 | 309.00 | 310.00 | OK | |
| r-oldrel-macos-x86_64 | 0.25.0 | 3.00 | 409.00 | 412.00 | OK | |
| r-oldrel-windows-x86_64 | 0.25.0 | 8.00 | 139.00 | 147.00 | OK |
Version: 0.25.0
Check: tests
Result: ERROR
Running ‘tinytest.R’ [57s/87s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ home <- length(unclass(packageVersion("restatapi"))[[1]]) == 4
+ tinytest::test_package("restatapi", at_home = home)
+ }
restatapi: - version 0.25.0
- config file with the API version 2 loaded from GitHub (the 'current' API version number is 2).
- 4 from the 32 cores are used for parallel computing, can be changed with 'options(restatapi_cores=...)'
- 'auto' method will be used for file download, can be changed with 'options(restatapi_dmethod=...)'
- the Table of contents (TOC) was not pre-loaded into the deafult cache ('.restatapi_env').
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
clean_restatapi_cache - All objects (outside of 'cfg', 'rav', 'cc' and 'dmethod') are removed from '.restatapi_env'.
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/xml
get_eurostat_toc - class(xml_leafs): xml_nodeset
get_eurostat_toc - number of nodes: 10309
get_eurostat_toc - number of cores: 2
get_eurostat_toc - dim toc: 10309,22
get_eurostat_toc - colnames toc: title.en,title.fr,title.de,code,lastUpdate,lastModified,dataStart,dataEnd,values,source.en,source.fr,source.de,unit.en,unit.fr,unit.de,shortDescription.en,shortDescription.fr,shortDescription.de,metadata.html,metadata.sdmx,downloadLink.tsv,type
get_eurostat_toc - cols to keep: title.en,code,type,lastUpdate,lastModified,dataStart,dataEnd,values,unit.en,source.en,shortDescription.en,metadata.html,metadata.sdmx,downloadLink.tsv
get_eurostat_toc - The TOC was cached in memory ('toc.xml.en' in '.restatapi_env').
test_restatapi.R.............. 0 tests
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=en
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=en'
downloaded 1.9 MB
get_eurostat_toc - The TOC was cached in memory ('toc.txt.en' in '.restatapi_env').
test_restatapi.R.............. 0 tests
get_eurostat_toc - API version:2 - number of cores:2
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.
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 1 tests OK
test_restatapi.R.............. 7 tests OK
get_eurostat_toc - API version:2 - number of cores:2
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.
test_restatapi.R.............. 7 tests OK
get_eurostat_toc - API version:2 - number of cores:2
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.
test_restatapi.R.............. 7 tests OK
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/xml
get_eurostat_toc - class(xml_leafs): xml_nodeset
get_eurostat_toc - number of nodes: 10309
get_eurostat_toc - number of cores: 2
get_eurostat_toc - dim toc: 10309,22
get_eurostat_toc - colnames toc: title.en,title.fr,title.de,code,lastUpdate,lastModified,dataStart,dataEnd,values,source.en,source.fr,source.de,unit.en,unit.fr,unit.de,shortDescription.en,shortDescription.fr,shortDescription.de,metadata.html,metadata.sdmx,downloadLink.tsv,type
get_eurostat_toc - cols to keep: title.de,code,type,lastUpdate,lastModified,dataStart,dataEnd,values,unit.de,source.de,shortDescription.de,metadata.html,metadata.sdmx,downloadLink.tsv
get_eurostat_toc - The TOC was cached in memory ('toc.xml.de' in '.restatapi_env').
test_restatapi.R.............. 7 tests OK
test_restatapi.R.............. 8 tests OK
test_restatapi.R.............. 9 tests OK trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/text?references=children'
test_restatapi.R.............. 10 tests OK
get_eurostat_dsd - API version:2
get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/NAMA_10_GDP?references=children
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/NAMA_10_GDP?references=children'
downloaded 3.4 MB
get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 3591544 - temp: /home/hornik/tmp/scratch/RtmpWPSm15/file531b6d261ebf
Trying to extract the DSD from: /home/hornik/tmp/scratch/RtmpWPSm15/file531b6d261ebf
get_eurostat_dsd - concepts:freq,unit,na_item,geo,OBS_FLAG,CONF_STATUS
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="FREQ"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="FREQ"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="UNIT"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="UNIT"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="GEO"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="GEO"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="NA_ITEM"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="NA_ITEM"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="OBS_FLAG"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="OBS_FLAG"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="CONF_STATUS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="CONF_STATUS"]/s:Code/c:Name[@xml:lang="en"]
get_eurostat_dsd - DSD NULL:FALSE
get_eurostat_dsd - Trying to download the CC from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/NAMA_10_GDP
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/NAMA_10_GDP'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 5597 bytes
==================================================
downloaded 5597 bytes
get_eurostat_dsd - Trying to extract the CC from: /home/hornik/tmp/scratch/RtmpWPSm15/file531b6a96e7ff
character
number of nodes: 5
number of cores: 2
get_eurostat_dsd - The DSD of the NAMA_10_GDP dataset was cached in memory ('NAMA_10_GDP.en.dsd' in '.restatapi_env').
test_restatapi.R.............. 10 tests OK
test_restatapi.R.............. 13 tests OK
test_restatapi.R.............. 13 tests OK
test_restatapi.R.............. 13 tests OK
test_restatapi.R.............. 17 tests OK get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: htec_cis3
get_eurostat_data - select_freq:
get_eurostat_data - Trying to get from cache: b_htec_cis3-2026.08.26-1-1
get_eurostat_bulk - API version:2
get_eurostat_bulk - class of id, cache, update_cache, cache_dir, compress_file, stringsAsFactors, keep_flags, check_toc, melt, verbose:
character - logical -logical - NULL - logical - logical - logical - logical - logical - logical
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/htec_cis3?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: FALSE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: restatapi::get_eurostat_rawidtxtcacheupdate_cachecache_dircompress_filestringsAsFactorskeep_flagscheck_tocTRUEverbose
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_data - The data was downloaded with bulk download.
get_eurostat_data - bulk restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - cflags:TRUE
get_eurostat_data - restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - processed restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - The data was cached in memory ('b_htec_cis3-2026.08.26-1-1' in '.restatapi_env').
get_eurostat_data - restat NULL?:FALSE
id: htec_cis3
filters:
date filter:
test_restatapi.R.............. 17 tests OK
test_restatapi.R.............. 17 tests OK get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: htec_cis3
get_eurostat_data - select_freq:
get_eurostat_data - Trying to get from cache: b_htec_cis3-2026.08.26-0-0
get_eurostat_cache - The 'b_htec_cis3-2026.08.26-0-0' was loaded from 'b_htec_cis3-2026.08.26-1-1' in '.restatapi_env'.
get_eurostat_data - The data was loaded from cache.
get_eurostat_data - cached restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - processed restat - nrow:1006; ncol:6; colnames:indic_in/nace_r1/unit/geo/time/values
get_eurostat_data - The data was cached in memory ('b_htec_cis3-2026.08.26-0-0' in '.restatapi_env').
get_eurostat_data - restat NULL?:FALSE
id: htec_cis3
filters:
date filter:
test_restatapi.R.............. 17 tests OK
test_restatapi.R.............. 17 tests OK
test_restatapi.R.............. 21 tests OK
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/rail_tf_ns20_mk?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid3FALSE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_rail_tf_ns20_mk-2026.08.26-0' in '.restatapi_env').
get_eurostat_raw - API version:2
get_eurostat_toc - API version:2 - number of cores:2
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.
get_eurostat_raw - raws of TOC: 7570
get_eurostat_raw - txt bulk url from TOC:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/RAIL_TF_NS20_MK?format=tsv&compressed=true
get_eurostat_raw - txt bulk url from cfg:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/rail_tf_ns20_mk?format=TSV&compressed=true
get_eurostat_raw - data rowcount in TOC: 12
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid3TRUEFALSE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_rail_tf_ns20_mk-2023.02.02-0' in '.restatapi_env').
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: rail_tf_ns20_mk
get_eurostat_data - select_freq:
get_eurostat_data - Trying to get from cache: b_rail_tf_ns20_mk-2026.08.26-0-0
get_eurostat_cache - The 'b_rail_tf_ns20_mk-2026.08.26-0-0' was loaded from 'r_rail_tf_ns20_mk-2026.08.26-0' in '.restatapi_env'.
get_eurostat_data - The data was loaded from cache.
get_eurostat_data - cached restat - nrow:12; ncol:6; colnames:freq/net_seg20/train/unit/time/values
get_eurostat_data - restat - nrow:12; ncol:6; colnames:freq/net_seg20/train/unit/time/values
get_eurostat_data - processed restat - nrow:12; ncol:5; colnames:net_seg20/train/unit/time/values
get_eurostat_data - The data was cached in memory ('b_rail_tf_ns20_mk-2026.08.26-0-0' in '.restatapi_env').
get_eurostat_data - restat NULL?:FALSE
id: rail_tf_ns20_mk
filters:
date filter:
test_restatapi.R.............. 26 tests OK
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr?format=sdmx_2.1_structured&compressed=true
get_eurostat_raw - file 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
get_compressed_sdmx - format:gz
get_compressed_sdmx - xml NULL:FALSE
get_eurostat_raw - class(xml_leafs): xml_nodeset
get_eurostat_raw - number of nodes: 583
get_eurostat_raw - number of cores: 2
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid4xmlTRUETRUE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_agr_r_milkpr-2026.08.26-1' in '.restatapi_env').
test_restatapi.R.............. 26 tests OK get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_data - Trying to get from cache: b_agr_r_milkpr-2026.08.26-1-0
get_eurostat_cache - The 'b_agr_r_milkpr-2026.08.26-1-0' was loaded from 'r_agr_r_milkpr-2026.08.26-1' in '.restatapi_env'.
get_eurostat_data - The data was loaded from cache.
get_eurostat_data - cached restat - nrow:11870; ncol:7; colnames:geo/milkitem/freq/dairyprod/TIME_PERIOD/OBS_VALUE/OBS_FLAG
get_eurostat_data - restat - nrow:11870; ncol:7; colnames:geo/milkitem/freq/dairyprod/TIME_PERIOD/OBS_VALUE/OBS_FLAG
get_eurostat_data - processed restat - nrow:11599; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - The data was cached in memory ('b_agr_r_milkpr-2026.08.26-1-0' in '.restatapi_env').
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters:
date filter:
test_restatapi.R.............. 26 tests OK get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_data - date_filter: 2008
create_filter_table - filters class: numeric; size: 1; filters:2008
create_filter_table - filters: 2008; is numeric: TRUE; call parents: 7
create_filter_table - length df: 1 content df: 2008
create_filter_table - 2008 date filter length: 1, nchar date_filter: 4
get_eurostat_data - date_filter: 2008 nrow dft: 1
-?startPeriod=2008-01-01&endPeriod=2008-12-31
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2008-01-01&endPeriod=2008-12-31
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2008-01-01&endPeriod=2008-12-31'
get_eurostat_data - Warning by the download the xml file:
cannot open URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2008-01-01&endPeriod=2008-12-31': HTTP status was '503 Service Unavailable'
utils::download.file(x, temp, dmethod, quiet = !verbose)
get_eurostat_data - Error by the extraction of the footer from the xml:
'/home/hornik/tmp/scratch/RtmpWPSm15/file531b68ad14be' does not exist.
tinytest::test_package("restatapi", at_home = home)
run_test_dir(testdir, at_home = at_home, cluster = cluster, ...)
lapply(basename(testfiles), run_test_file, at_home = at_home, verbose = verbose, color = color, remove_side_effects = remove_side_effects, ...)
FUN(X[[i]], ...)
eval(expr, envir = e)
eval(expr, envir = e)
get_eurostat_data(testid4, date_filter = 2008, keep_flags = TRUE, stringsAsFactors = FALSE)
data.table::rbindlist(lapply(data_endpoint, function(x) {
if (verbose) {
message(x)
}
temp <- tempfile()
tryCatch({
utils::download.file(x, temp, dmethod, quiet = !verbose)
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the download the xml file:", "\n", paste(unlist(e), collapse = "\n"))
}
else {
message("There is an error by the download of the XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the download the xml file:", "\n", paste(unlist(w), collapse = "\n"))
}
else {
message("There is a warning by the download of the XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
})
if (length(temp) == 0) {
tbc <- FALSE
}
if (tbc) {
xml_foot <- NULL
tryCatch({
xml_foot <- xml2::xml_find_all(xml2::read_xml(temp), ".//footer:Message")
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the extraction of the footer from the xml:", "\n", paste(unlist(e), collapse = "\n"))
}
else {
message("There is an error by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the extraction of the footer from the xml:", "\n", paste(unlist(w), collapse = "\n"))
}
else {
message("There is a warning by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
})
}
if (tbc & !is.null(xml_foot)) {
if (length(xml_foot) > 0) {
code <- xml2::xml_attr(xml_foot, "code")
if (length(code) != 0) {
notification <- "The query had at least one footer message."
if (!verbose) {
notification <- paste(notification, "You can check the details with the 'verbose=TRUE' parameter.")
}
message(notification)
}
severity <- xml2::xml_attr(xml_foot, "severity")
fmsg <- xml2::xml_text(xml2::xml_children(xml_foot))
if (verbose) {
message("get_eurostat_data - ", x, "\ncode: ", code, " - severity:", severity, "\n", paste(fmsg, collapse = "\n"))
}
code <- c(getOption("code_opt", NULL), code)
options(code_opt = code)
}
else {
xml_foot <- NULL
}
}
else {
tbc <- FALSE
tryCatch({
xml_fault <- xml2::xml_find_all(xml2::read_xml(temp), ".//S:Fault")
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the extraction of the faultcode from the xml:", "\n", paste(unlist(e), collapse = "\n"))
}
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the extraction of the faultcode from the xml:", "\n", paste(unlist(w), collapse = "\n"))
}
})
message("Problem by the extraction of the footer information from the xml_file.")
}
if (tbc) {
xml_mark <- switch(rav, `1` = ".//generic:Series", `2` = ".//g:Series")
tryCatch({
xml_leafs <- xml2::xml_find_all(xml2::read_xml(temp), xml_mark)
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the reading of data from the downloaded XML:", "\n", paste(unlist(e), collapse = "\n"))
}
else {
message("There is an error by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by reading of data from the downloaded XML file:", "\n", paste(unlist(w), collapse = "\n"))
}
else {
message("There is a warning by the downloaded of the XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
})
tryCatch({
if (verbose) {
message("get_eurostat_data - class(xml_leafs):", class(xml_leafs), "\nget_eurostat_data - number of nodes: ", length(xml_leafs), "\nget_eurostat_data - number of cores: ", getOption("restatapi_cores", 1))
}
if (Sys.info()[["sysname"]] == "Windows") {
if (getOption("restatapi_cores", 1) == 1) {
if (verbose)
message("No parallel")
rdat <- data.table::rbindlist(lapply(xml_leafs, extract_data, keep_flags = keep_flags, stringsAsFactors = stringsAsFactors, bulk = FALSE))
}
else {
xml_leafs <- as.character(xml_leafs)
cl <- parallel::makeCluster(min(2, getOption("restatapi_cores", 1)))
parallel::clusterEvalQ(cl, require(xml2))
parallel::clusterExport(cl, c("extract_data"))
rdat <- data.table::rbindlist(parallel::parLapply(cl, xml_leafs, extract_data, keep_flags = keep_flags, stringsAsFactors = stringsAsFactors, bulk = FALSE))
parallel::stopCluster(cl)
}
}
else {
rdat <- data.table::rbindlist(parallel::mclapply(xml_leafs, extract_data, keep_flags = keep_flags, stringsAsFactors = stringsAsFactors, bulk = FALSE, mc.cores = getOption("restatapi_cores", 1)))
}
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - ", e)
rdat <- NULL
}
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - ", w)
}
})
}
if (file.exists(temp))
unlink(temp)
if (!is.null(rdat)) {
data.table::as.data.table(rdat, stringsAsFactors = stringsAsFactors)
}
}), fill = TRUE)
lapply(data_endpoint, function(x) {
if (verbose) {
message(x)
}
temp <- tempfile()
tryCatch({
utils::download.file(x, temp, dmethod, quiet = !verbose)
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the download the xml file:", "\n", paste(unlist(e), collapse = "\n"))
}
else {
message("There is an error by the download of the XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the download the xml file:", "\n", paste(unlist(w), collapse = "\n"))
}
else {
message("There is a warning by the download of the XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
})
if (length(temp) == 0) {
tbc <- FALSE
}
if (tbc) {
xml_foot <- NULL
tryCatch({
xml_foot <- xml2::xml_find_all(xml2::read_xml(temp), ".//footer:Message")
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the extraction of the footer from the xml:", "\n", paste(unlist(e), collapse = "\n"))
}
else {
message("There is an error by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the extraction of the footer from the xml:", "\n", paste(unlist(w), collapse = "\n"))
}
else {
message("There is a warning by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
})
}
if (tbc & !is.null(xml_foot)) {
if (length(xml_foot) > 0) {
code <- xml2::xml_attr(xml_foot, "code")
if (length(code) != 0) {
notification <- "The query had at least one footer message."
if (!verbose) {
notification <- paste(notification, "You can check the details with the 'verbose=TRUE' parameter.")
}
message(notification)
}
severity <- xml2::xml_attr(xml_foot, "severity")
fmsg <- xml2::xml_text(xml2::xml_children(xml_foot))
if (verbose) {
message("get_eurostat_data - ", x, "\ncode: ", code, " - severity:", severity, "\n", paste(fmsg, collapse = "\n"))
}
code <- c(getOption("code_opt", NULL), code)
options(code_opt = code)
}
else {
xml_foot <- NULL
}
}
else {
tbc <- FALSE
tryCatch({
xml_fault <- xml2::xml_find_all(xml2::read_xml(temp), ".//S:Fault")
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the extraction of the faultcode from the xml:", "\n", paste(unlist(e), collapse = "\n"))
}
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the extraction of the faultcode from the xml:", "\n", paste(unlist(w), collapse = "\n"))
}
})
message("Problem by the extraction of the footer information from the xml_file.")
}
if (tbc) {
xml_mark <- switch(rav, `1` = ".//generic:Series", `2` = ".//g:Series")
tryCatch({
xml_leafs <- xml2::xml_find_all(xml2::read_xml(temp), xml_mark)
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the reading of data from the downloaded XML:", "\n", paste(unlist(e), collapse = "\n"))
}
else {
message("There is an error by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by reading of data from the downloaded XML file:", "\n", paste(unlist(w), collapse = "\n"))
}
else {
message("There is a warning by the downloaded of the XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
})
tryCatch({
if (verbose) {
message("get_eurostat_data - class(xml_leafs):", class(xml_leafs), "\nget_eurostat_data - number of nodes: ", length(xml_leafs), "\nget_eurostat_data - number of cores: ", getOption("restatapi_cores", 1))
}
if (Sys.info()[["sysname"]] == "Windows") {
if (getOption("restatapi_cores", 1) == 1) {
if (verbose)
message("No parallel")
rdat <- data.table::rbindlist(lapply(xml_leafs, extract_data, keep_flags = keep_flags, stringsAsFactors = stringsAsFactors, bulk = FALSE))
}
else {
xml_leafs <- as.character(xml_leafs)
cl <- parallel::makeCluster(min(2, getOption("restatapi_cores", 1)))
parallel::clusterEvalQ(cl, require(xml2))
parallel::clusterExport(cl, c("extract_data"))
rdat <- data.table::rbindlist(parallel::parLapply(cl, xml_leafs, extract_data, keep_flags = keep_flags, stringsAsFactors = stringsAsFactors, bulk = FALSE))
parallel::stopCluster(cl)
}
}
else {
rdat <- data.table::rbindlist(parallel::mclapply(xml_leafs, extract_data, keep_flags = keep_flags, stringsAsFactors = stringsAsFactors, bulk = FALSE, mc.cores = getOption("restatapi_cores", 1)))
}
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - ", e)
rdat <- NULL
}
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - ", w)
}
})
}
if (file.exists(temp))
unlink(temp)
if (!is.null(rdat)) {
data.table::as.data.table(rdat, stringsAsFactors = stringsAsFactors)
}
})
FUN(X[[i]], ...)
tryCatch({
xml_foot <- xml2::xml_find_all(xml2::read_xml(temp), ".//footer:Message")
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the extraction of the footer from the xml:", "\n", paste(unlist(e), collapse = "\n"))
}
else {
message("There is an error by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the extraction of the footer from the xml:", "\n", paste(unlist(w), collapse = "\n"))
}
else {
message("There is a warning by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
})
tryCatchList(expr, classes, parentenv, handlers)
tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]])
doTryCatch(return(expr), name, parentenv, handler)
tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
tryCatchOne(expr, names, parentenv, handlers[[1]])
doTryCatch(return(expr), name, parentenv, handler)
xml2::xml_find_all(xml2::read_xml(temp), ".//footer:Message")
xml2::read_xml(temp)
read_xml.character(temp)
path_to_connection(x)
check_path(path)
cli::cli_abort(msg, call = call)
rlang::abort(message, ..., call = call, use_cli_format = TRUE, .frame = .frame)
0
1
2
3
4
5
6
7
7
9
10
11
12
13
12
15
16
10
10
10
20
21
22
23
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
FALSE
FALSE
FALSE
tinytest
tinytest
base
tinytest
base
base
restatapi
data.table
base
restatapi
base
base
base
base
base
base
base
xml2
xml2
xml2
xml2
xml2
cli
rlang
::
::
::
local
::
::
::
::
::
local
::
local
local
local
local
local
local
::
::
:::
:::
:::
::
::
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
TRUE
FALSE
FALSE
FALSE
TRUE
path_to_connection(x)
TRUE
get_eurostat_data - Error by the extraction of the faultcode from the xml:
'/home/hornik/tmp/scratch/RtmpWPSm15/file531b68ad14be' does not exist.
tinytest::test_package("restatapi", at_home = home)
run_test_dir(testdir, at_home = at_home, cluster = cluster, ...)
lapply(basename(testfiles), run_test_file, at_home = at_home, verbose = verbose, color = color, remove_side_effects = remove_side_effects, ...)
FUN(X[[i]], ...)
eval(expr, envir = e)
eval(expr, envir = e)
get_eurostat_data(testid4, date_filter = 2008, keep_flags = TRUE, stringsAsFactors = FALSE)
data.table::rbindlist(lapply(data_endpoint, function(x) {
if (verbose) {
message(x)
}
temp <- tempfile()
tryCatch({
utils::download.file(x, temp, dmethod, quiet = !verbose)
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the download the xml file:", "\n", paste(unlist(e), collapse = "\n"))
}
else {
message("There is an error by the download of the XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the download the xml file:", "\n", paste(unlist(w), collapse = "\n"))
}
else {
message("There is a warning by the download of the XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
})
if (length(temp) == 0) {
tbc <- FALSE
}
if (tbc) {
xml_foot <- NULL
tryCatch({
xml_foot <- xml2::xml_find_all(xml2::read_xml(temp), ".//footer:Message")
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the extraction of the footer from the xml:", "\n", paste(unlist(e), collapse = "\n"))
}
else {
message("There is an error by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the extraction of the footer from the xml:", "\n", paste(unlist(w), collapse = "\n"))
}
else {
message("There is a warning by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
})
}
if (tbc & !is.null(xml_foot)) {
if (length(xml_foot) > 0) {
code <- xml2::xml_attr(xml_foot, "code")
if (length(code) != 0) {
notification <- "The query had at least one footer message."
if (!verbose) {
notification <- paste(notification, "You can check the details with the 'verbose=TRUE' parameter.")
}
message(notification)
}
severity <- xml2::xml_attr(xml_foot, "severity")
fmsg <- xml2::xml_text(xml2::xml_children(xml_foot))
if (verbose) {
message("get_eurostat_data - ", x, "\ncode: ", code, " - severity:", severity, "\n", paste(fmsg, collapse = "\n"))
}
code <- c(getOption("code_opt", NULL), code)
options(code_opt = code)
}
else {
xml_foot <- NULL
}
}
else {
tbc <- FALSE
tryCatch({
xml_fault <- xml2::xml_find_all(xml2::read_xml(temp), ".//S:Fault")
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the extraction of the faultcode from the xml:", "\n", paste(unlist(e), collapse = "\n"))
}
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the extraction of the faultcode from the xml:", "\n", paste(unlist(w), collapse = "\n"))
}
})
message("Problem by the extraction of the footer information from the xml_file.")
}
if (tbc) {
xml_mark <- switch(rav, `1` = ".//generic:Series", `2` = ".//g:Series")
tryCatch({
xml_leafs <- xml2::xml_find_all(xml2::read_xml(temp), xml_mark)
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the reading of data from the downloaded XML:", "\n", paste(unlist(e), collapse = "\n"))
}
else {
message("There is an error by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by reading of data from the downloaded XML file:", "\n", paste(unlist(w), collapse = "\n"))
}
else {
message("There is a warning by the downloaded of the XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
})
tryCatch({
if (verbose) {
message("get_eurostat_data - class(xml_leafs):", class(xml_leafs), "\nget_eurostat_data - number of nodes: ", length(xml_leafs), "\nget_eurostat_data - number of cores: ", getOption("restatapi_cores", 1))
}
if (Sys.info()[["sysname"]] == "Windows") {
if (getOption("restatapi_cores", 1) == 1) {
if (verbose)
message("No parallel")
rdat <- data.table::rbindlist(lapply(xml_leafs, extract_data, keep_flags = keep_flags, stringsAsFactors = stringsAsFactors, bulk = FALSE))
}
else {
xml_leafs <- as.character(xml_leafs)
cl <- parallel::makeCluster(min(2, getOption("restatapi_cores", 1)))
parallel::clusterEvalQ(cl, require(xml2))
parallel::clusterExport(cl, c("extract_data"))
rdat <- data.table::rbindlist(parallel::parLapply(cl, xml_leafs, extract_data, keep_flags = keep_flags, stringsAsFactors = stringsAsFactors, bulk = FALSE))
parallel::stopCluster(cl)
}
}
else {
rdat <- data.table::rbindlist(parallel::mclapply(xml_leafs, extract_data, keep_flags = keep_flags, stringsAsFactors = stringsAsFactors, bulk = FALSE, mc.cores = getOption("restatapi_cores", 1)))
}
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - ", e)
rdat <- NULL
}
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - ", w)
}
})
}
if (file.exists(temp))
unlink(temp)
if (!is.null(rdat)) {
data.table::as.data.table(rdat, stringsAsFactors = stringsAsFactors)
}
}), fill = TRUE)
lapply(data_endpoint, function(x) {
if (verbose) {
message(x)
}
temp <- tempfile()
tryCatch({
utils::download.file(x, temp, dmethod, quiet = !verbose)
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the download the xml file:", "\n", paste(unlist(e), collapse = "\n"))
}
else {
message("There is an error by the download of the XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the download the xml file:", "\n", paste(unlist(w), collapse = "\n"))
}
else {
message("There is a warning by the download of the XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
})
if (length(temp) == 0) {
tbc <- FALSE
}
if (tbc) {
xml_foot <- NULL
tryCatch({
xml_foot <- xml2::xml_find_all(xml2::read_xml(temp), ".//footer:Message")
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the extraction of the footer from the xml:", "\n", paste(unlist(e), collapse = "\n"))
}
else {
message("There is an error by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the extraction of the footer from the xml:", "\n", paste(unlist(w), collapse = "\n"))
}
else {
message("There is a warning by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
tbc <- FALSE
})
}
if (tbc & !is.null(xml_foot)) {
if (length(xml_foot) > 0) {
code <- xml2::xml_attr(xml_foot, "code")
if (length(code) != 0) {
notification <- "The query had at least one footer message."
if (!verbose) {
notification <- paste(notification, "You can check the details with the 'verbose=TRUE' parameter.")
}
message(notification)
}
severity <- xml2::xml_attr(xml_foot, "severity")
fmsg <- xml2::xml_text(xml2::xml_children(xml_foot))
if (verbose) {
message("get_eurostat_data - ", x, "\ncode: ", code, " - severity:", severity, "\n", paste(fmsg, collapse = "\n"))
}
code <- c(getOption("code_opt", NULL), code)
options(code_opt = code)
}
else {
xml_foot <- NULL
}
}
else {
tbc <- FALSE
tryCatch({
xml_fault <- xml2::xml_find_all(xml2::read_xml(temp), ".//S:Fault")
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the extraction of the faultcode from the xml:", "\n", paste(unlist(e), collapse = "\n"))
}
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the extraction of the faultcode from the xml:", "\n", paste(unlist(w), collapse = "\n"))
}
})
message("Problem by the extraction of the footer information from the xml_file.")
}
if (tbc) {
xml_mark <- switch(rav, `1` = ".//generic:Series", `2` = ".//g:Series")
tryCatch({
xml_leafs <- xml2::xml_find_all(xml2::read_xml(temp), xml_mark)
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the reading of data from the downloaded XML:", "\n", paste(unlist(e), collapse = "\n"))
}
else {
message("There is an error by the reading of the downloaded XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by reading of data from the downloaded XML file:", "\n", paste(unlist(w), collapse = "\n"))
}
else {
message("There is a warning by the downloaded of the XML file. Run the same command with verbose=TRUE option to get more info on the issue.")
}
})
tryCatch({
if (verbose) {
message("get_eurostat_data - class(xml_leafs):", class(xml_leafs), "\nget_eurostat_data - number of nodes: ", length(xml_leafs), "\nget_eurostat_data - number of cores: ", getOption("restatapi_cores", 1))
}
if (Sys.info()[["sysname"]] == "Windows") {
if (getOption("restatapi_cores", 1) == 1) {
if (verbose)
message("No parallel")
rdat <- data.table::rbindlist(lapply(xml_leafs, extract_data, keep_flags = keep_flags, stringsAsFactors = stringsAsFactors, bulk = FALSE))
}
else {
xml_leafs <- as.character(xml_leafs)
cl <- parallel::makeCluster(min(2, getOption("restatapi_cores", 1)))
parallel::clusterEvalQ(cl, require(xml2))
parallel::clusterExport(cl, c("extract_data"))
rdat <- data.table::rbindlist(parallel::parLapply(cl, xml_leafs, extract_data, keep_flags = keep_flags, stringsAsFactors = stringsAsFactors, bulk = FALSE))
parallel::stopCluster(cl)
}
}
else {
rdat <- data.table::rbindlist(parallel::mclapply(xml_leafs, extract_data, keep_flags = keep_flags, stringsAsFactors = stringsAsFactors, bulk = FALSE, mc.cores = getOption("restatapi_cores", 1)))
}
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - ", e)
rdat <- NULL
}
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - ", w)
}
})
}
if (file.exists(temp))
unlink(temp)
if (!is.null(rdat)) {
data.table::as.data.table(rdat, stringsAsFactors = stringsAsFactors)
}
})
FUN(X[[i]], ...)
tryCatch({
xml_fault <- xml2::xml_find_all(xml2::read_xml(temp), ".//S:Fault")
}, error = function(e) {
if (verbose) {
message("get_eurostat_data - Error by the extraction of the faultcode from the xml:", "\n", paste(unlist(e), collapse = "\n"))
}
}, warning = function(w) {
if (verbose) {
message("get_eurostat_data - Warning by the extraction of the faultcode from the xml:", "\n", paste(unlist(w), collapse = "\n"))
}
})
tryCatchList(expr, classes, parentenv, handlers)
tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]])
doTryCatch(return(expr), name, parentenv, handler)
tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
tryCatchOne(expr, names, parentenv, handlers[[1]])
doTryCatch(return(expr), name, parentenv, handler)
xml2::xml_find_all(xml2::read_xml(temp), ".//S:Fault")
xml2::read_xml(temp)
read_xml.character(temp)
path_to_connection(x)
check_path(path)
cli::cli_abort(msg, call = call)
rlang::abort(message, ..., call = call, use_cli_format = TRUE, .frame = .frame)
0
1
2
3
4
5
6
7
7
9
10
11
12
13
12
15
16
10
10
10
20
21
22
23
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
TRUE
FALSE
FALSE
FALSE
tinytest
tinytest
base
tinytest
base
base
restatapi
data.table
base
restatapi
base
base
base
base
base
base
base
xml2
xml2
xml2
xml2
xml2
cli
rlang
::
::
::
local
::
::
::
::
::
local
::
local
local
local
local
local
local
::
::
:::
:::
:::
::
::
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
FALSE
TRUE
FALSE
FALSE
FALSE
TRUE
path_to_connection(x)
TRUE
Problem by the extraction of the footer information from the xml_file.
get_eurostat_data - footer code option value after retrieval:
404 - No data retrived with the given filter(s)
get_eurostat_data - processed restat - nrow:; ncol:; colnames:
get_eurostat_data - restat NULL?:TRUE
id: agr_r_milkpr
filters:
date filter: ?startPeriod=2008-01-01&endPeriod=2008-12-31
test_restatapi.R.............. 26 tests OK
test_restatapi.R.............. 26 tests OK
test_restatapi.R.............. 27 tests OK
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=TSV&compressed=true
get_eurostat_raw - Warning by the reading in with data.table the downloaded TSV file:
cannot open URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=TSV&compressed=true': HTTP status was '503 Service Unavailable'
readLines(gzcon(url(bulk_url)))
The file download was not successful. Try again later.
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid5TRUE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
test_restatapi.R.............. 27 tests OK
get_eurostat_bulk - API version:2
get_eurostat_bulk - class of id, cache, update_cache, cache_dir, compress_file, stringsAsFactors, keep_flags, check_toc, melt, verbose:
character - logical -logical - NULL - logical - logical - logical - logical - logical - logical
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: FALSE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: restatapi::get_eurostat_rawidtxtcacheupdate_cachecache_dircompress_filestringsAsFactorskeep_flagscheck_tocTRUEverbose
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_bulk - The bulk data was cached in memory ('b_irt_h_eurcoe_d-2026.08.26-1-0' in '.restatapi_env').
test_restatapi.R.............. 27 tests OK
get_eurostat_raw - API version:2
get_eurostat_toc - API version:2 - number of cores:2
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.
get_eurostat_raw - raws of TOC: 7570
get_eurostat_raw - txt bulk url from TOC:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/IRT_H_EURCOE_D?format=tsv&compressed=true
get_eurostat_raw - txt bulk url from cfg:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=sdmx_2.1_structured&compressed=true
get_eurostat_raw - data rowcount in TOC: 29862
get_eurostat_raw - file format: gz
get_compressed_sdmx - url:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=sdmx_2.1_structured&compressed=true
get_compressed_sdmx - format:gz
get_compressed_sdmx - xml NULL:FALSE
get_eurostat_raw - class(xml_leafs): xml_nodeset
get_eurostat_raw - number of nodes: 18
get_eurostat_raw - number of cores: 2
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid5xmlTRUETRUETRUETRUEFALSE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_irt_h_eurcoe_d-2009.03.27-1' in '.restatapi_env').
test_restatapi.R.............. 27 tests OK
get_eurostat_bulk - API version:2
get_eurostat_cache - The 'b_irt_h_eurcoe_d-2026.08.26-1-0' was loaded from 'b_irt_h_eurcoe_d-2026.08.26-1-0' in '.restatapi_env'.
get_eurostat_bulk - The bulk data was cached previously in memory ('b_irt_h_eurcoe_d-2026.08.26-1-0' in '.restatapi_env'). It remained unchanged.
test_restatapi.R.............. 27 tests OK
test_restatapi.R.............. 28 tests OK
test_restatapi.R.............. 28 tests OK trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children'
downloaded 2.9 MB
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/agr_r_milkpr'
downloaded 15 KB
test_restatapi.R.............. 29 tests OK
test_restatapi.R.............. 30 tests OK
test_restatapi.R.............. 31 tests OK
test_restatapi.R.............. 32 tests OK
test_restatapi.R.............. 35 tests OK trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/avia_par_me?references=children'
downloaded 18.2 MB
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/avia_par_me'
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/avia_par_me/?startPeriod=2017-03-01&endPeriod=2017-03-31'
downloaded 58 KB
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/avia_par_me?references=children'
downloaded 18.2 MB
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/avia_par_me'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 7996 bytes
==================================================
downloaded 7996 bytes
test_restatapi.R.............. 36 tests OK
test_restatapi.R.............. 37 tests 1 fails
test_restatapi.R.............. 37 tests 1 fails
test_restatapi.R.............. 38 tests 1 fails
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
test_restatapi.R.............. 38 tests 1 fails get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
create_filter_table - filters class: character; size: 1; filters:AT
...AT-
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT/
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT/'
Content type 'application/vnd.sdmx.genericdata+xml;version=2.1' length 3279 bytes
==================================================
downloaded 3279 bytes
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 1
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:29; ncol:6; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue
get_eurostat_data - processed restat - nrow:29; ncol:5; colnames:geo/milkitem/dairyprod/time/values
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...AT
date filter:
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
create_filter_table - filters class: character; size: 1; filters:AT
...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34-
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34/
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34/'
downloaded 31 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 13
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:377; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:377; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34
date filter:
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_data - date_filter: 2016
create_filter_table - filters class: numeric; size: 1; filters:2016
create_filter_table - filters: 2016; is numeric: TRUE; call parents: 8
create_filter_table - length df: 1 content df: 2016
create_filter_table - 2016 date filter length: 1, nchar date_filter: 4
get_eurostat_data - date_filter: 2016 nrow dft: 1
-?startPeriod=2016-01-01&endPeriod=2016-12-31
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31'
downloaded 137 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 508
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:508; ncol:6; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue
get_eurostat_data - processed restat - nrow:494; ncol:5; colnames:geo/milkitem/dairyprod/time/values
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters:
date filter: ?startPeriod=2016-01-01&endPeriod=2016-12-31
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_data - date_filter: 2016
create_filter_table - filters class: character; size: 1; filters:2016
create_filter_table - filters: 2016; is numeric: FALSE; call parents: 8
create_filter_table - length df: 1 content df: 2016
create_filter_table - 2016 date filter length: 1, nchar date_filter: 4
get_eurostat_data - date_filter: 2016 nrow dft: 1
-?startPeriod=2016-01-01&endPeriod=2016-12-31
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31'
downloaded 137 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 508
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:508; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:494; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters:
date filter: ?startPeriod=2016-01-01&endPeriod=2016-12-31
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
create_filter_table - filters class: character; size: 1; filters:AT
...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34+EL11+EL3+EL30+EL51+ES51+ES52+HR+HR02+HR03+HR04+HR06+HR01+ITF5+LV+LV0+LV00+HU22+RO4+SK01+NO01+NO03+NO04+NO05+UKD3+UKK1+TR2+TR5+TR63+TR72+TR8+TR83+TRB1+TRC3-
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34+EL11+EL3+EL30+EL51+ES51+ES52+HR+HR02+HR03+HR04+HR06+HR01+ITF5+LV+LV0+LV00+HU22+RO4+SK01+NO01+NO03+NO04+NO05+UKD3+UKK1+TR2+TR5+TR63+TR72+TR8+TR83+TRB1+TRC3/
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34+EL11+EL3+EL30+EL51+ES51+ES52+HR+HR02+HR03+HR04+HR06+HR01+ITF5+LV+LV0+LV00+HU22+RO4+SK01+NO01+NO03+NO04+NO05+UKD3+UKK1+TR2+TR5+TR63+TR72+TR8+TR83+TRB1+TRC3/'
downloaded 83 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 46
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:1004; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:993; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34+EL11+EL3+EL30+EL51+ES51+ES52+HR+HR02+HR03+HR04+HR06+HR01+ITF5+LV+LV0+LV00+HU22+RO4+SK01+NO01+NO03+NO04+NO05+UKD3+UKK1+TR2+TR5+TR63+TR72+TR8+TR83+TRB1+TRC3
date filter:
test_restatapi.R.............. 42 tests 1 fails
get_eurostat_dsd - API version:2
get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/avia_par_me?references=children
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/avia_par_me?references=children'
downloaded 18.2 MB
get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 19069969 - temp: /home/hornik/tmp/scratch/RtmpWPSm15/file531b62bbc03cd
Trying to extract the DSD from: /home/hornik/tmp/scratch/RtmpWPSm15/file531b62bbc03cd
get_eurostat_dsd - concepts:freq,unit,tra_meas,airp_pr,OBS_FLAG,CONF_STATUS
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="FREQ"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="FREQ"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="UNIT"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="UNIT"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="TRA_MEAS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="TRA_MEAS"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="OBS_FLAG"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="OBS_FLAG"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="AIRP_PR"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="AIRP_PR"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="CONF_STATUS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="CONF_STATUS"]/s:Code/c:Name[@xml:lang="de"]
get_eurostat_dsd - DSD NULL:FALSE
get_eurostat_dsd - Trying to download the CC from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/avia_par_me
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/avia_par_me'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 7996 bytes
==================================================
downloaded 7996 bytes
get_eurostat_dsd - Trying to extract the CC from: /home/hornik/tmp/scratch/RtmpWPSm15/file531b6560297ad
character
number of nodes: 5
number of cores: 2
get_eurostat_dsd - The DSD of the avia_par_me dataset was cached in memory ('avia_par_me.de.dsd' in '.restatapi_env').
test_restatapi.R.............. 42 tests 1 fails
test_restatapi.R.............. 42 tests 1 fails
test_restatapi.R.............. 42 tests 1 fails
test_restatapi.R.............. 44 tests 1 fails
test_restatapi.R.............. 44 tests 1 fails
test_restatapi.R.............. 45 tests 1 fails
test_restatapi.R.............. 46 tests 1 fails
test_restatapi.R.............. 47 tests 1 fails
test_restatapi.R.............. 49 tests 1 fails
test_restatapi.R.............. 50 tests 1 fails
test_restatapi.R.............. 54 tests 1 fails
test_restatapi.R.............. 56 tests 1 fails
test_restatapi.R.............. 58 tests 1 fails
test_restatapi.R.............. 59 tests 1 fails
test_restatapi.R.............. 60 tests 1 fails
test_restatapi.R.............. 61 tests 1 fails
test_restatapi.R.............. 62 tests 1 fails
test_restatapi.R.............. 63 tests 1 fails
test_restatapi.R.............. 64 tests 1 fails
test_restatapi.R.............. 65 tests 1 fails
test_restatapi.R.............. 66 tests 1 fails
test_restatapi.R.............. 67 tests 1 fails
test_restatapi.R.............. 68 tests 1 fails
test_restatapi.R.............. 69 tests 1 fails
test_restatapi.R.............. 70 tests 1 fails
test_restatapi.R.............. 71 tests 1 fails
test_restatapi.R.............. 72 tests 1 fails
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/tus_00age?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid7
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_tus_00age-2026.08.26-0' in '.restatapi_env').
test_restatapi.R.............. 72 tests 1 fails
get_eurostat_dsd - API version:2
get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/tus_00age?references=children
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/tus_00age?references=children'
downloaded 3.7 MB
get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 3901770 - temp: /home/hornik/tmp/scratch/RtmpWPSm15/file531b67e44c1f3
Trying to extract the DSD from: /home/hornik/tmp/scratch/RtmpWPSm15/file531b67e44c1f3
get_eurostat_dsd - concepts:freq,unit,sex,age,acl00,geo,OBS_FLAG,CONF_STATUS
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="FREQ"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="FREQ"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="UNIT"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="UNIT"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="SEX"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="SEX"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="ACL00"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="ACL00"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="AGE"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="AGE"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="OBS_FLAG"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="OBS_FLAG"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="GEO"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="GEO"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="CONF_STATUS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="CONF_STATUS"]/s:Code/c:Name[@xml:lang="en"]
get_eurostat_dsd - DSD NULL:FALSE
get_eurostat_dsd - Trying to download the CC from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/tus_00age
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/tus_00age'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 3844 bytes
==================================================
downloaded 3844 bytes
get_eurostat_dsd - Trying to extract the CC from: /home/hornik/tmp/scratch/RtmpWPSm15/file531b65fb7681f
character
number of nodes: 7
number of cores: 2
get_eurostat_dsd - The DSD of the tus_00age dataset was cached in memory ('tus_00age.en.dsd' in '.restatapi_env').
test_restatapi.R.............. 72 tests 1 fails create_filter_table - filters class: character; size: 3; filters:TIME_SPHungaryT
test_restatapi.R.............. 73 tests 1 fails
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/avia_par_me?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid6
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_avia_par_me-2026.08.26-0' in '.restatapi_env').
test_restatapi.R.............. 73 tests 1 fails create_filter_table - filters class: character; size: 1; filters:2017:2018
create_filter_table - filters: 2017:2018; is numeric: FALSE; call parents: 6
create_filter_table - length df: 1 content df: 2017:2018
create_filter_table - 2017:2018 date filter length: 1, nchar date_filter: 9
test_restatapi.R.............. 74 tests 1 fails
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/SEX
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/codelist/ESTAT/SEX'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 5941 bytes
==================================================
downloaded 5941 bytes
Trying to extract the codelist from: /home/hornik/tmp/scratch/RtmpWPSm15/file531b6510ca76b
get_eurostat_codelist - codelist NULL:TRUE
test_restatapi.R.............. 74 tests 1 fails
test_restatapi.R.............. 76 tests 1 fails
7.1.8+deb14-amd64
test_restatapi.R.............. 76 tests 1 fails
Are we at home:FALSE
test_restatapi.R.............. 76 tests 1 fails
test_restatapi.R.............. 76 tests 1 fails
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=fr
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=fr'
downloaded 2.1 MB
get_eurostat_toc - The TOC was cached in memory ('toc.txt.fr' in '.restatapi_env').
test_restatapi.R.............. 76 tests 1 fails
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=de
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=de'
downloaded 2.0 MB
get_eurostat_toc - The TOC was cached in memory ('toc.txt.de' in '.restatapi_env').
test_restatapi.R.............. 76 tests 1 fails
test_restatapi.R.............. 77 tests 1 fails get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_dsd - API version:2
get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children'
downloaded 2.9 MB
get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 3008178 - temp: /home/hornik/tmp/scratch/RtmpWPSm15/file531b62e9a3f13
Trying to extract the DSD from: /home/hornik/tmp/scratch/RtmpWPSm15/file531b62e9a3f13
get_eurostat_dsd - concepts:freq,milkitem,dairyprod,geo,OBS_FLAG,CONF_STATUS
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="FREQ"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="FREQ"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="MILKITEM"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="MILKITEM"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="DAIRYPROD"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="DAIRYPROD"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="GEO"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="GEO"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="OBS_FLAG"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="OBS_FLAG"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="CONF_STATUS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="CONF_STATUS"]/s:Code/c:Name[@xml:lang="de"]
get_eurostat_dsd - DSD NULL:FALSE
get_eurostat_dsd - Trying to download the CC from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/agr_r_milkpr
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/agr_r_milkpr'
downloaded 15 KB
get_eurostat_dsd - Trying to extract the CC from: /home/hornik/tmp/scratch/RtmpWPSm15/file531b66870b2f1
character
number of nodes: 5
number of cores: 2
get_eurostat_dsd - The DSD of the agr_r_milkpr dataset was cached in memory ('agr_r_milkpr.de.dsd' in '.restatapi_env').
create_filter_table - filters class: character; size: 2; filters:BE$Ungarn
get_eurostat_data - date_filter: 2007-06<
create_filter_table - filters class: character; size: 1; filters:2007-06<
create_filter_table - filters: 2007-06<; is numeric: FALSE; call parents: 7
create_filter_table - length df: 1 content df: 2007-06<
create_filter_table - 2007-06< date filter length: 1, nchar date_filter: 8
get_eurostat_data - date_filter: 2007-06< nrow dft: 1
...BE+HU-?startPeriod=2007-06-01
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...BE+HU/?startPeriod=2007-06-01
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...BE+HU/?startPeriod=2007-06-01'
Content type 'application/vnd.sdmx.genericdata+xml;version=2.1' length 3959 bytes
==================================================
downloaded 3959 bytes
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 2
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:34; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:34; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...BE+HU
date filter: ?startPeriod=2007-06-01
test_restatapi.R.............. 77 tests 1 fails get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
create_filter_table - filters class: character; size: 2; filters:BE$Hungary
get_eurostat_data - date_filter: 2007-06<
create_filter_table - filters class: character; size: 1; filters:2007-06<
create_filter_table - filters: 2007-06<; is numeric: FALSE; call parents: 7
create_filter_table - length df: 1 content df: 2007-06<
create_filter_table - 2007-06< date filter length: 1, nchar date_filter: 8
get_eurostat_data - date_filter: 2007-06< nrow dft: 1
...BE+HU-?startPeriod=2007-06-01
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...BE+HU/?startPeriod=2007-06-01
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...BE+HU/?startPeriod=2007-06-01'
Content type 'application/vnd.sdmx.genericdata+xml;version=2.1' length 3959 bytes
==================================================
downloaded 3959 bytes
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 2
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:34; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:34; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...BE+HU
date filter: ?startPeriod=2007-06-01
test_restatapi.R.............. 77 tests 1 fails
test_restatapi.R.............. 78 tests 1 fails
clean_restatapi_cache - All objects (outside of 'cfg', 'rav', 'cc' and 'dmethod') are removed from '.restatapi_env'.
clean_restatapi_cache - Deleted all .rds files from /home/hornik/tmp/scratch/RtmpWPSm15
test_restatapi.R.............. 78 tests 1 fails
There are skipped tests:27-29,30,33-34,51-52
test_restatapi.R.............. 78 tests 1 fails
Skipped tests: 27-29,30,33-34,51-52
config version: 2
test_restatapi.R.............. 78 tests 1 fails
test_restatapi.R.............. 78 tests 1 fails 1.4s
----- FAILED[data]: test_restatapi.R<169--169>
call| expect_true(is.null(dt8))
diff| Expected TRUE, got FALSE
Error: 1 out of 78 tests failed
Execution halted
Flavor: r-patched-linux-x86_64
Version: 0.25.0
Check: tests
Result: ERROR
Running ‘tinytest.R’ [16s/370s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ home <- length(unclass(packageVersion("restatapi"))[[1]]) == 4
+ tinytest::test_package("restatapi", at_home = home)
+ }
restatapi: - version 0.25.0
- config file with the API version 2 loaded from GitHub (the 'current' API version number is 2).
- 2 from the 12 cores are used for parallel computing, can be changed with 'options(restatapi_cores=...)'
- 'auto' method will be used for file download, can be changed with 'options(restatapi_dmethod=...)'
- the Table of contents (TOC) was not pre-loaded into the deafult cache ('.restatapi_env').
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
clean_restatapi_cache - All objects (outside of 'cfg', 'rav', 'cc' and 'dmethod') are removed from '.restatapi_env'.
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/xml
get_eurostat_toc - class(xml_leafs): xml_nodeset
get_eurostat_toc - number of nodes: 10420
get_eurostat_toc - number of cores: 2
get_eurostat_toc - dim toc: 10420,22
get_eurostat_toc - colnames toc: title.en,title.fr,title.de,code,lastUpdate,lastModified,dataStart,dataEnd,values,source.en,source.fr,source.de,unit.en,unit.fr,unit.de,shortDescription.en,shortDescription.fr,shortDescription.de,metadata.html,metadata.sdmx,downloadLink.tsv,type
get_eurostat_toc - cols to keep: title.en,code,type,lastUpdate,lastModified,dataStart,dataEnd,values,unit.en,source.en,shortDescription.en,metadata.html,metadata.sdmx,downloadLink.tsv
get_eurostat_toc - The TOC was cached in memory ('toc.xml.en' in '.restatapi_env').
test_restatapi.R.............. 0 tests
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=en
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=en'
downloaded 1.9 MB
get_eurostat_toc - The TOC was cached in memory ('toc.txt.en' in '.restatapi_env').
test_restatapi.R.............. 0 tests
get_eurostat_toc - API version:2 - number of cores:2
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.
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 1 tests OK
test_restatapi.R.............. 7 tests OK
get_eurostat_toc - API version:2 - number of cores:2
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.
test_restatapi.R.............. 7 tests OK
get_eurostat_toc - API version:2 - number of cores:2
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.
test_restatapi.R.............. 7 tests OK
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/xml
get_eurostat_toc - class(xml_leafs): xml_nodeset
get_eurostat_toc - number of nodes: 10420
get_eurostat_toc - number of cores: 2
get_eurostat_toc - dim toc: 10420,22
get_eurostat_toc - colnames toc: title.en,title.fr,title.de,code,lastUpdate,lastModified,dataStart,dataEnd,values,source.en,source.fr,source.de,unit.en,unit.fr,unit.de,shortDescription.en,shortDescription.fr,shortDescription.de,metadata.html,metadata.sdmx,downloadLink.tsv,type
get_eurostat_toc - cols to keep: title.de,code,type,lastUpdate,lastModified,dataStart,dataEnd,values,unit.de,source.de,shortDescription.de,metadata.html,metadata.sdmx,downloadLink.tsv
get_eurostat_toc - The TOC was cached in memory ('toc.xml.de' in '.restatapi_env').
test_restatapi.R.............. 7 tests OK
test_restatapi.R.............. 8 tests OK
test_restatapi.R.............. 9 tests OK trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/text?references=children'
test_restatapi.R.............. 10 tests OK
get_eurostat_dsd - API version:2
get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/NAMA_10_GDP?references=children
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/NAMA_10_GDP?references=children'
downloaded 3.4 MB
get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 3578727 - temp: /Volumes/Temp/tmp/RtmpG9MToV/file5f943f711e53
Trying to extract the DSD from: /Volumes/Temp/tmp/RtmpG9MToV/file5f943f711e53
get_eurostat_dsd - concepts:freq,unit,na_item,geo,OBS_FLAG,CONF_STATUS
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="FREQ"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="FREQ"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="UNIT"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="UNIT"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="NA_ITEM"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="NA_ITEM"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="GEO"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="GEO"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="OBS_FLAG"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="OBS_FLAG"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="CONF_STATUS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="CONF_STATUS"]/s:Code/c:Name[@xml:lang="en"]
get_eurostat_dsd - DSD NULL:FALSE
get_eurostat_dsd - Trying to download the CC from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/NAMA_10_GDP
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/NAMA_10_GDP'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 5618 bytes
==================================================
downloaded 5618 bytes
get_eurostat_dsd - Trying to extract the CC from: /Volumes/Temp/tmp/RtmpG9MToV/file5f941b7dfbaf
character
number of nodes: 5
number of cores: 2
get_eurostat_dsd - The DSD of the NAMA_10_GDP dataset was cached in memory ('NAMA_10_GDP.en.dsd' in '.restatapi_env').
test_restatapi.R.............. 10 tests OK
test_restatapi.R.............. 13 tests OK
test_restatapi.R.............. 13 tests OK
test_restatapi.R.............. 13 tests OK
test_restatapi.R.............. 17 tests OK get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: htec_cis3
get_eurostat_data - select_freq:
get_eurostat_data - Trying to get from cache: b_htec_cis3-2026.04.26-1-1
get_eurostat_bulk - API version:2
get_eurostat_bulk - class of id, cache, update_cache, cache_dir, compress_file, stringsAsFactors, keep_flags, check_toc, melt, verbose:
character - logical -logical - NULL - logical - logical - logical - logical - logical - logical
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/htec_cis3?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: FALSE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: restatapi::get_eurostat_rawidtxtcacheupdate_cachecache_dircompress_filestringsAsFactorskeep_flagscheck_tocTRUEverbose
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_data - The data was downloaded with bulk download.
get_eurostat_data - bulk restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - cflags:TRUE
get_eurostat_data - restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - processed restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - The data was cached in memory ('b_htec_cis3-2026.04.26-1-1' in '.restatapi_env').
get_eurostat_data - restat NULL?:FALSE
id: htec_cis3
filters:
date filter:
test_restatapi.R.............. 17 tests OK
test_restatapi.R.............. 17 tests OK get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: htec_cis3
get_eurostat_data - select_freq:
get_eurostat_data - Trying to get from cache: b_htec_cis3-2026.04.26-0-0
get_eurostat_cache - The 'b_htec_cis3-2026.04.26-0-0' was loaded from 'b_htec_cis3-2026.04.26-1-1' in '.restatapi_env'.
get_eurostat_data - The data was loaded from cache.
get_eurostat_data - cached restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - processed restat - nrow:1006; ncol:6; colnames:indic_in/nace_r1/unit/geo/time/values
get_eurostat_data - The data was cached in memory ('b_htec_cis3-2026.04.26-0-0' in '.restatapi_env').
get_eurostat_data - restat NULL?:FALSE
id: htec_cis3
filters:
date filter:
test_restatapi.R.............. 17 tests OK
test_restatapi.R.............. 17 tests OK
test_restatapi.R.............. 21 tests OK
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/rail_tf_ns20_mk?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid3FALSE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_rail_tf_ns20_mk-2026.04.26-0' in '.restatapi_env').
get_eurostat_raw - API version:2
get_eurostat_toc - API version:2 - number of cores:2
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.
get_eurostat_raw - raws of TOC: 7648
get_eurostat_raw - txt bulk url from TOC:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/RAIL_TF_NS20_MK?format=tsv&compressed=true
get_eurostat_raw - txt bulk url from cfg:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/rail_tf_ns20_mk?format=TSV&compressed=true
get_eurostat_raw - data rowcount in TOC: 12
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid3TRUEFALSE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_rail_tf_ns20_mk-2023.02.02-0' in '.restatapi_env').
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: rail_tf_ns20_mk
get_eurostat_data - select_freq:
get_eurostat_data - Trying to get from cache: b_rail_tf_ns20_mk-2026.04.26-0-0
get_eurostat_cache - The 'b_rail_tf_ns20_mk-2026.04.26-0-0' was loaded from 'r_rail_tf_ns20_mk-2026.04.26-0' in '.restatapi_env'.
get_eurostat_data - The data was loaded from cache.
get_eurostat_data - cached restat - nrow:12; ncol:6; colnames:freq/net_seg20/train/unit/time/values
get_eurostat_data - restat - nrow:12; ncol:6; colnames:freq/net_seg20/train/unit/time/values
get_eurostat_data - processed restat - nrow:12; ncol:5; colnames:net_seg20/train/unit/time/values
get_eurostat_data - The data was cached in memory ('b_rail_tf_ns20_mk-2026.04.26-0-0' in '.restatapi_env').
get_eurostat_data - restat NULL?:FALSE
id: rail_tf_ns20_mk
filters:
date filter:
test_restatapi.R.............. 26 tests OK
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr?format=sdmx_2.1_structured&compressed=true
get_eurostat_raw - file 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
get_compressed_sdmx - format:gz
get_compressed_sdmx - xml NULL:FALSE
get_eurostat_raw - class(xml_leafs): xml_nodeset
get_eurostat_raw - number of nodes: 583
get_eurostat_raw - number of cores: 2
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid4xmlTRUETRUE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_agr_r_milkpr-2026.04.26-1' in '.restatapi_env').
test_restatapi.R.............. 26 tests OK get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_data - Trying to get from cache: b_agr_r_milkpr-2026.04.26-1-0
get_eurostat_cache - The 'b_agr_r_milkpr-2026.04.26-1-0' was loaded from 'r_agr_r_milkpr-2026.04.26-1' in '.restatapi_env'.
get_eurostat_data - The data was loaded from cache.
get_eurostat_data - cached restat - nrow:11870; ncol:7; colnames:geo/milkitem/freq/dairyprod/TIME_PERIOD/OBS_VALUE/OBS_FLAG
get_eurostat_data - restat - nrow:11870; ncol:7; colnames:geo/milkitem/freq/dairyprod/TIME_PERIOD/OBS_VALUE/OBS_FLAG
get_eurostat_data - processed restat - nrow:11599; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - The data was cached in memory ('b_agr_r_milkpr-2026.04.26-1-0' in '.restatapi_env').
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters:
date filter:
test_restatapi.R.............. 26 tests OK get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_data - date_filter: 2008
create_filter_table - filters class: numeric; size: 1; filters:2008
create_filter_table - filters: 2008; is numeric: TRUE; call parents: 7
create_filter_table - length df: 1 content df: 2008
create_filter_table - 2008 date filter length: 1, nchar date_filter: 4
get_eurostat_data - date_filter: 2008 nrow dft: 1
-?startPeriod=2008-01-01&endPeriod=2008-12-31
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2008-01-01&endPeriod=2008-12-31
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2008-01-01&endPeriod=2008-12-31'
downloaded 106 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 410
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:410; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:390; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters:
date filter: ?startPeriod=2008-01-01&endPeriod=2008-12-31
test_restatapi.R.............. 26 tests OK
test_restatapi.R.............. 27 tests OK
test_restatapi.R.............. 28 tests OK
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid5TRUE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_irt_h_eurcoe_d-2026.04.26-0' in '.restatapi_env').
test_restatapi.R.............. 28 tests OK
get_eurostat_bulk - API version:2
get_eurostat_bulk - class of id, cache, update_cache, cache_dir, compress_file, stringsAsFactors, keep_flags, check_toc, melt, verbose:
character - logical -logical - NULL - logical - logical - logical - logical - logical - logical
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: FALSE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: restatapi::get_eurostat_rawidtxtcacheupdate_cachecache_dircompress_filestringsAsFactorskeep_flagscheck_tocTRUEverbose
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_bulk - The bulk data was cached in memory ('b_irt_h_eurcoe_d-2026.04.26-1-0' in '.restatapi_env').
test_restatapi.R.............. 28 tests OK
get_eurostat_raw - API version:2
get_eurostat_toc - API version:2 - number of cores:2
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.
get_eurostat_raw - raws of TOC: 7648
get_eurostat_raw - txt bulk url from TOC:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/IRT_H_EURCOE_D?format=tsv&compressed=true
get_eurostat_raw - txt bulk url from cfg:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=sdmx_2.1_structured&compressed=true
get_eurostat_raw - data rowcount in TOC: 29862
get_eurostat_raw - file format: gz
get_compressed_sdmx - url:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=sdmx_2.1_structured&compressed=true
get_compressed_sdmx - format:gz
get_compressed_sdmx - xml NULL:FALSE
get_eurostat_raw - class(xml_leafs): xml_nodeset
get_eurostat_raw - number of nodes: 18
get_eurostat_raw - number of cores: 2
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid5xmlTRUETRUETRUETRUEFALSE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_irt_h_eurcoe_d-2009.03.27-1' in '.restatapi_env').
test_restatapi.R.............. 28 tests OK
get_eurostat_bulk - API version:2
get_eurostat_cache - The 'b_irt_h_eurcoe_d-2026.04.26-1-0' was loaded from 'b_irt_h_eurcoe_d-2026.04.26-1-0' in '.restatapi_env'.
get_eurostat_bulk - The bulk data was cached previously in memory ('b_irt_h_eurcoe_d-2026.04.26-1-0' in '.restatapi_env'). It remained unchanged.
test_restatapi.R.............. 28 tests OK
test_restatapi.R.............. 29 tests OK
test_restatapi.R.............. 31 tests OK trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children'
downloaded 2.9 MB
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/agr_r_milkpr'
downloaded 15 KB
test_restatapi.R.............. 32 tests OK
test_restatapi.R.............. 33 tests OK
test_restatapi.R.............. 34 tests OK
test_restatapi.R.............. 35 tests OK
test_restatapi.R.............. 38 tests OK trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/avia_par_me?references=children'
downloaded 11.5 MB
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/avia_par_me/?startPeriod=2017-03-01&endPeriod=2017-03-31'
downloaded 58 KB
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/avia_par_me?references=children'
downloaded 18.2 MB
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/avia_par_me'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 7996 bytes
==================================================
downloaded 7996 bytes
test_restatapi.R.............. 39 tests OK
test_restatapi.R.............. 40 tests 1 fails
test_restatapi.R.............. 40 tests 1 fails
test_restatapi.R.............. 41 tests 1 fails
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
test_restatapi.R.............. 41 tests 1 fails get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
create_filter_table - filters class: character; size: 1; filters:AT
...AT-
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT/
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT/'
Content type 'application/vnd.sdmx.genericdata+xml;version=2.1' length 3279 bytes
==================================================
downloaded 3279 bytes
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 1
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:29; ncol:6; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue
get_eurostat_data - processed restat - nrow:29; ncol:5; colnames:geo/milkitem/dairyprod/time/values
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...AT
date filter:
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
create_filter_table - filters class: character; size: 1; filters:AT
...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34-
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34/
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34/'
downloaded 31 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 13
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:377; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:377; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34
date filter:
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_data - date_filter: 2016
create_filter_table - filters class: numeric; size: 1; filters:2016
create_filter_table - filters: 2016; is numeric: TRUE; call parents: 8
create_filter_table - length df: 1 content df: 2016
create_filter_table - 2016 date filter length: 1, nchar date_filter: 4
get_eurostat_data - date_filter: 2016 nrow dft: 1
-?startPeriod=2016-01-01&endPeriod=2016-12-31
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31'
downloaded 137 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 508
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:508; ncol:6; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue
get_eurostat_data - processed restat - nrow:494; ncol:5; colnames:geo/milkitem/dairyprod/time/values
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters:
date filter: ?startPeriod=2016-01-01&endPeriod=2016-12-31
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_data - date_filter: 2016
create_filter_table - filters class: character; size: 1; filters:2016
create_filter_table - filters: 2016; is numeric: FALSE; call parents: 8
create_filter_table - length df: 1 content df: 2016
create_filter_table - 2016 date filter length: 1, nchar date_filter: 4
get_eurostat_data - date_filter: 2016 nrow dft: 1
-?startPeriod=2016-01-01&endPeriod=2016-12-31
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31'
downloaded 137 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 508
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:508; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:494; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters:
date filter: ?startPeriod=2016-01-01&endPeriod=2016-12-31
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
create_filter_table - filters class: character; size: 1; filters:AT
...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34+EL11+EL3+EL30+EL51+ES51+ES52+HR+HR02+HR03+HR04+HR06+HR01+ITF5+LV+LV0+LV00+HU22+RO4+SK01+NO01+NO03+NO04+NO05+UKD3+UKK1+TR2+TR5+TR63+TR72+TR8+TR83+TRB1+TRC3-
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34+EL11+EL3+EL30+EL51+ES51+ES52+HR+HR02+HR03+HR04+HR06+HR01+ITF5+LV+LV0+LV00+HU22+RO4+SK01+NO01+NO03+NO04+NO05+UKD3+UKK1+TR2+TR5+TR63+TR72+TR8+TR83+TRB1+TRC3/
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34+EL11+EL3+EL30+EL51+ES51+ES52+HR+HR02+HR03+HR04+HR06+HR01+ITF5+LV+LV0+LV00+HU22+RO4+SK01+NO01+NO03+NO04+NO05+UKD3+UKK1+TR2+TR5+TR63+TR72+TR8+TR83+TRB1+TRC3/'
downloaded 83 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 46
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:1004; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:993; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34+EL11+EL3+EL30+EL51+ES51+ES52+HR+HR02+HR03+HR04+HR06+HR01+ITF5+LV+LV0+LV00+HU22+RO4+SK01+NO01+NO03+NO04+NO05+UKD3+UKK1+TR2+TR5+TR63+TR72+TR8+TR83+TRB1+TRC3
date filter:
test_restatapi.R.............. 45 tests 1 fails
get_eurostat_dsd - API version:2
get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/avia_par_me?references=children
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/avia_par_me?references=children'
downloaded 18.2 MB
get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 19040620 - temp: /Volumes/Temp/tmp/RtmpG9MToV/file5f9410bf53a0
Trying to extract the DSD from: /Volumes/Temp/tmp/RtmpG9MToV/file5f9410bf53a0
get_eurostat_dsd - concepts:freq,unit,tra_meas,airp_pr,OBS_FLAG,CONF_STATUS
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="FREQ"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="FREQ"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="UNIT"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="UNIT"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="TRA_MEAS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="TRA_MEAS"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="AIRP_PR"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="AIRP_PR"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="OBS_FLAG"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="OBS_FLAG"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="CONF_STATUS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="CONF_STATUS"]/s:Code/c:Name[@xml:lang="de"]
get_eurostat_dsd - DSD NULL:FALSE
get_eurostat_dsd - Trying to download the CC from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/avia_par_me
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/avia_par_me'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 7996 bytes
==================================================
downloaded 7996 bytes
get_eurostat_dsd - Trying to extract the CC from: /Volumes/Temp/tmp/RtmpG9MToV/file5f9410b35f7
character
number of nodes: 5
number of cores: 2
get_eurostat_dsd - The DSD of the avia_par_me dataset was cached in memory ('avia_par_me.de.dsd' in '.restatapi_env').
test_restatapi.R.............. 45 tests 1 fails
test_restatapi.R.............. 45 tests 1 fails
test_restatapi.R.............. 45 tests 1 fails
test_restatapi.R.............. 47 tests 1 fails
test_restatapi.R.............. 49 tests 1 fails
test_restatapi.R.............. 50 tests 1 fails
test_restatapi.R.............. 51 tests 1 fails
test_restatapi.R.............. 52 tests 1 fails
test_restatapi.R.............. 54 tests 1 fails
test_restatapi.R.............. 55 tests 1 fails
test_restatapi.R.............. 59 tests 1 fails
test_restatapi.R.............. 61 tests 1 fails
test_restatapi.R.............. 63 tests 1 fails
test_restatapi.R.............. 64 tests 1 fails
test_restatapi.R.............. 65 tests 1 fails
test_restatapi.R.............. 66 tests 1 fails
test_restatapi.R.............. 67 tests 1 fails
test_restatapi.R.............. 68 tests 1 fails
test_restatapi.R.............. 69 tests 1 fails
test_restatapi.R.............. 70 tests 1 fails
test_restatapi.R.............. 71 tests 1 fails
test_restatapi.R.............. 72 tests 1 fails
test_restatapi.R.............. 73 tests 1 fails
test_restatapi.R.............. 74 tests 1 fails
test_restatapi.R.............. 75 tests 1 fails
test_restatapi.R.............. 76 tests 1 fails
test_restatapi.R.............. 77 tests 1 fails
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/tus_00age?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid7
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_tus_00age-2026.04.26-0' in '.restatapi_env').
test_restatapi.R.............. 77 tests 1 fails
get_eurostat_dsd - API version:2
get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/tus_00age?references=children
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/tus_00age?references=children'
downloaded 3.7 MB
get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 3901770 - temp: /Volumes/Temp/tmp/RtmpG9MToV/file5f941264e97f
Trying to extract the DSD from: /Volumes/Temp/tmp/RtmpG9MToV/file5f941264e97f
get_eurostat_dsd - concepts:freq,unit,sex,age,acl00,geo,OBS_FLAG,CONF_STATUS
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="FREQ"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="FREQ"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="UNIT"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="UNIT"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="SEX"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="SEX"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="AGE"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="AGE"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="ACL00"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="ACL00"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="OBS_FLAG"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="OBS_FLAG"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="GEO"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="GEO"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="CONF_STATUS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="CONF_STATUS"]/s:Code/c:Name[@xml:lang="en"]
get_eurostat_dsd - DSD NULL:FALSE
get_eurostat_dsd - Trying to download the CC from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/tus_00age
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/tus_00age'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 3844 bytes
==================================================
downloaded 3844 bytes
get_eurostat_dsd - Trying to extract the CC from: /Volumes/Temp/tmp/RtmpG9MToV/file5f941f1d9a48
character
number of nodes: 7
number of cores: 2
get_eurostat_dsd - The DSD of the tus_00age dataset was cached in memory ('tus_00age.en.dsd' in '.restatapi_env').
test_restatapi.R.............. 77 tests 1 fails create_filter_table - filters class: character; size: 3; filters:TIME_SPHungaryT
test_restatapi.R.............. 78 tests 1 fails
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/avia_par_me?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid6
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_avia_par_me-2026.04.26-0' in '.restatapi_env').
test_restatapi.R.............. 78 tests 1 fails create_filter_table - filters class: character; size: 1; filters:2017:2018
create_filter_table - filters: 2017:2018; is numeric: FALSE; call parents: 6
create_filter_table - length df: 1 content df: 2017:2018
create_filter_table - 2017:2018 date filter length: 1, nchar date_filter: 9
test_restatapi.R.............. 79 tests 1 fails
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/SEX
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/codelist/ESTAT/SEX'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 5483 bytes
==================================================
downloaded 5483 bytes
Trying to extract the codelist from: /Volumes/Temp/tmp/RtmpG9MToV/file5f947c1a54e2
get_eurostat_codelist - codelist NULL:TRUE
test_restatapi.R.............. 79 tests 1 fails
test_restatapi.R.............. 81 tests 1 fails
24.6.0
test_restatapi.R.............. 81 tests 1 fails
Are we at home:FALSE
test_restatapi.R.............. 81 tests 1 fails
test_restatapi.R.............. 81 tests 1 fails
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=fr
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=fr'
downloaded 2.1 MB
get_eurostat_toc - The TOC was cached in memory ('toc.txt.fr' in '.restatapi_env').
test_restatapi.R.............. 81 tests 1 fails
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=de
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=de'
downloaded 2.0 MB
get_eurostat_toc - The TOC was cached in memory ('toc.txt.de' in '.restatapi_env').
test_restatapi.R.............. 81 tests 1 fails
test_restatapi.R.............. 82 tests 1 fails get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_dsd - API version:2
get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children'
downloaded 2.9 MB
get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 3008178 - temp: /Volumes/Temp/tmp/RtmpG9MToV/file5f942eada077
Trying to extract the DSD from: /Volumes/Temp/tmp/RtmpG9MToV/file5f942eada077
get_eurostat_dsd - concepts:freq,milkitem,dairyprod,geo,OBS_FLAG,CONF_STATUS
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="FREQ"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="FREQ"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="MILKITEM"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="MILKITEM"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="DAIRYPROD"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="DAIRYPROD"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="GEO"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="GEO"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="OBS_FLAG"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="OBS_FLAG"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="CONF_STATUS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="CONF_STATUS"]/s:Code/c:Name[@xml:lang="de"]
get_eurostat_dsd - DSD NULL:FALSE
get_eurostat_dsd - Trying to download the CC from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/agr_r_milkpr
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/agr_r_milkpr'
downloaded 15 KB
get_eurostat_dsd - Trying to extract the CC from: /Volumes/Temp/tmp/RtmpG9MToV/file5f94901fc92
character
number of nodes: 5
number of cores: 2
get_eurostat_dsd - The DSD of the agr_r_milkpr dataset was cached in memory ('agr_r_milkpr.de.dsd' in '.restatapi_env').
create_filter_table - filters class: character; size: 2; filters:BE$Ungarn
get_eurostat_data - date_filter: 2007-06<
create_filter_table - filters class: character; size: 1; filters:2007-06<
create_filter_table - filters: 2007-06<; is numeric: FALSE; call parents: 7
create_filter_table - length df: 1 content df: 2007-06<
create_filter_table - 2007-06< date filter length: 1, nchar date_filter: 8
get_eurostat_data - date_filter: 2007-06< nrow dft: 1
...BE+HU-?startPeriod=2007-06-01
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...BE+HU/?startPeriod=2007-06-01
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...BE+HU/?startPeriod=2007-06-01'
Content type 'application/vnd.sdmx.genericdata+xml;version=2.1' length 3959 bytes
==================================================
downloaded 3959 bytes
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 2
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:34; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:34; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...BE+HU
date filter: ?startPeriod=2007-06-01
test_restatapi.R.............. 82 tests 1 fails get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
create_filter_table - filters class: character; size: 2; filters:BE$Hungary
get_eurostat_data - date_filter: 2007-06<
create_filter_table - filters class: character; size: 1; filters:2007-06<
create_filter_table - filters: 2007-06<; is numeric: FALSE; call parents: 7
create_filter_table - length df: 1 content df: 2007-06<
create_filter_table - 2007-06< date filter length: 1, nchar date_filter: 8
get_eurostat_data - date_filter: 2007-06< nrow dft: 1
...BE+HU-?startPeriod=2007-06-01
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...BE+HU/?startPeriod=2007-06-01
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...BE+HU/?startPeriod=2007-06-01'
Content type 'application/vnd.sdmx.genericdata+xml;version=2.1' length 3959 bytes
==================================================
downloaded 3959 bytes
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 2
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:34; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:34; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...BE+HU
date filter: ?startPeriod=2007-06-01
test_restatapi.R.............. 82 tests 1 fails
test_restatapi.R.............. 83 tests 1 fails
clean_restatapi_cache - All objects (outside of 'cfg', 'rav', 'cc' and 'dmethod') are removed from '.restatapi_env'.
clean_restatapi_cache - Deleted all .rds files from /Volumes/Temp/tmp/RtmpG9MToV
test_restatapi.R.............. 83 tests 1 fails
There are skipped tests:27-29
test_restatapi.R.............. 83 tests 1 fails
Skipped tests: 27-29
config version: 2
test_restatapi.R.............. 83 tests 1 fails
test_restatapi.R.............. 83 tests 1 fails 6.2s
----- FAILED[data]: test_restatapi.R<169--169>
call| expect_true(is.null(dt8))
diff| Expected TRUE, got FALSE
Error: 1 out of 83 tests failed
Execution halted
Flavor: r-release-macos-arm64
Version: 0.25.0
Check: tests
Result: ERROR
Running ‘tinytest.R’ [44s/430s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
> if ( requireNamespace("tinytest", quietly=TRUE) ){
+ home <- length(unclass(packageVersion("restatapi"))[[1]]) == 4
+ tinytest::test_package("restatapi", at_home = home)
+ }
restatapi: - version 0.25.0
- config file with the API version 2 loaded from GitHub (the 'current' API version number is 2).
- 2 from the 6 cores are used for parallel computing, can be changed with 'options(restatapi_cores=...)'
- 'auto' method will be used for file download, can be changed with 'options(restatapi_dmethod=...)'
- the Table of contents (TOC) was not pre-loaded into the deafult cache ('.restatapi_env').
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
clean_restatapi_cache - All objects (outside of 'cfg', 'rav', 'cc' and 'dmethod') are removed from '.restatapi_env'.
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 0 tests
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/xml
get_eurostat_toc - class(xml_leafs): xml_nodeset
get_eurostat_toc - number of nodes: 10420
get_eurostat_toc - number of cores: 2
get_eurostat_toc - dim toc: 10420,22
get_eurostat_toc - colnames toc: title.en,title.fr,title.de,code,lastUpdate,lastModified,dataStart,dataEnd,values,source.en,source.fr,source.de,unit.en,unit.fr,unit.de,shortDescription.en,shortDescription.fr,shortDescription.de,metadata.html,metadata.sdmx,downloadLink.tsv,type
get_eurostat_toc - cols to keep: title.en,code,type,lastUpdate,lastModified,dataStart,dataEnd,values,unit.en,source.en,shortDescription.en,metadata.html,metadata.sdmx,downloadLink.tsv
get_eurostat_toc - The TOC was cached in memory ('toc.xml.en' in '.restatapi_env').
test_restatapi.R.............. 0 tests
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=en
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=en'
downloaded 1.9 MB
get_eurostat_toc - The TOC was cached in memory ('toc.txt.en' in '.restatapi_env').
test_restatapi.R.............. 0 tests
get_eurostat_toc - API version:2 - number of cores:2
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.
test_restatapi.R.............. 0 tests
test_restatapi.R.............. 1 tests OK
test_restatapi.R.............. 7 tests OK
get_eurostat_toc - API version:2 - number of cores:2
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.
test_restatapi.R.............. 7 tests OK
get_eurostat_toc - API version:2 - number of cores:2
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.
test_restatapi.R.............. 7 tests OK
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/xml
get_eurostat_toc - class(xml_leafs): xml_nodeset
get_eurostat_toc - number of nodes: 10420
get_eurostat_toc - number of cores: 2
get_eurostat_toc - dim toc: 10420,22
get_eurostat_toc - colnames toc: title.en,title.fr,title.de,code,lastUpdate,lastModified,dataStart,dataEnd,values,source.en,source.fr,source.de,unit.en,unit.fr,unit.de,shortDescription.en,shortDescription.fr,shortDescription.de,metadata.html,metadata.sdmx,downloadLink.tsv,type
get_eurostat_toc - cols to keep: title.de,code,type,lastUpdate,lastModified,dataStart,dataEnd,values,unit.de,source.de,shortDescription.de,metadata.html,metadata.sdmx,downloadLink.tsv
get_eurostat_toc - The TOC was cached in memory ('toc.xml.de' in '.restatapi_env').
test_restatapi.R.............. 7 tests OK
test_restatapi.R.............. 8 tests OK
test_restatapi.R.............. 9 tests OK trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/text?references=children'
test_restatapi.R.............. 10 tests OK
get_eurostat_dsd - API version:2
get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/NAMA_10_GDP?references=children
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/NAMA_10_GDP?references=children'
downloaded 3.4 MB
get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 3578727 - temp: /Volumes/Temp/tmp/Rtmpy6p5dY/file61e4fb39bfd
Trying to extract the DSD from: /Volumes/Temp/tmp/Rtmpy6p5dY/file61e4fb39bfd
get_eurostat_dsd - concepts:freq,unit,na_item,geo,OBS_FLAG,CONF_STATUS
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="FREQ"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="FREQ"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="UNIT"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="UNIT"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="NA_ITEM"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="NA_ITEM"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="GEO"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="GEO"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="OBS_FLAG"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="OBS_FLAG"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="CONF_STATUS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="CONF_STATUS"]/s:Code/c:Name[@xml:lang="en"]
get_eurostat_dsd - DSD NULL:FALSE
get_eurostat_dsd - Trying to download the CC from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/NAMA_10_GDP
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/NAMA_10_GDP'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 5618 bytes
==================================================
downloaded 5618 bytes
get_eurostat_dsd - Trying to extract the CC from: /Volumes/Temp/tmp/Rtmpy6p5dY/file61e458c60718
character
number of nodes: 5
number of cores: 2
get_eurostat_dsd - The DSD of the NAMA_10_GDP dataset was cached in memory ('NAMA_10_GDP.en.dsd' in '.restatapi_env').
test_restatapi.R.............. 10 tests OK
test_restatapi.R.............. 13 tests OK
test_restatapi.R.............. 13 tests OK
test_restatapi.R.............. 13 tests OK
test_restatapi.R.............. 17 tests OK get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: htec_cis3
get_eurostat_data - select_freq:
get_eurostat_data - Trying to get from cache: b_htec_cis3-2026.04.26-1-1
get_eurostat_bulk - API version:2
get_eurostat_bulk - class of id, cache, update_cache, cache_dir, compress_file, stringsAsFactors, keep_flags, check_toc, melt, verbose:
character - logical -logical - NULL - logical - logical - logical - logical - logical - logical
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/htec_cis3?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: FALSE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: restatapi::get_eurostat_rawidtxtcacheupdate_cachecache_dircompress_filestringsAsFactorskeep_flagscheck_tocTRUEverbose
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_data - The data was downloaded with bulk download.
get_eurostat_data - bulk restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - cflags:TRUE
get_eurostat_data - restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - processed restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - The data was cached in memory ('b_htec_cis3-2026.04.26-1-1' in '.restatapi_env').
get_eurostat_data - restat NULL?:FALSE
id: htec_cis3
filters:
date filter:
test_restatapi.R.............. 17 tests OK
test_restatapi.R.............. 17 tests OK get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: htec_cis3
get_eurostat_data - select_freq:
get_eurostat_data - Trying to get from cache: b_htec_cis3-2026.04.26-0-0
get_eurostat_cache - The 'b_htec_cis3-2026.04.26-0-0' was loaded from 'b_htec_cis3-2026.04.26-1-1' in '.restatapi_env'.
get_eurostat_data - The data was loaded from cache.
get_eurostat_data - cached restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - restat - nrow:1006; ncol:7; colnames:indic_in/nace_r1/unit/geo/time/values/flags
get_eurostat_data - processed restat - nrow:1006; ncol:6; colnames:indic_in/nace_r1/unit/geo/time/values
get_eurostat_data - The data was cached in memory ('b_htec_cis3-2026.04.26-0-0' in '.restatapi_env').
get_eurostat_data - restat NULL?:FALSE
id: htec_cis3
filters:
date filter:
test_restatapi.R.............. 17 tests OK
test_restatapi.R.............. 17 tests OK
test_restatapi.R.............. 21 tests OK
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/rail_tf_ns20_mk?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid3FALSE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_rail_tf_ns20_mk-2026.04.26-0' in '.restatapi_env').
get_eurostat_raw - API version:2
get_eurostat_toc - API version:2 - number of cores:2
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.
get_eurostat_raw - raws of TOC: 7648
get_eurostat_raw - txt bulk url from TOC:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/RAIL_TF_NS20_MK?format=tsv&compressed=true
get_eurostat_raw - txt bulk url from cfg:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/rail_tf_ns20_mk?format=TSV&compressed=true
get_eurostat_raw - data rowcount in TOC: 12
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid3TRUEFALSE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_rail_tf_ns20_mk-2023.02.02-0' in '.restatapi_env').
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: rail_tf_ns20_mk
get_eurostat_data - select_freq:
get_eurostat_data - Trying to get from cache: b_rail_tf_ns20_mk-2026.04.26-0-0
get_eurostat_cache - The 'b_rail_tf_ns20_mk-2026.04.26-0-0' was loaded from 'r_rail_tf_ns20_mk-2026.04.26-0' in '.restatapi_env'.
get_eurostat_data - The data was loaded from cache.
get_eurostat_data - cached restat - nrow:12; ncol:6; colnames:freq/net_seg20/train/unit/time/values
get_eurostat_data - restat - nrow:12; ncol:6; colnames:freq/net_seg20/train/unit/time/values
get_eurostat_data - processed restat - nrow:12; ncol:5; colnames:net_seg20/train/unit/time/values
get_eurostat_data - The data was cached in memory ('b_rail_tf_ns20_mk-2026.04.26-0-0' in '.restatapi_env').
get_eurostat_data - restat NULL?:FALSE
id: rail_tf_ns20_mk
filters:
date filter:
test_restatapi.R.............. 26 tests OK
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr?format=sdmx_2.1_structured&compressed=true
get_eurostat_raw - file 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
get_compressed_sdmx - format:gz
get_compressed_sdmx - xml NULL:FALSE
get_eurostat_raw - class(xml_leafs): xml_nodeset
get_eurostat_raw - number of nodes: 583
get_eurostat_raw - number of cores: 2
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid4xmlTRUETRUE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_agr_r_milkpr-2026.04.26-1' in '.restatapi_env').
test_restatapi.R.............. 26 tests OK get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_data - Trying to get from cache: b_agr_r_milkpr-2026.04.26-1-0
get_eurostat_cache - The 'b_agr_r_milkpr-2026.04.26-1-0' was loaded from 'r_agr_r_milkpr-2026.04.26-1' in '.restatapi_env'.
get_eurostat_data - The data was loaded from cache.
get_eurostat_data - cached restat - nrow:11870; ncol:7; colnames:geo/milkitem/freq/dairyprod/TIME_PERIOD/OBS_VALUE/OBS_FLAG
get_eurostat_data - restat - nrow:11870; ncol:7; colnames:geo/milkitem/freq/dairyprod/TIME_PERIOD/OBS_VALUE/OBS_FLAG
get_eurostat_data - processed restat - nrow:11599; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - The data was cached in memory ('b_agr_r_milkpr-2026.04.26-1-0' in '.restatapi_env').
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters:
date filter:
test_restatapi.R.............. 26 tests OK get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_data - date_filter: 2008
create_filter_table - filters class: numeric; size: 1; filters:2008
create_filter_table - filters: 2008; is numeric: TRUE; call parents: 7
create_filter_table - length df: 1 content df: 2008
create_filter_table - 2008 date filter length: 1, nchar date_filter: 4
get_eurostat_data - date_filter: 2008 nrow dft: 1
-?startPeriod=2008-01-01&endPeriod=2008-12-31
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2008-01-01&endPeriod=2008-12-31
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2008-01-01&endPeriod=2008-12-31'
downloaded 106 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 410
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:410; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:390; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters:
date filter: ?startPeriod=2008-01-01&endPeriod=2008-12-31
test_restatapi.R.............. 26 tests OK
test_restatapi.R.............. 27 tests OK
test_restatapi.R.............. 28 tests OK
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid5TRUE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_irt_h_eurcoe_d-2026.04.26-0' in '.restatapi_env').
test_restatapi.R.............. 28 tests OK
get_eurostat_bulk - API version:2
get_eurostat_bulk - class of id, cache, update_cache, cache_dir, compress_file, stringsAsFactors, keep_flags, check_toc, melt, verbose:
character - logical -logical - NULL - logical - logical - logical - logical - logical - logical
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: FALSE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: restatapi::get_eurostat_rawidtxtcacheupdate_cachecache_dircompress_filestringsAsFactorskeep_flagscheck_tocTRUEverbose
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_bulk - The bulk data was cached in memory ('b_irt_h_eurcoe_d-2026.04.26-1-0' in '.restatapi_env').
test_restatapi.R.............. 28 tests OK
get_eurostat_raw - API version:2
get_eurostat_toc - API version:2 - number of cores:2
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.
get_eurostat_raw - raws of TOC: 7648
get_eurostat_raw - txt bulk url from TOC:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/IRT_H_EURCOE_D?format=tsv&compressed=true
get_eurostat_raw - txt bulk url from cfg:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=sdmx_2.1_structured&compressed=true
get_eurostat_raw - data rowcount in TOC: 29862
get_eurostat_raw - file format: gz
get_compressed_sdmx - url:https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/irt_h_eurcoe_d?format=sdmx_2.1_structured&compressed=true
get_compressed_sdmx - format:gz
get_compressed_sdmx - xml NULL:FALSE
get_eurostat_raw - class(xml_leafs): xml_nodeset
get_eurostat_raw - number of nodes: 18
get_eurostat_raw - number of cores: 2
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid5xmlTRUETRUETRUETRUEFALSE
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_irt_h_eurcoe_d-2009.03.27-1' in '.restatapi_env').
test_restatapi.R.............. 28 tests OK
get_eurostat_bulk - API version:2
get_eurostat_cache - The 'b_irt_h_eurcoe_d-2026.04.26-1-0' was loaded from 'b_irt_h_eurcoe_d-2026.04.26-1-0' in '.restatapi_env'.
get_eurostat_bulk - The bulk data was cached previously in memory ('b_irt_h_eurcoe_d-2026.04.26-1-0' in '.restatapi_env'). It remained unchanged.
test_restatapi.R.............. 28 tests OK
test_restatapi.R.............. 29 tests OK
test_restatapi.R.............. 31 tests OK trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children'
downloaded 2.9 MB
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/agr_r_milkpr'
downloaded 15 KB
test_restatapi.R.............. 32 tests OK
test_restatapi.R.............. 33 tests OK
test_restatapi.R.............. 34 tests OK
test_restatapi.R.............. 35 tests OK
test_restatapi.R.............. 38 tests OK trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/avia_par_me?references=children'
downloaded 15.0 MB
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/avia_par_me/?startPeriod=2017-03-01&endPeriod=2017-03-31'
downloaded 58 KB
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/avia_par_me?references=children'
downloaded 18.2 MB
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/avia_par_me'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 7996 bytes
==================================================
downloaded 7996 bytes
test_restatapi.R.............. 39 tests OK
test_restatapi.R.............. 40 tests 1 fails
test_restatapi.R.............. 40 tests 1 fails
test_restatapi.R.............. 41 tests 1 fails
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
test_restatapi.R.............. 41 tests 1 fails get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
create_filter_table - filters class: character; size: 1; filters:AT
...AT-
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT/
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT/'
Content type 'application/vnd.sdmx.genericdata+xml;version=2.1' length 3279 bytes
==================================================
downloaded 3279 bytes
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 1
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:29; ncol:6; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue
get_eurostat_data - processed restat - nrow:29; ncol:5; colnames:geo/milkitem/dairyprod/time/values
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...AT
date filter:
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
create_filter_table - filters class: character; size: 1; filters:AT
...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34-
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34/
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34/'
downloaded 31 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 13
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:377; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:377; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34
date filter:
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_data - date_filter: 2016
create_filter_table - filters class: numeric; size: 1; filters:2016
create_filter_table - filters: 2016; is numeric: TRUE; call parents: 8
create_filter_table - length df: 1 content df: 2016
create_filter_table - 2016 date filter length: 1, nchar date_filter: 4
get_eurostat_data - date_filter: 2016 nrow dft: 1
-?startPeriod=2016-01-01&endPeriod=2016-12-31
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31'
downloaded 137 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 508
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:508; ncol:6; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue
get_eurostat_data - processed restat - nrow:494; ncol:5; colnames:geo/milkitem/dairyprod/time/values
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters:
date filter: ?startPeriod=2016-01-01&endPeriod=2016-12-31
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_data - date_filter: 2016
create_filter_table - filters class: character; size: 1; filters:2016
create_filter_table - filters: 2016; is numeric: FALSE; call parents: 8
create_filter_table - length df: 1 content df: 2016
create_filter_table - 2016 date filter length: 1, nchar date_filter: 4
get_eurostat_data - date_filter: 2016 nrow dft: 1
-?startPeriod=2016-01-01&endPeriod=2016-12-31
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/?startPeriod=2016-01-01&endPeriod=2016-12-31'
downloaded 137 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 508
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:508; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:494; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters:
date filter: ?startPeriod=2016-01-01&endPeriod=2016-12-31
get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
create_filter_table - filters class: character; size: 1; filters:AT
...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34+EL11+EL3+EL30+EL51+ES51+ES52+HR+HR02+HR03+HR04+HR06+HR01+ITF5+LV+LV0+LV00+HU22+RO4+SK01+NO01+NO03+NO04+NO05+UKD3+UKK1+TR2+TR5+TR63+TR72+TR8+TR83+TRB1+TRC3-
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34+EL11+EL3+EL30+EL51+ES51+ES52+HR+HR02+HR03+HR04+HR06+HR01+ITF5+LV+LV0+LV00+HU22+RO4+SK01+NO01+NO03+NO04+NO05+UKD3+UKK1+TR2+TR5+TR63+TR72+TR8+TR83+TRB1+TRC3/
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34+EL11+EL3+EL30+EL51+ES51+ES52+HR+HR02+HR03+HR04+HR06+HR01+ITF5+LV+LV0+LV00+HU22+RO4+SK01+NO01+NO03+NO04+NO05+UKD3+UKK1+TR2+TR5+TR63+TR72+TR8+TR83+TRB1+TRC3/'
downloaded 83 KB
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 46
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:1004; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:993; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...AT+AT1+AT11+AT12+AT13+AT2+AT21+AT22+AT3+AT31+AT32+AT33+AT34+EL11+EL3+EL30+EL51+ES51+ES52+HR+HR02+HR03+HR04+HR06+HR01+ITF5+LV+LV0+LV00+HU22+RO4+SK01+NO01+NO03+NO04+NO05+UKD3+UKK1+TR2+TR5+TR63+TR72+TR8+TR83+TRB1+TRC3
date filter:
test_restatapi.R.............. 45 tests 1 fails
get_eurostat_dsd - API version:2
get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/avia_par_me?references=children
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/avia_par_me?references=children'
downloaded 18.2 MB
get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 19040620 - temp: /Volumes/Temp/tmp/Rtmpy6p5dY/file61e429428396
Trying to extract the DSD from: /Volumes/Temp/tmp/Rtmpy6p5dY/file61e429428396
get_eurostat_dsd - concepts:freq,unit,tra_meas,airp_pr,OBS_FLAG,CONF_STATUS
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="FREQ"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="FREQ"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="UNIT"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="UNIT"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="TRA_MEAS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="TRA_MEAS"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="AIRP_PR"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="AIRP_PR"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="OBS_FLAG"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="OBS_FLAG"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="CONF_STATUS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="CONF_STATUS"]/s:Code/c:Name[@xml:lang="de"]
get_eurostat_dsd - DSD NULL:FALSE
get_eurostat_dsd - Trying to download the CC from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/avia_par_me
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/avia_par_me'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 7996 bytes
==================================================
downloaded 7996 bytes
get_eurostat_dsd - Trying to extract the CC from: /Volumes/Temp/tmp/Rtmpy6p5dY/file61e44dcd0203
character
number of nodes: 5
number of cores: 2
get_eurostat_dsd - The DSD of the avia_par_me dataset was cached in memory ('avia_par_me.de.dsd' in '.restatapi_env').
test_restatapi.R.............. 45 tests 1 fails
test_restatapi.R.............. 45 tests 1 fails
test_restatapi.R.............. 45 tests 1 fails
test_restatapi.R.............. 47 tests 1 fails
test_restatapi.R.............. 49 tests 1 fails
test_restatapi.R.............. 50 tests 1 fails
test_restatapi.R.............. 51 tests 1 fails
test_restatapi.R.............. 52 tests 1 fails
test_restatapi.R.............. 54 tests 1 fails
test_restatapi.R.............. 55 tests 1 fails
test_restatapi.R.............. 59 tests 1 fails
test_restatapi.R.............. 61 tests 1 fails
test_restatapi.R.............. 63 tests 1 fails
test_restatapi.R.............. 64 tests 1 fails
test_restatapi.R.............. 65 tests 1 fails
test_restatapi.R.............. 66 tests 1 fails
test_restatapi.R.............. 67 tests 1 fails
test_restatapi.R.............. 68 tests 1 fails
test_restatapi.R.............. 69 tests 1 fails
test_restatapi.R.............. 70 tests 1 fails
test_restatapi.R.............. 71 tests 1 fails
test_restatapi.R.............. 72 tests 1 fails
test_restatapi.R.............. 73 tests 1 fails
test_restatapi.R.............. 74 tests 1 fails
test_restatapi.R.............. 75 tests 1 fails
test_restatapi.R.............. 76 tests 1 fails
test_restatapi.R.............. 77 tests 1 fails
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/tus_00age?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid7
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_tus_00age-2026.04.26-0' in '.restatapi_env').
test_restatapi.R.............. 77 tests 1 fails
get_eurostat_dsd - API version:2
get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/tus_00age?references=children
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/tus_00age?references=children'
downloaded 3.7 MB
get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 3901770 - temp: /Volumes/Temp/tmp/Rtmpy6p5dY/file61e4193169a6
Trying to extract the DSD from: /Volumes/Temp/tmp/Rtmpy6p5dY/file61e4193169a6
get_eurostat_dsd - concepts:freq,unit,sex,age,acl00,geo,OBS_FLAG,CONF_STATUS
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="FREQ"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="FREQ"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="UNIT"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="UNIT"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="SEX"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="SEX"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="AGE"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="AGE"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="ACL00"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="ACL00"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="OBS_FLAG"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="OBS_FLAG"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="GEO"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="GEO"]/s:Code/c:Name[@xml:lang="en"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="CONF_STATUS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="CONF_STATUS"]/s:Code/c:Name[@xml:lang="en"]
get_eurostat_dsd - DSD NULL:FALSE
get_eurostat_dsd - Trying to download the CC from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/tus_00age
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/tus_00age'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 3844 bytes
==================================================
downloaded 3844 bytes
get_eurostat_dsd - Trying to extract the CC from: /Volumes/Temp/tmp/Rtmpy6p5dY/file61e47b0f1e35
character
number of nodes: 7
number of cores: 2
get_eurostat_dsd - The DSD of the tus_00age dataset was cached in memory ('tus_00age.en.dsd' in '.restatapi_env').
test_restatapi.R.............. 77 tests 1 fails create_filter_table - filters class: character; size: 3; filters:TIME_SPHungaryT
test_restatapi.R.............. 78 tests 1 fails
get_eurostat_raw - API version:2
get_eurostat_raw - bulk url: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/avia_par_me?format=TSV&compressed=true
get_eurostat_raw - class(raw): data.tabledata.frame
get_eurostat_raw - caching in raw: TRUE
get_eurostat_raw - local filter: FALSE
get_eurostat_raw - called from: get_eurostat_rawtestid6
get_eurostat_raw - get_eurostat_raw in sys.call(): FALSE
get_eurostat_raw - The raw data was cached in memory ('r_avia_par_me-2026.04.26-0' in '.restatapi_env').
test_restatapi.R.............. 78 tests 1 fails create_filter_table - filters class: character; size: 1; filters:2017:2018
create_filter_table - filters: 2017:2018; is numeric: FALSE; call parents: 6
create_filter_table - length df: 1 content df: 2017:2018
create_filter_table - 2017:2018 date filter length: 1, nchar date_filter: 9
test_restatapi.R.............. 79 tests 1 fails
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/SEX
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/codelist/ESTAT/SEX'
Content type 'application/vnd.sdmx.structure+xml;version=2.1' length 5483 bytes
==================================================
downloaded 5483 bytes
Trying to extract the codelist from: /Volumes/Temp/tmp/Rtmpy6p5dY/file61e466914b9c
get_eurostat_codelist - codelist NULL:TRUE
test_restatapi.R.............. 79 tests 1 fails
test_restatapi.R.............. 81 tests 1 fails
22.4.0
test_restatapi.R.............. 81 tests 1 fails
Are we at home:FALSE
test_restatapi.R.............. 81 tests 1 fails
test_restatapi.R.............. 81 tests 1 fails
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=fr
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=fr'
downloaded 2.1 MB
get_eurostat_toc - The TOC was cached in memory ('toc.txt.fr' in '.restatapi_env').
test_restatapi.R.............. 81 tests 1 fails
get_eurostat_toc - API version:2 - number of cores:2
get_eurostat_toc - Downloading https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=de
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/catalogue/toc/txt?lang=de'
downloaded 2.0 MB
get_eurostat_toc - The TOC was cached in memory ('toc.txt.de' in '.restatapi_env').
test_restatapi.R.............. 81 tests 1 fails
test_restatapi.R.............. 82 tests 1 fails get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_dsd - API version:2
get_eurostat_dsd - Trying to download the DSD from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/datastructure/ESTAT/agr_r_milkpr?references=children'
downloaded 2.9 MB
get_eurostat_dsd - class(temp): character - is.na(temp): FALSE - file.size(temp): 3008178 - temp: /Volumes/Temp/tmp/Rtmpy6p5dY/file61e469fa0e2c
Trying to extract the DSD from: /Volumes/Temp/tmp/Rtmpy6p5dY/file61e469fa0e2c
get_eurostat_dsd - concepts:freq,milkitem,dairyprod,geo,OBS_FLAG,CONF_STATUS
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="FREQ"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="FREQ"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="MILKITEM"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="MILKITEM"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="DAIRYPROD"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="DAIRYPROD"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="GEO"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="GEO"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="OBS_FLAG"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="OBS_FLAG"]/s:Code/c:Name[@xml:lang="de"]
extract_dsd - API version:2
extract_dsd - xml_string_clc://s:Codelist[@id="CONF_STATUS"]/s:Code
extract_dsd - xml_string_cln://s:Codelist[@id="CONF_STATUS"]/s:Code/c:Name[@xml:lang="de"]
get_eurostat_dsd - DSD NULL:FALSE
get_eurostat_dsd - Trying to download the CC from: https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/agr_r_milkpr
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/contentconstraint/ESTAT/agr_r_milkpr'
downloaded 15 KB
get_eurostat_dsd - Trying to extract the CC from: /Volumes/Temp/tmp/Rtmpy6p5dY/file61e41fb8a10f
character
number of nodes: 5
number of cores: 2
get_eurostat_dsd - The DSD of the agr_r_milkpr dataset was cached in memory ('agr_r_milkpr.de.dsd' in '.restatapi_env').
create_filter_table - filters class: character; size: 2; filters:BE$Ungarn
get_eurostat_data - date_filter: 2007-06<
create_filter_table - filters class: character; size: 1; filters:2007-06<
create_filter_table - filters: 2007-06<; is numeric: FALSE; call parents: 7
create_filter_table - length df: 1 content df: 2007-06<
create_filter_table - 2007-06< date filter length: 1, nchar date_filter: 8
get_eurostat_data - date_filter: 2007-06< nrow dft: 1
...BE+HU-?startPeriod=2007-06-01
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...BE+HU/?startPeriod=2007-06-01
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...BE+HU/?startPeriod=2007-06-01'
Content type 'application/vnd.sdmx.genericdata+xml;version=2.1' length 3959 bytes
==================================================
downloaded 3959 bytes
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 2
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:34; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:34; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...BE+HU
date filter: ?startPeriod=2007-06-01
test_restatapi.R.............. 82 tests 1 fails get_eurostat_data - footer code option value at start:
get_eurostat_data - footer code option value after reset:
get_eurostat_data - id: agr_r_milkpr
get_eurostat_data - select_freq:
get_eurostat_cache - The 'agr_r_milkpr.en.dsd' was loaded from 'agr_r_milkpr.en.dsd' in '.restatapi_env'.
create_filter_table - filters class: character; size: 2; filters:BE$Hungary
get_eurostat_data - date_filter: 2007-06<
create_filter_table - filters class: character; size: 1; filters:2007-06<
create_filter_table - filters: 2007-06<; is numeric: FALSE; call parents: 7
create_filter_table - length df: 1 content df: 2007-06<
create_filter_table - 2007-06< date filter length: 1, nchar date_filter: 8
get_eurostat_data - date_filter: 2007-06< nrow dft: 1
...BE+HU-?startPeriod=2007-06-01
https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...BE+HU/?startPeriod=2007-06-01
trying URL 'https://ec.europa.eu/eurostat/api/dissemination/sdmx/2.1/data/agr_r_milkpr/...BE+HU/?startPeriod=2007-06-01'
Content type 'application/vnd.sdmx.genericdata+xml;version=2.1' length 3959 bytes
==================================================
downloaded 3959 bytes
get_eurostat_data - class(xml_leafs):xml_nodeset
get_eurostat_data - number of nodes: 2
get_eurostat_data - number of cores: 2
get_eurostat_data - footer code option value after retrieval:
get_eurostat_data - restat - nrow:34; ncol:7; colnames:geo/milkitem/freq/dairyprod/obsTime/obsValue/OBS_STATUS
get_eurostat_data - processed restat - nrow:34; ncol:6; colnames:geo/milkitem/dairyprod/time/values/flags
get_eurostat_data - restat NULL?:FALSE
id: agr_r_milkpr
filters: ...BE+HU
date filter: ?startPeriod=2007-06-01
test_restatapi.R.............. 82 tests 1 fails
test_restatapi.R.............. 83 tests 1 fails
clean_restatapi_cache - All objects (outside of 'cfg', 'rav', 'cc' and 'dmethod') are removed from '.restatapi_env'.
clean_restatapi_cache - Deleted all .rds files from /Volumes/Temp/tmp/Rtmpy6p5dY
test_restatapi.R.............. 83 tests 1 fails
There are skipped tests:27-29
test_restatapi.R.............. 83 tests 1 fails
Skipped tests: 27-29
config version: 2
test_restatapi.R.............. 83 tests 1 fails
test_restatapi.R.............. 83 tests 1 fails 7.2s
----- FAILED[data]: test_restatapi.R<169--169>
call| expect_true(is.null(dt8))
diff| Expected TRUE, got FALSE
Error: 1 out of 83 tests failed
Execution halted
Flavor: r-release-macos-x86_64