Skip to contents

Get a table with the names and ids of administrative of statistical units.

Usage

gisco_get_metadata(
  id = c("nuts", "countries", "urban_audit"),
  year = 2024,
  verbose = FALSE
)

Arguments

id

character string. Select the unit type to be downloaded. Accepted values are "nuts", "countries" or "urban_audit".

year

character string or number. Release year of the metadata.

verbose

logical. If TRUE displays informational messages.

Value

A tibble.

See also

Other database: gisco_db

Examples

cities <- gisco_get_metadata(id = "urban_audit", year = 2020)

cities
#> # A tibble: 1,720 × 10
#>    URAU_CODE URAU_CATG CNTR_CODE URAU_NAME          CITY_CPTL CITY_KERN FUA_CODE
#>    <chr>     <chr>     <chr>     <chr>              <chr>     <chr>     <chr>   
#>  1 FR007L2   F         FR        FUA of Bordeaux    ""        ""        ""      
#>  2 FR008L2   F         FR        FUA of Nantes      ""        ""        ""      
#>  3 FR009L2   F         FR        FUA of Lille       ""        ""        ""      
#>  4 FR010L2   F         FR        FUA of Montpellier ""        ""        ""      
#>  5 FR011L2   F         FR        FUA of Saint-Étie… ""        ""        ""      
#>  6 FR012L2   F         FR        FUA of Le Havre    ""        ""        ""      
#>  7 FR013L2   F         FR        FUA of Rennes      ""        ""        ""      
#>  8 FR014L2   F         FR        FUA of Amiens      ""        ""        ""      
#>  9 FR016L2   F         FR        FUA of Nancy       ""        ""        ""      
#> 10 FR017L2   F         FR        FUA of Metz        ""        ""        ""      
#> # ℹ 1,710 more rows
#> # ℹ 3 more variables: NUTS3_2016 <chr>, AREA_SQM <dbl>, NUTS3_2021 <chr>