Learn R Programming

eurostat (version 3.6.1)

harmonize_geo_code: Harmonize NUTS region codes that changed with the NUTS2016 definition

Description

Eurostat mixes NUTS2013 and NUTS2016 geographic label codes in the 'geo' column, which creates time-wise comparativity issues. This function checks if you data is affected by this problem and gives information on what to do.

Usage

harmonize_geo_code(dat)

Arguments

dat

A Eurostat data frame downloaded with get_eurostat

Value

An augmented data frame that explains potential problems and possible solutions.

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
   dat <- eurostat::tgs00026
   harmonize_geo_code(dat)
 
# }

Run the code above in your browser using DataLab