Skip to content

spanishoddata

Get Spanish Origin-Destination Data

v0.2.3 · Mar 23, 2026 · MIT + file LICENSE

Description

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. Methods described in Kotov et al. (2026) <doi:10.1177/23998083251415040>. 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.

Downloads

426

Last 30 days

8876th

928

Last 90 days

2.9K

Last year

Trend: +38.8% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Additional Issues

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies checkmate DBI digest dplyr duckdb fs glue httr2 jsonlite lifecycle lubridate memoise openssl parallelly paws.storage +8 more dependencies spanishoddata

Version History

updated 0.2.3 ← 0.2.2 diff Mar 23, 2026
new 0.2.2 Mar 10, 2026
updated 0.2.2 ← 0.2.1 diff Feb 23, 2026
updated 0.2.1 ← 0.2.0 diff Jul 28, 2025
updated 0.2.0 ← 0.1.1 diff Jun 15, 2025
updated 0.1.1 ← 0.1.0 diff Apr 8, 2025
new 0.1.0 Dec 17, 2024