tests/testthat/_snaps/gisco-get-nuts.md

Valid inputs

Code
  gisco_get_nuts(ext = "docx")
Condition
  Error:
  ! `ext` should be one of "geojson", "gpkg" or "shp", not "docx".
Code
  gisco_get_nuts(nuts_level = "docx")
Condition
  Error:
  ! `nuts_level` should be one of "all", "0", "1", "2" or "3", not "docx".

Cached dataset vs updated

Code
  db_cached <- gisco_get_nuts(verbose = TRUE, nuts_id = "ES51")
Message
  i Loaded from `?giscoR::gisco_nuts_2024()` dataset. Use `update_cache = TRUE` to re-load from file


Try the giscoR package in your browser

Any scripts or data that you put into this service are public.

giscoR documentation built on Dec. 10, 2025, 9:08 a.m.