Ga naar inhoud

DataStore

DataStore

Bases: BaseSettings

DataStore to structurally store downloaded and processed data.

The data directories can be configured in an env-file .datastore:

DATA_DIR=path/to/data/dir
SOURCE_DATA_DIR=path/to/source/data
PROCESSED_DATA_DIR=path/to/processed/data

Attributes:

Name Type Description
data_dir Path

The root for source_data_dir and processed_data_dir. Defaults to ./data.

source_data_dir Path

A path for for source data, defaults to data/source_data

processed_data_dir Path

A path for for processed data, defaults to data/processed_data_dir

autos_dir property

Return the directory for processed personenauto's per woon-VBO data.

autos_parquet_path property

Return the optional GeoParquet personenauto output path.

autos_path property

Return the processed personenauto's per woon-VBO GeoPackage path.

bag_vbo_path property

Return the selected BAG VBO GeoPackage path.

cbs_buurt_path property

Return the CBS buurt polygon GeoPackage path.

cbs_dir property

Return the directory for source data published by CBS.

inwoners_dir property

Return the directory for processed inwoners per woon-VBO data.

inwoners_parquet_path property

Return the optional GeoParquet inwoners per woon-VBO output path.

inwoners_path property

Return the processed inwoners per woon-VBO GeoPackage path.

vbo_buurt_dir property

Return the directory for shared BAG VBO and CBS-buurt outputs.

vbo_buurt_path property

Return the processed BAG VBO GeoPackage path for compatibility.

waterketen_damo_dir property

Return the directory for the PDOK Waterketen DAMO source.

Redactie: AI