Ga naar inhoud

CBS

Gebruik de Wijk- en Buurtkaart voor de geometrie en de kerncijfers voor de gegevens per buurt.

Bekijk het downloadvoorbeeld

Wijk- en Buurtkaart downloaden · download_wijk_buurtkaart_2025

waterlagen.administratieve_gebieden.download_wijk_buurtkaart_2025

download_wijk_buurtkaart_2025(
    download_dir=None,
    *,
    target_path=None,
    overwrite=True,
    progress=True,
    chunk_size=1024 * 1024,
    timeout=30,
)

Download the original CBS Wijk- en Buurtkaart 2025 GeoPackage.

The official CBS ZIP file is downloaded directly. Its GeoPackage is extracted unchanged, validated for the buurten layer and atomically placed in the administrative-areas source directory. No geometries or source attributes are joined, filtered, or otherwise spatially processed.

Wat krijgt u terug?

Type Betekenis
GeoPackageDownload

Metadata for the validated, unmodified CBS GeoPackage.

Instellingen en invoer

Naam Type Betekenis Standaardwaarde
download_dir Path

Directory for the CBS source GeoPackage, by default datastore.administratieve_gebieden_dir.

None
target_path Path

Override for the output GeoPackage path.

None
overwrite bool

Whether to replace an existing target. When False, the existing file is reused without a network request.

True
progress bool

Whether to write named download progress to stdout.

True
chunk_size int

HTTP download chunk size in bytes.

1024 * 1024
timeout int

HTTP timeout in seconds.

30
Kerncijfers per buurt downloaden · download_buurtgegevens_2025

waterlagen.cbs.download_buurtgegevens_2025

download_buurtgegevens_2025(
    download_dir=None,
    *,
    target_path=None,
    overwrite=True,
    timeout=30,
)

Download only needed 2025 StatLine values for every CBS buurt.

The CBS OData queries select only neighbourhood codes and the three requested measures. The result is JSON so CBS missing values remain null rather than being converted to zero. Non-default CBS value attributes are retained in metadata.cbs_value_attributes.

Wat krijgt u terug?

Type Betekenis
StatLineDownload

Output path and provenance metadata, including the downloaded buurt count.

Instellingen en invoer

Naam Type Betekenis Standaardwaarde
download_dir Path

Directory for the selected CBS source data, by default datastore.cbs_dir.

None
target_path Path

Override for the JSON output path.

None
overwrite bool

Whether to replace an existing result. When False, the existing result is reused without API requests.

True
timeout int

HTTP timeout in seconds for each CBS request.

30

Redactie: AI