Skip to content

Binary logit based on the Mobility and Transport Microcensus 2015 explaining the "choice" of working - at least from time to time - from home in Switzerland.

Notifications You must be signed in to change notification settings

antonindanalet/home_office_in_microcensus

Repository files navigation

Home-based telecommuting in Switzerland, 2015-2050

This codes estimates a binary logit from the data of the Mobility and Transport Microcensus explaining the "choice" of making - at least from time to time - home office. The outputs are available in an HTML file. The results are described in two conference papers:

Getting Started

If you want to estimate and validate the model, you need this code and the data of the Mobility and Transport Microcensus 2015 & 2020.

Prerequisites to run the code

To run the code itself, you need python 3, pandas, Geopandas, xlrd, PandasBiogeme and pygeos.

Data prerequisites

For it to produce the results, you also need the raw data of the Transport and Mobility Microcensus 2015 & 2020, 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 haushalte.csv and zielpersonen.csv of the Mobility and Transport Microcensus 2015 that you receive from the Federal Statistical Office in the folders data/input/mtmc/2015/. Then run run_home_office_in_microcensus.py.

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

About

Binary logit based on the Mobility and Transport Microcensus 2015 explaining the "choice" of working - at least from time to time - from home in Switzerland.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages