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 1
file in the sectionALL DATA
; - The file in the section
GEO BOUNDARIES
.
.
βββ 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
Git is used for versioning.
Name | Surname | Username | |
---|---|---|---|
Mohammad Reza | Ghasemi Madani | mohammadreza.ghasemi@studio.unibo.it |
qasemii |
Riccardo | Spolaor | riccardo.spolaor@studio.unibo.it |
RiccardoSpolaor |
This project is licensed under the MIT License - see the LICENSE file for details.