There is a newer version of this record available.

Software Open Access

antaldaniel/regions: First CRAN release

Daniel Antal

The first CRAN release 0.1.0

Regions is an offspring of the eurostat package. It started as a patch to the problematic transition of Eurostat's regional statistics from the NUTS2013 to the NUTS2016 regional typology, which made it impossible to create time series, data panels or data joins among different data tables. Eurostat's regional statistics is not tidy, because in the 'geo' ID it mixes together with incompatible identifiers from the NUTS2016 (current base case), and the NUTS2010 and often earlier typologies.

Current features:

an extended validation of country codes and European NUTS regional coding starting from 1999 recoding and relabelling across European NUTS typologies, and general functions that can work with any national, ISO 3166-2 or OECD typology as inputs. projecting data from larger sub-national divisions to smaller ones two vignettes explaining this functionality. Planned features:

Incorporation of new typologies, such as OECD's, Google's, and other major data sources. Better coordination between rOpenGov packages, particularly eurostat and eurostat_geodata. New imputation functionality based on re-aggregation, re-weighting. Vignette on joining data from different typologies, such as Google Trends data with Eurostat data. The main repo is rOpenGov/regions, where you can send pull requests to the devel branch. You can directly collaborate with the package author on antaldaniel/regions, too, but the core development will hopefully shift to rOpenGov.

Files (33.2 MB)
Name Size
33.2 MB Download
All versions This version
Views 527150
Downloads 72
Data volume 328.1 MB66.4 MB
Unique views 474143
Unique downloads 62


Cite as