Canton of Basel City open government data related to Food


This Data Package was created at the Open Food Hackdays 2018 in Basel. The metadata here is provided as "best effort", without any guarantee of correctness. Visit our preview and see how this was prepared. To contribute, please visit the GitHub repository.


The Canton of Basel-City publishes a variety of geographic and statistical data on the subject of food. These are open data, but not yet state-of-the-art Open Government Data (OGD), i.e. they have not yet been published in a completely standardized way. A series of datasets have been recommended for use and improvement at the Open Food Data Hackdays from the Statistical Portal (

From these, we focused on the Agriculture (farms, land use, animals) data to create this aggregate dataset, compiled from:

These topics can also be found in the Indicators portal and in the Basel Atlas, and from there downloaded/exported as CSV.


LibreOffice Calc was used to collate the years 2011-2016 from the source spreadsheets. Some manual tweaking was required to standardize the rows (there were some years missing in the 2nd spreadsheet), and columns (some of which were defined across rows, etc.)

The Data Package schema was inferred using the Python library CLI.


This package is licensed by its maintainers under the Public Domain Dedication and License.

If you intended to use these data in a public or commercial product, please check the data sources themselves for any specific restrictions.

Data Protection regulations and other terms of use of apply.

Connect to our community on Mattermost | Twitter | Facebook

All attendees, sponsors, partners, volunteers and staff at our hackathon are required to agree with the Hack Code of Conduct. Organisers will enforce this code throughout the event. We expect cooperation from all participants to ensure a safe environment for everybody.

Creative Commons LicenceThe contents of this website, unless otherwise stated, are licensed under a Creative Commons Attribution 4.0 International License.

Latest update: 2018-02-22
Maintainer: 0data

Launched at Open Food Hackdays Basel by