Gets NUTS as sf object from Eurostat's website
ll_get_nuts_eu.Rd
Source: https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/administrative-units-statistical-units/nuts#nuts16
Usage
ll_get_nuts_eu(
nuts_id = NULL,
nuts_name = NULL,
level = 3,
resolution = 60,
year = 2021,
silent = FALSE
)
Arguments
- nuts_id
NUTS id. Must correspond to the level given. e.g. "DE149" for the NUTS3 regionion of Sigmaringen in Germany.
- nuts_name
Name of the NUTS region. Run
ll_get_nuts_eu()
to check valid values inNUTS_NAME
column.- level
Defaults to 3, corresponding to nuts3. Available values are: 0, 1, 2, and 3.
- resolution
Defaults to "60", for 1:60 Million. Available values: are 20, 10, 3, 1 (1 is highest quality available).
- year
Defaults to 2021 Available values: 2021, 2016, 2013, 2010, 2006, 2003
Examples
ll_get_nuts_eu()
#> ℹ © EuroGeographics for the administrative boundaries
#> ℹ Source: https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/administrative-units-statistical-units/countries
#> Simple feature collection with 1514 features and 9 fields
#> Geometry type: MULTIPOLYGON
#> Dimension: XY
#> Bounding box: xmin: -61.8407 ymin: -21.3757 xmax: 55.8498 ymax: 80.7991
#> Geodetic CRS: WGS 84
#> # A tibble: 1,514 × 10
#> NUTS_ID LEVL_CODE CNTR_CODE NAME_LATN NUTS_…¹ MOUNT…² URBN_…³ COAST…⁴ FID
#> <chr> <int> <chr> <chr> <chr> <int> <int> <int> <chr>
#> 1 DE149 3 DE Sigmaringen Sigmar… 4 3 3 DE149
#> 2 DE211 3 DE Ingolstadt… Ingols… 4 2 3 DE211
#> 3 DE212 3 DE München, K… Münche… 4 1 3 DE212
#> 4 DE213 3 DE Rosenheim,… Rosenh… 4 2 3 DE213
#> 5 DE214 3 DE Altötting Altött… 4 2 3 DE214
#> 6 DE215 3 DE Berchtesga… Bercht… 3 2 3 DE215
#> 7 DE216 3 DE Bad Tölz-W… Bad Tö… 2 2 3 DE216
#> 8 DE217 3 DE Dachau Dachau 4 2 3 DE217
#> 9 DE218 3 DE Ebersberg Ebersb… 4 2 3 DE218
#> 10 DE219 3 DE Eichstätt Eichst… 4 2 3 DE219
#> # … with 1,504 more rows, 1 more variable: geometry <MULTIPOLYGON [°]>, and
#> # abbreviated variable names ¹NUTS_NAME, ²MOUNT_TYPE, ³URBN_TYPE, ⁴COAST_TYPE