Learn R Programming

eurostat (version 3.7.10)

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 deprecated function checked if you data is affected by this problem and gives information on what to do.

This function is deprecated, and a more general function was moved to regions::validate_nuts_regions().

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.

See Also

regions::validate_nuts_regions()

Other regions functions: add_nuts_level(), recode_to_nuts_2013(), recode_to_nuts_2016(), reexports

Examples

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

Run the code above in your browser using DataLab