Skip to content

Modal shares in Switzerland, including share of car sharing, based on 2021 data

Notifications You must be signed in to change notification settings

antonindanalet/use-of-car-sharing-in-Switzerland

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Use of car sharing in Switzerland

This code computes the modal shares in Switzerland, in particular the share of car sharing, based on 2021 data. The modal shares are defined as daily distances.

Results can be found as CSV files in the folder 'output/2021':

Car sharing represents 0.11% of the average daily distance within Switzerland made by the resident population (33 meters out of 30 kilometers). It corresponds to 0.16% of the distance covered by car (33 meters out of 21 kilometers).

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 (MTMC) 2021, 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 - Mögliche Zusatzauswertungen"/"Microrecensement mobilité et transports - Analyses supplémentaires possibles".

Run the code

Please copy the paths to the files etappen.csv and zielpersonen.csv from the Federal Statistical Office in the file config.yml located in the root directory. Then run run_use_of_car_sharing.py in the 'src' folder.

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

About

Modal shares in Switzerland, including share of car sharing, based on 2021 data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages