Skip to content

Commit

Permalink
Merge pull request #254 from rOpenGov/pitkant-3
Browse files Browse the repository at this point in the history
New CRAN release
  • Loading branch information
pitkant authored Feb 27, 2023
2 parents 8e3f9ca + 5702191 commit 8370876
Show file tree
Hide file tree
Showing 145 changed files with 16,259 additions and 2,623 deletions.
1 change: 0 additions & 1 deletion .Rprofile

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/check-full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ on:
schedule:
- cron: '0 0 * * 0'

name: R-CMD-check

name: R-CMD-check (full)
jobs:
R-CMD-check:
runs-on: ${{ matrix.config.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-standard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
pull_request:
branches: [main, master]

name: R-CMD-check
name: R-CMD-check (standard)

jobs:
R-CMD-check:
Expand Down
40 changes: 0 additions & 40 deletions .github/workflows/render-rmarkdown.yaml

This file was deleted.

60 changes: 15 additions & 45 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,55 +2,25 @@ Type: Package
Package: eurostat
Title: Tools for Eurostat Open Data
Version: 3.7.14
Date: 2023-02-09
Date: 2023-02-22
Authors@R: c(
person(given = "Leo",
family = "Lahti",
role = c("aut", "cre"),
email = "leo.lahti@iki.fi",
person("Leo", "Lahti", , "leo.lahti@iki.fi", role = c("aut", "cre"),
comment = c(ORCID = "0000-0001-5537-637X")),
person(given = "Janne",
family = "Huovari",
role = "aut"),
person(given = "Markus",
family = "Kainu",
role = "aut"),
person(given = "Przemyslaw",
family = "Biecek",
role = "aut"),
person(given = "Daniel",
family = "Antal",
role = "ctb"),
person(given = "Diego",
family = "Hernangomez",
role = "ctb",
person("Janne", "Huovari", role = "aut"),
person("Markus", "Kainu", role = "aut"),
person("Przemyslaw", "Biecek", role = "aut"),
person("Daniel", "Antal", role = "ctb"),
person("Diego", "Hernangomez", role = "ctb",
comment = c(ORCID = "0000-0001-8457-4658")),
person(given = "Joona",
family = "Lehtomaki",
role = "ctb"),
person(given = "Francois",
family = "Briatte",
role = "ctb"),
person(given = "Reto",
family = "Stauffer",
role = "ctb"),
person(given = "Paul",
family = "Rougieux",
role = "ctb"),
person(given = "Anna",
family = "Vasylytsya",
role = "ctb"),
person(given = "Oliver",
family = "Reiter",
role = "ctb"),
person(given = "Pyry",
family = "Kantanen",
role = "ctb",
person("Joona", "Lehtomaki", role = "ctb"),
person("Francois", "Briatte", role = "ctb"),
person("Reto", "Stauffer", role = "ctb"),
person("Paul", "Rougieux", role = "ctb"),
person("Anna", "Vasylytsya", role = "ctb"),
person("Oliver", "Reiter", role = "ctb"),
person("Pyry", "Kantanen", role = "ctb",
comment = c(ORCID = "0000-0003-2853-2765")),
person(given = "Enrico",
family = "Spinielli",
role = c("ctb"),
email = "enrico.spinielli@gmail.com",
person("Enrico", "Spinielli", , "enrico.spinielli@gmail.com", role = "ctb",
comment = c(ORCID = "0000-0001-8584-9131"))
)
Description: Tools to download data from the Eurostat database
Expand Down
10 changes: 8 additions & 2 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
# eurostat 3.7.14 (2023-02-08)
# eurostat 3.7.14 (2023-02-22)

## Major updates

* Updated `get_eurostat` and its assorted functions to download data from the new dissemination API (related to issues #251, #243). See Eurostat web page Transition - from Eurostat Bulk Download to API for a list of differences between old and new data sources: https://wikis.ec.europa.eu/display/EUROSTATHELP/Transition+-+from+Eurostat+Bulk+Download+to+API
* Added new temporary functions for downloading and handling data from the new dissemination API: `get_eurostat_raw2`, `tidy_eurostat2`, `convert_time_col2`, `eurotime2date2`, `eurotime2num2` and `label_eurostat2`. When the old bulk download facilities are decommissioned, these functions will replace the old functions with old naming schemes, without the 2's.
* Added new temporary functions for downloading and handling data from the new dissemination API: `get_eurostat_raw2`, `tidy_eurostat2`, `convert_time_col2`, `eurotime2date2`, `eurotime2num2` and `label_eurostat2`. When the old bulk download facilities are decommissioned, these functions will replace the old functions with old naming schemes (without the 2s at the end).
* `tidy_eurostat2` function is now able to handle multiple time frequencies in one call: For example, you can download annual, quarterly, and monthly data simply by using a vector c("A", "Q", "M") in select_time instead of using these singular frequencies in separate calls. The function will also return multiple time series in one dataset if select_time is NULL (as it is by default). If the dataset contains multiple time series and these are explicitly downloaded / no select_time parameter is given, a message will be printed.
* `eurotime2num` can now handle monthly and weekly data as well.
* Added a new parameter to `get_eurostat` function: legacy_bulk_download (default = TRUE). By setting this parameter to FALSE the user can download data from the new dissemination API. If you want to test the new API before it becomes the only way to download the data (and we very much encourage you to do so), set this parameter to FALSE.

## Minor updates

* Removed render-rmarkdown.yaml workflow used for rendering README.md file. README.md must be generated locally from now on.

# eurostat 3.7.13 (2023-02-01)

* Updated `get_eurostat_json` to migrate from JSON web service to API Statistics (addressed in issues #243, #251). Please note that the output from JSON API is now slightly different than before: the datasets now contain a freq column to indicate the frequency with which data has been collected, for example annually "A", monthly "M" or quarterly "Q". See Eurostat - Data browser online help website for more information: https://wikis.ec.europa.eu/display/EUROSTATHELP/API+Statistics+-+migrating+from+JSON+web+service+to+API+Statistics
Expand Down
21 changes: 21 additions & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
## R CMD check results

On R 4.2.2 under aarch64-apple-darwin20 (64-bit), macOS Ventura 13.2.1

0 errors | 0 warnings | 1 note

* checking for future file timestamps ... NOTE
unable to verify current time

Seems to be a problem related to worldclockapi.com, that has already been discussed in 2019 on r-package-devel mailing list.

On R 2023-02-21 r83888 ucrt under x86_64-w64-mingw32 (64-bit), Windows Server 2022 x64 (devtools::check_win_devel):

0 errors | 0 warnings | 0 notes

## Downstream dependencies

We checked 8 reverse dependencies with revdepcheck, comparing R CMD check results across CRAN and dev versions of this package.

* We saw 0 new problems
* We failed to check 0 packages
Loading

0 comments on commit 8370876

Please sign in to comment.