Skip to contents

2019 / WGS84 UTM32N

Usage

ll_get_nuts_it(
  name = NULL,
  level = 2,
  year = 2022,
  resolution = "low",
  silent = FALSE,
  no_check_certificate = FALSE
)

Arguments

level

Defaults to "2", i.e. regioni. Available: "3" (i.e. province), and "lau", local administrative units.

year

Defaults to 2022 (latest available).

resolution

Defaults to "low". Valid values are either "low" or "high".

no_check_certificate

Logical, defaults to FALSE. Enable only if certificate issues, and if you are aware of the security implications.

Examples

ll_set_folder(fs::path(fs::path_home_r(), "R"))
#> /home/runner/R
ll_get_nuts_it()
#>  Source: https://www.istat.it/it/archivio/222527
#>  Istat (CC-BY)
#> Warning: URL 'https://www.istat.it/storage/cartografia/confini_amministrativi/generalizzati/Limiti01012022_g.zip': status was 'SSL connect error'
#> Error in download.file(url = source_url, destfile = zip_file): cannot open URL 'https://www.istat.it/storage/cartografia/confini_amministrativi/generalizzati/Limiti01012022_g.zip'
ll_get_nuts_it(name = "Rimini", level = 3)
#>  Source: https://www.istat.it/it/archivio/222527
#>  Istat (CC-BY)
#> Warning: URL 'https://www.istat.it/storage/cartografia/confini_amministrativi/generalizzati/Limiti01012022_g.zip': status was 'SSL connect error'
#> Error in download.file(url = source_url, destfile = zip_file): cannot open URL 'https://www.istat.it/storage/cartografia/confini_amministrativi/generalizzati/Limiti01012022_g.zip'