Mobility Analysis: Home and Work Detection from Network Signaling Data (NSD)
This repository contains the codebase for analyzing commuting patterns and mobility structures using Network Signaling Data (NSD). The scripts enable researchers to detect home and work locations, construct origin-destination (OD) matrices, and apply network-based and spatial econometric analyses to study mobility flows. The methods integrate hierarchical clustering, Voronoi mapping, network analysis, and spatial modeling to track movement patterns and commuting dependencies across urban and peri-urban areas.
Key Features:
- Home and Work Detection: Identifies stable locations from NSD using hierarchical clustering and assigns them to spatial units through Voronoi mapping.
- Commuting OD Matrices: Constructs flows between detected home and work locations, computing distances and travel times.
- Network and Community Analysis: Builds commuting graphs and applies clustering methods like the Leiden algorithm to analyze spatial patterns and regional connectivity.
- Spatial Modeling: Uses spatial econometric models to examine dependencies in commuting flows and employment clusters.
The repository does not contain raw data due to privacy constraints. The methods and scripts are designed to process anonymized mobility datasets while ensuring compliance with data protection standards. Researchers can adapt the code to similar mobility datasets to investigate commuting trends and urban mobility structures.