Skip to content

Commit 2e6ca61

Browse files
committed
SDMX metadata functions, version bump
1 parent ee20cb7 commit 2e6ca61

15 files changed

+329
-49
lines changed

DESCRIPTION

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Type: Package
22
Package: eurostat
33
Title: Tools for Eurostat Open Data
4-
Version: 4.1.0.9003
5-
Date: 2025-09-16
4+
Version: 4.1.0.9004
5+
Date: 2025-10-16
66
Authors@R: c(
77
person("Leo", "Lahti", , "leo.lahti@iki.fi", role = c("aut", "cre"),
88
comment = c(ORCID = "0000-0001-5537-637X")),
@@ -53,7 +53,8 @@ Imports:
5353
tibble,
5454
tidyr (>= 1.0.0),
5555
xml2,
56-
data.table (>= 1.14.8)
56+
data.table (>= 1.14.8),
57+
dataset (>= 0.4.0)
5758
Suggests:
5859
giscoR,
5960
knitr,

NAMESPACE

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ importFrom(data.table,fread)
4646
importFrom(data.table,melt)
4747
importFrom(data.table,setDT)
4848
importFrom(data.table,setcolorder)
49+
importFrom(dataset,dataset_df)
50+
importFrom(dataset,dublincore)
4951
importFrom(digest,digest)
5052
importFrom(dplyr,"%>%")
5153
importFrom(dplyr,case_when)

NEWS.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
# eurostat 4.1.0.9003
1+
# eurostat 4.1.0.9004
22

33
## Major updates
44

55
* Add new function `get_eurostat_sdmx()` for implementing functionalities that are specifically targeted for the new SDMX API. It is accompanied by other helper functions that are related to fetching metadata from the SDMX API: `build_api_base_uri()`, `build_agencyID()`, `data_filtering_on_dimension()`, `get_codelist_id()` and `label_eurostat_sdmx()`
66
* Add new function `get_eurostat_local()` for reading local SDMX-CSV (.csv) and compressed SDMX-CSV (.csv.gz) files downloaded manually from the Eurostat website. This function relies only on `data.table` functions as it is expected that locally stored files may be larger and require more efficient handling with regards to RAM and processing time constrains. `tidy_eurostat_sdmx()` and `parse_filename()` are helper functions related to this function.
77
* New `legacy_data_format()` function and `legacy.data.output` attribute in `get_eurostat()` and `get_eurostat_local()` transforms modern API naming conventions into the format that was used in the old API and eurostat package versions 3.8.* and prior. It is a helper function to other functions.
8+
* Add internal functions for retrieving SDMX metadata
89

910
## Minor updates
1011

0 commit comments

Comments
 (0)