Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 4.53 KB

README.md

File metadata and controls

23 lines (17 loc) · 4.53 KB

Modal shares in Switzerland

This code computes the modal shares in Switzerland:

Getting Started

These instructions will get you a copy of the project up and running on your local machine for reproducing the result and understanding how it has been generated.

Prerequisites

To run the code itself, you need python 3 and pandas.

For it to produce the results, you also need the raw data of the Transport and Mobility Microcensus 2005, 2010 & 2015, not included on GitHub. These data are individual data and therefore not open. You can however get them by filling in this form in German, French or Italian. The cost of the data is available in the document "Mikrozensus Mobilität und Verkehr 2015: Mögliche Zusatzauswertungen"/"Microrecensement mobilité et transports 2015: Analyses supplémentaires possibles".

Run the code

Please copy the files etappen.dat, Haushalte.dat and zielpersonen.dat of 2005 and etappen.csv, haushalte.csv and zielpersonen.csv of 2010 and 2015 that you receive from the Federal Statistical Office in the folders data/input/2005/mtmc05, data/input/2010/mtmc10 and data/input/2015/mtmc15. Then run run_modal_split_in_Switzerland.py.

DO NOT commit or share in any way the CSV files etappen.dat, Haushalte.dat, zielpersonen.dat, etappen.csv, haushalte.csv or zielpersonen.csv! These are personal data.