cbs_geodata: Data Sets with Geometries of Dutch Provinces, Municipalities...

cbs_geodataR Documentation

Data Sets with Geometries of Dutch Provinces, Municipalities and Zip Codes

Description

Data Sets with Geometries of Dutch Provinces, Municipalities and Zip Codes

Usage

geo_gemeenten

geo_ggdregios

geo_nuts3

geo_postcodes2

geo_postcodes3

geo_postcodes4

geo_postcodes6

geo_provincies

Format

An object of class sf (inherits from data.frame) with 345 rows and 4 columns.

An object of class sf (inherits from data.frame) with 25 rows and 4 columns.

An object of class sf (inherits from data.frame) with 40 rows and 4 columns.

An object of class sf (inherits from data.frame) with 90 rows and 4 columns.

An object of class sf (inherits from data.frame) with 798 rows and 4 columns.

An object of class sf (inherits from data.frame) with 4068 rows and 4 columns.

An object of class sf (inherits from data.frame) with 58481 rows and 4 columns.

An object of class sf (inherits from data.frame) with 12 rows and 4 columns.

Details

These data.frames are of additional class sf and contain 3 variables:

  • ...
    name of the area, these are: –geo_gemeenten$gemeente–, –geo_ggdregios$ggdregio–, –geo_nuts3$nuts3–, –geo_postcodes2$postcode–, –geo_postcodes3$postcode–, –geo_postcodes4$postcode–, –geo_postcodes6$postcode–, –geo_provincies$provincie–

  • inwoners
    number of inhabitants in the area

  • oppervlakte_km2
    area in square kilometres

  • geometry
    multipolygonal object of the area

All data sets have the coordinate reference system (CRS) set to EPSG:28992 ('RD New'), following the sphere of Earth. They can be flattened to e.g. EPSG:4326 ('WGS 84') using st_transform().

See the repository file to update these data sets.

NOTE: all data sets contains all areas of the whole country of the Netherlands, except for geo_postcodes6 which was cropped to only cover the Certe region (using crop_certe()).

Source

The data in these data.frames are retrieved from, and publicly available at, Statistics Netherlands:

  • Centraal Bureau voor de Statistiek (CBS), 'Gebiedsindelingen', GPKG 2022 v1, https://www.cbs.nl

  • Centraal Bureau voor de Statistiek (CBS), 'Kerncijfers per postcode', ZIP 2020 v1, https://www.cbs.nl

Examples

if (require("certeplot2")) {

  geo_postcodes6 |>
    filter_geolocation(plaats == "Groningen") |>
    plot2(category = inwoners / oppervlakte_km2,
          datalabels = FALSE,
          title = "City of Groningen (PC6 level)")
  
}

if (require("certeplot2")) {

  geo_postcodes4 |>
    filter_geolocation(plaats == "Groningen") |>
    plot2(category = inwoners / oppervlakte_km2,
          datalabels = FALSE,
          title = "City of Groningen (PC4 level)")
  
}

if (require("sf")) {

  head(geo_gemeenten)

}

certe-medical-epidemiology/certegis documentation built on Dec. 10, 2024, 6:27 a.m.