harmonize_geo_code: Harmonize NUTS region codes that changed with the 'NUTS2016'...

View source: R/deprecated_regions_functions.R

harmonize_geo_codeR Documentation

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.

Author(s)

Daniel Antal

See Also

regions::validate_nuts_regions()

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

Examples

dat <- eurostat::tgs00026
regions::validate_nuts_regions(dat)

eurostat documentation built on May 29, 2024, 2:27 a.m.