Software

spanishoddata: get Spanish origin-destination data

Kotov, E., Lovelace, R., Vidal-Tortosa, E.
The Comprehensive R Archive Network, CRAN (April 2025)
Open Source

Abstract

Gain seamless access to origin-destination (OD) data from the Spanish Ministry of Transport, hosted at https://www.transportes.gob.es/ministerio/proyectos-singulares/estudios-de-movilidad-con-big-data/opendata-movilidad. This package simplifies the management of these large datasets by providing tools to download zone boundaries, handle associated origin-destination data, and process it efficiently with the 'duckdb' database interface. Local caching minimizes repeated downloads, streamlining workflows for researchers and analysts. Extensive documentation is available at https://ropenspain.github.io/spanishoddata/index.html, offering guides on creating static and dynamic mobility flow visualizations and transforming large datasets into analysis-ready formats.

Keywords: France, Portugal, Spain, software, spatial analysis
The Max Planck Institute for Demographic Research (MPIDR) in Rostock is one of the leading demographic research centers in the world. It's part of the Max Planck Society, the internationally renowned German research society.