harmonize_country_code: Harmonize Country Code

Description Usage Arguments Value Author(s) Examples

Description

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 function turns country codes into to ISO 3166-1 alpha-2.

Usage

1

Arguments

x

A character or a factor vector of eurostat countycodes.

Value

a vector.

Author(s)

Janne Huovari janne.huovari@ptt.fi

Examples

1
2
3
4
5
 ## Not run: 
   lp <- get_eurostat("nama_aux_lp")
   lp$geo <- harmonize_country_code(lp$geo)
 
## End(Not run)


Search within the eurostat package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.