Skip to content
@pySpainMobility

pySpainMobility

pySpainMobility

A Python package to access, download and starndardise

logo small

Mobility patterns play a critical role in a wide range of societal challenges, from epidemic modeling and emergency response to transportation planning and regional development. Yet, access to high-quality, timely, and openly available mobility data remains limited. In response, the Spanish Ministry of Transportation and Sustainable Mobility has released daily mobility datasets based on anonymized mobile phone data, covering districts, municipalities, and greater urban areas from February 2020 to June 2021 (version 1) and again from January 2022 onward (version 2). pySpainMobility is a Python package that simplifies access to these datasets and their associated spatial tessellations through a standardized, well-documented interface. By lowering the technical barrier to working with large-scale mobility data, the package enables reproducible analysis and supports applications across research, policy, and operational domains.

The full documentation of the library is available on the pySpainMobility website and a paper with some examples and further details is available on arXiv. If you are using the library or it content, please use this reference:

Beneduce, C., Gullón Muñoz-Repiso, T., Lepri, B., & Luca, M. (2025). pySpainMobility: a Python Package to Access and Manage Spanish Open Mobility Data

Bibtex:

@article{beneduce2025pyspainmobility,
 title={pySpainMobility: a Python Package to Access and Manage Spanish Open Mobility Data},
 author={Beneduce, Ciro and Gullón Muñoz-Repiso, Tania and Lepri, Bruno and Luca, Massimiliano},
 year={2025}
}

Pinned Loading

  1. examples examples Public

    Jupyter Notebook 1

  2. pySpainMobility pySpainMobility Public

    a Python package designed to facilitate access to this mobility data and associated spatial tessellations, while standardizing the data for ease of use and analysis. As easy as pip install pyspainm…

    Python 10

Repositories

Showing 5 of 5 repositories

People

This organization has no public members. You must be a member to see who’s a part of this organization.

Top languages

Loading…

Most used topics

Loading…