Package: spanishoddata 0.2.5

Egor Kotov

spanishoddata: Get Spanish Origin-Destination Data

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.

Authors:Egor Kotov [aut, cre], Robin Lovelace [aut], Eugeni Vidal-Tortosa [ctb]

spanishoddata_0.2.5.tar.gz
spanishoddata_0.2.5.zip(r-4.7)spanishoddata_0.2.5.zip(r-4.6)spanishoddata_0.2.5.zip(r-4.5)
spanishoddata_0.2.5.tgz(r-4.6-any)spanishoddata_0.2.5.tgz(r-4.5-any)
spanishoddata_0.2.5.tar.gz(r-4.7-any)spanishoddata_0.2.5.tar.gz(r-4.6-any)
spanishoddata_0.2.5.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
spanishoddata/json (API)
NEWS

# Install 'spanishoddata' in R:
install.packages('spanishoddata', repos = c('https://ropenspain.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ropenspain/spanishoddata/issues

Pkgdown/docs site:https://ropenspain.github.io

On CRAN:

Conda:

cdrdatadata-packagemobile-telephone-datamobilityorigin-destinationquarto

8.63 score 47 stars 44 scripts 556 downloads 15 exports 65 dependencies

Last updated from:0a5b12fdb2. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK225
source / vignettesOK229
linux-release-x86_64OK190
macos-release-arm64OK140
macos-oldrel-arm64OK129
windows-develOK147
windows-releaseOK169
windows-oldrelOK262
wasm-releaseOK166

Exports:spod_available_dataspod_check_filesspod_citespod_codebookspod_connectspod_convertspod_disconnectspod_downloadspod_getspod_get_data_dirspod_get_valid_datesspod_get_zonesspod_quick_get_odspod_quick_get_zonesspod_set_data_dir

Dependencies:askpassbackportsbase64encbitbit64cachemcheckmateclassclassIntclicliprcpp11crayoncurlDBIdigestdplyrduckdbe1071fastmapfsgenericsgluehmshttr2jsonliteKernSmoothlifecyclelubridatemagrittrMASSmemoiseopensslparallellypaws.commonpaws.storagepillarpkgconfigprettyunitsprogressproxypurrrR6rappdirsrbibutilsRcppRdpackreadrrlangs2sfstringistringrsystibbletidyselecttimechangetzdbunitsutf8vctrsvroomwithrwkxml2

Codebook and cookbook for v1 (2020-2021) Spanish mobility data

Rendered fromv1-2020-2021-mitma-data-codebook.qmdusingquarto::htmlon Jun 05 2026.

Last update: 2026-02-24
Started: 2024-08-27

Codebook and cookbook for v2 (2022 onwards) Spanish mobility data

Rendered fromv2-2022-onwards-mitma-data-codebook.qmdusingquarto::htmlon Jun 05 2026.

Last update: 2026-03-23
Started: 2024-08-27

Download and convert mobility datasets

Rendered fromconvert.qmdusingquarto::htmlon Jun 05 2026.

Last update: 2026-02-24
Started: 2024-08-27

Quicky get daily data

Rendered fromquick-get.qmdusingquarto::htmlon Jun 05 2026.

Last update: 2026-02-24
Started: 2024-12-02