View source: R/ll_get_lau_nuts_concordance.R
ll_get_lau_nuts_concordance | R Documentation |
Source: https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/administrative-units-statistical-units/lau
ll_get_lau_nuts_concordance(lau_year = 2019, nuts_year = 2016, silent = FALSE)
lau_year |
Defaults to 2019. See |
nuts_year |
Defaults to 2016. See |
silent |
Defaults to FALSE. If TRUE, hides copyright notice. Useful e.g. when using this in reports or in loops. The copyright notice must still be shown where the final output is used. |
Warning: due to issues in the original data, nuts may not always correspond to the given year for all countries, e.g. in files with nuts 2016 one may find nuts 2013 for single country, e.g. Italy. Do check the sources for details and ensure complete matching.
A tibble with a correspondence table.
ll_set_folder("~/R/")
ll_get_lau_nuts_concordance()
## Not run:
lau_with_nuts_df <- ll_get_lau_eu(year = 2018) %>%
sf::st_drop_geometry() %>%
filter(is.na(LAU_NAME) == FALSE) %>%
dplyr::rename(gisco_id = GISCO_ID) %>%
dplyr::left_join(
y = ll_get_lau_nuts_concordance(
lau_year = 2018,
nuts_year = 2016
),
by = "gisco_id"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.