Insights on mobility from Spain's Household Budget Surveys (HBS).
All required dependencies are in the requirements.txt file. These can be installed as follows:
pip install -r requirements.txt
This exploratory notebook uses Household budget surveys to answer questions related to mobility. Questions are:
- Are we spending less on transportation lately?
- Are we spending more on private cars (purchase and use)?
- Is the use of Personal Mobility Vehicles (kickscooters, bikes, etc.) rising?
- Are we spending more on public transportation?
- Are new mobility trends allowing us to spend less?
- Are we moving more?
- Data- folder with all the files required for the analysis.
- helper_plot.py- contains functions that were used to plot.
- Project_1_kgg- Notebook with the analysis.
If some plotly plots are not displayed correctly follow the instructions from this link.
The exploration evidenced that mobility services are not being used in a way that could help us save transportation expenditures. The main findings of the code can be found in this blog post.
The data used in this analysis was collected and published by the Spanish National Statistics Institute.