Skip to contents

eurostat 3.8.3 (2023-03-07)

Bug fixes

eurostat 3.8.2 (2023-03-06)

CRAN release: 2023-03-06

Minor updates

  • use curl::curl_download on Windows platforms instead of utils::download.file as the latter causes the following error: “error reading from the connection […] invalid or incomplete compressed data”. This affects only files downloaded from the new API.

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:
  • 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 file. must be generated locally from now on.

eurostat 3.7.13 (2023-02-01)

eurostat 3.7.12 (2022-06-28)

  • Updated included dataset eurostat_geodata_60_2016 to fix the issue of old-style crs object (#237)
  • Added information about different variables in eurostat_geodata_60_2016 so that the dataset is more understandable and usable for testing purposes. Added the same information to get_eurostat_geospatial() documentation as well.
  • Added the GISCO copyright disclaimer to eurostat_geodata_60_2016 and get_eurostat_geospatial() documentation.
  • Get rid of unnecessary “No encoding supplied: defaulting to UTF-8.” messages in get_eurostat_geospatial() by setting content encoding to UTF-8 when httr::content() function is called
  • dplyr and tidyr namespaces are no longer imported completely, only selected few functions with importFrom

eurostat 3.7.10 (2022-02-09)

CRAN release: 2022-02-09

  • Fixed URL issues in tests and examples

eurostat 3.7.9 (2020-10-01)

  • Function documentation migrated from old \code{}, \link{} syntax to markdown (issue #230, PR #231 by @dieghernan)

eurostat 3.7.8 (2020-09-30)

  • Package cache management updated: options() command is no longer needed and the cache dir can be modified persistently with a custom function (issue #223, PR #228 by @dieghernan)

eurostat 3.7.7 (2020-06-24)

  • Maps vignette fixed

eurostat 3.7.6 (2021-05-20)

  • Deprecated add_nuts_level(), harmonize_geo_code(), recode_to_nuts_2016() and recode_to_nuts_2013(); these functions were moved to the new package regions. The problem of sub-national geo codes is explained in the new vignette “Mapping Regional Data, Mapping Metadata Problems”, which replaces the “Regional data examples for the eurostat R package” vignette. This is a shared vignette, but the new regions package has more articles on how to work with sub-national data. (issues #218 and #219, PR #220 by @antaldaniel)

eurostat 3.7.5 (2020-05-12)

CRAN release: 2021-05-14

  • Moved sf from Imports to Suggests and made get_eurostat_geospatial() return a message if sf is not installed. This is to increase compatibility of eurostat-package on systems that have trouble installing sf (issue #213)
  • Wrapped some problem causing examples to \dontrun{} for a quick CRAN release

eurostat 3.7.3

  • Removed outdated dependencies (mapproj, plotrix, rsdmx)

eurostat 3.7.2

  • Non-intersecting sf-geometries in get_eurostat_geospatial (PR #202 by @retostauffer)

eurostat 3.6.4 (2020-05-12)

  • Fixed stringsAsFactors for R-4.0.0 and moved default to FALSE

eurostat 3.6.3 (2020-04-21)

  • Stabilized http requests (PR by @annnvv)

eurostat 3.5.3

  • get_eurostat switched to v2.1

eurostat 3.5.2

CRAN release: 2020-01-25

  • internet and proxy setting fixes
  • bibentry fix

eurostat 3.4.1

  • Fixed vignette
  • Added automated error messages to URL download failures

eurostat 3.3.3

  • Countries and Country Codes data.frames get label column for country names in the Eurostat database.
  • Fixed vignette duplicate entry issue and smaller issues
  • Added get_bibentry

eurostat 3.3.1

CRAN release: 2018-11-24

  • The label_eurostat() has new countrycode and countrycode_nomatch arguments to label with countrycode package and custom_dic argument to add custom dictionary.
  • Vignette updated

eurostat 3.2.3

Minor features

  • dplyr moved from Dependencies to Imports
  • curl removed from Imports
  • solved geospatial map issues
  • eurostat_url moved to options

eurostat 3.2.1

CRAN release: 2018-05-20

Major updates

  • Improved support for sf in map visualization

Minor features

  • ./data/ generation script in ./data-raw/ updated to make all data reproducible

Bug fixes

  • Typo corrected from Cisco to Gisco

eurostat 3.1.5

CRAN release: 2017-08-09

Minor features

  • Added new example data set to reduce repeated downloads from eurostat service
  • Now label_eurostat() gives always an error by default, if labelling introduces duplicated labels. A new fix_duplicated argument is add to fix duplicated labels automatically. (#79, #90)
  • Shrinked the package tarball size

Bug fixes

  • Modified tutorial to accommodate the CRAN error
  • Fixed cut_to_classes to generate unique breaks

eurostat 3.1.1

CRAN release: 2017-03-16

R Journal submission

  • Release version associated with the R Journal manuscript 2017 final version
  • Git release added with Zenodo DOI

Minor features

  • Changed maintainer email address from louhos to leo
  • Added ./docs/ (automated package website generated with pkgdown)
  • Expanded unit tests
  • Gitter badge added to README
  • Added ./revdep/ to check possible reverse dependencies automatically
  • Cheat sheet added

Bug fixes

  • search_eurostat() accepts new argument fixed: if TRUE (default), pattern provided will used as is; if FALSE, pattern will be interpreted as a true regex pattern.
  • Augmented the list of Suggested packages in the DESCRIPTION file, including the Cairo package (#70)
  • Updated the journal manuscript based on reviewer feedback

eurostat 2.2.20001

  • Development version opened

eurostat 2.2.1

CRAN release: 2016-09-14

  • Fixed canonical cran url in README

eurostat 2.1.1

  • The complete package now using tibbles
  • Rare encoding issues circumvented (#55)
  • Improved functionality within firewall-protected systems (#63)

eurostat 2.0

eurostat 1.2.27

  • Calls to extract_numeric are replaced by as.numeric (#60)
  • The column ‘flags’ is not being labelled even if type = “label” (#61)

eurostat 1.2.22

  • The European Commission and the Eurostat generally uses ISO 3166-1 alpha-2 codes with two exceptions: EL (not GR) is used to represent Greece, and UK (not GB) is used to represent the United Kingdom. This now can be handled with harmonize_country_code() which converts the raw data values from EL to GR and from UK to GB.
  • Harmonized roxygen documentation to better follow CRAN conventions
  • Changed Windows encoding to UTF for input files
  • Improved memory usage

eurostat 1.2.21

CRAN release: 2016-03-11

  • The get_eurostat() can now get data also from the Eurostat JSON API via get_eurostat_json(). It also have a new argument type to select labels for variable values instead of codes.
  • Fix an error after update to tidyr 0.4.0 (#47).

eurostat 1.2.13

CRAN release: 2016-01-19

  • New select_time argument for get_eurostat() to select a time frequency in case of multi-frequency datasets. Now the get_eurostat() also gives an error if you try to get multi-frequency with other time formats than time_format = "raw". (#30) time column is also now in ascending order.
  • get_eurostat() gets a new argument compress_file to control compression of the cache file. Also cache filenames includes now all relevant arguments. (#28)
  • For search_eurostat() a new type option type = "all" to search all types.
  • For label_eurostat() new arguments. A code to retain also codes for spesified colums. A eu_order to order factor levels in Eurostat order, which uses the new function dic_order().
  • Now label_eurostat_vars(x) gives labels for names, if x is other than a character or a factor and label_eurostat_tables(x) does not accept other than a character or a factor.
  • For get_eurostat() a new argument stringsAsFactors to control the factor conversion of variables.
  • eurotime2date (and get_eurostat) convers now also daily data.

eurostat 1.0.16

CRAN release: 2015-03-27

  • Fixed vignette error

eurostat 1.0.14 (2015-03-19)

  • Package largely rewritten
  • Vignette added
  • Changed the value column to values in the get_eurostat output

eurostat 0.9.1 (2014-04-24)

  • Package collected from statfi and smarterpoland