View source: R/nuts_get_version.R
nuts_get_version | R Documentation |
nuts_get_version()
returns the classified data after running nuts_classify()
.
nuts_get_version(data)
data |
A nuts.classified object returned by |
Console messages can be controlled with rlang::local_options(nuts.verbose = "quiet")
to silence messages and
nuts.verbose = "verbose"
to switch messages back on.
A tibble that lists the group-specific overlap with each NUTS version.
library(dplyr)
# Load EUROSTAT data of manure storage deposits
data(manure)
# Classify version of NUTS 2 codes in Germany
classified <- manure %>%
filter(nchar(geo) == 4) %>%
filter(indic_ag == 'I07A_EQ_Y') %>%
filter(grepl('^DE', geo)) %>%
filter(time == 2003) %>%
select(-indic_ag, -time) %>%
# Data varies at the NUTS code level
nuts_classify(nuts_code = 'geo')
nuts_get_version(classified)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.