RiccardoSpolaor/Traffic-Flow-Analysis-Using-Uber-Movement-Data
Analysis of the traffic flow in the cities of Bristol and Cincinnati, considering data gathered by Uber Movement.
๐ Traffic Flow Analysis Using Uber Movement Data ๐
The proposed work presents a study of traffic flow in two cities (Bristol and Cincinnati) based on the Movement dataset provided by Uber. For each city, a temporal network defining the mean travel times during weekdays at different hours is provided along with a spatial graph defining the city structure.
The analysis is divided into two steps. Firstly, node centrality is computed in order to investigate traffic behavior throughout different times of the day in comparison to the topographic structure of the cities. Next, community detection is applied to identify travel clusters and regions with similar characteristics.
| Example of Centrality results on Bristol | Example of Centrality results on Cincinnati |
|---|---|
![]() |
![]() |
| Example of Community Detection results on Bristol | Example of Community Detection results on Cincinnati |
|---|---|
![]() |
![]() |
Data can be downloaded from the Uber Movement website, considering for Bristol and Cincinnati:
- The
Travel Times by Hour of Day (Weekdays Only)of2020 Quarter 1file in the sectionALL DATA; - The file in the section
GEO BOUNDARIES.
Dependencies
Repository structure
.
โโโ doc
โ โโโ report.pdf # Project report.
โโโ img # Directory containing source images used in README.md.
โโโ src
โ โโโ results # Directory contining results of the Community Detection algorithms.
โ โโโ utils
โ โ โโโ core.py # Python module implementing weighted k-core.
โ โ โโโ geodataframe.py # Python module to obtain the geodataframe from the GEOJSON data.
โ โ โโโ graphics.py # Python module used to plot graphical results.
โ โ โโโ hits.py # Python module implementing HITS centrality.
โ โ โโโ k_clique.py # Python module implementing weighted k-clique.
โ โ โโโ metrics.py # Python module defining interfaces to apply centrality or community detection metrics.
โ โ โโโ spatial_network.py # Python module to build the spatial network.
โ โ โโโ temporal_network.py # Python module to build the temporal network.
โ โโโ Traffic Flow Analysis of Bristol.ipynb # Notebook illustrating the traffic flow analysis process on Bristol.
โ โโโ Traffic Flow Analysis of Cincinnati.ipynb # Notebook illustrating the traffic flow analysis process on Cincinnati.
โโโ .gitignore
โโโ LICENSE
โโโ README.md
Versioning
Git is used for versioning.
Group members
| Name | Surname | Username | |
|---|---|---|---|
| Mohammad Reza | Ghasemi Madani | mohammadreza.ghasemi@studio.unibo.it |
qasemii |
| Riccardo | Spolaor | riccardo.spolaor@studio.unibo.it |
RiccardoSpolaor |
License
This project is licensed under the MIT License - see the LICENSE file for details.





