Everyting about OGD and SDK (Städtischer DatenKatalog) | Read-only mirror of https://github.com/opendatazurich/sdk — Stadt Zürich. Issues & pull requests at the source.
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-07-01 14:42:07 +02:00
ckan2sdk update SDK mapping 2025-07-01 14:42:07 +02:00
sdk2ckan fix: linter 2024-04-29 08:24:54 +02:00
.flake8 init: project setup 2024-04-23 08:22:24 +02:00
.gitignore clean up for initialdaten import 2025-06-18 11:48:54 +02:00
.python-version init: project setup 2024-04-23 08:22:24 +02:00
poetry.lock Update poetry env and minor changes 2024-06-19 09:46:10 +02:00
pyproject.toml Update poetry env and minor changes 2024-06-19 09:46:10 +02:00
README.md Add mails 2025-04-22 09:31:22 +02:00

SDK

poetry code style code style

This project contains the mapper from CKAN to SDK (ckan2sdk)

Prerequisites

Before you begin, ensure you have met the following requirements:

  • You have installed the latest version of poetry

Project Setup

Make sure poetry in installed correctly -> poetry --version

Next, run

poetry install  # to install all dependencies
poetry shell    # to enter poetry environment
flake8 --append-config .flake8 # appends user defined formatting rules to flake8 default set

sdk2ckan

TODO

ckan2sdk

The ckan2sdk project contains .... TODO

Existing scripts

Exporting CKAN to DKUEL

Export CKAN metadata to CSVs for DK-ÜL import

Reads out metadata and does some reformating of certain ckan fields (attributes, date)

Extractting CKAN attributes

Extract STZH CKAN attributes to csv

Mapping CKAN Organisation to ORGANIZATIONAL UNITS

Mapping Metadata of Datenlieferant / Dataowner

Contributors