Package: spanishoddata 0.0.1

Egor Kotov

spanishoddata: Get Spanish Origin-Destination Data

Enables access to origin-destination (OD) provided by the Spanish Minstry of Transport, hosted at <https://www.transportes.gob.es/ministerio/proyectos-singulares/estudios-de-movilidad-con-big-data/opendata-movilidad>. It contains functions for downloading zone boundaries and associated origin-destination data. The OD datasets are large. The package eases working with them by using the database interface package 'duckdb', using an optional environment variable 'SPANISH_OD_DATA_DIR' to avoid repeated downloads, and by providing documentation demonstrating how to collect subsets of the resulting databases into memory.

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

spanishoddata_0.0.1.tar.gz
spanishoddata_0.0.1.zip(r-4.5)spanishoddata_0.0.1.zip(r-4.4)spanishoddata_0.0.1.zip(r-4.3)
spanishoddata_0.0.1.tgz(r-4.4-any)spanishoddata_0.0.1.tgz(r-4.3-any)
spanishoddata_0.0.1.tar.gz(r-4.5-noble)spanishoddata_0.0.1.tar.gz(r-4.4-noble)
spanishoddata_0.0.1.tgz(r-4.4-emscripten)spanishoddata_0.0.1.tgz(r-4.3-emscripten)
spanishoddata.pdf |spanishoddata.html
spanishoddata/json (API)

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

Peer review:

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

On CRAN:

cdrdatadata-packagemobile-telephone-datamobilityorigin-destination

10 exports 21 stars 6.02 score 52 dependencies 12 scripts

Last updated 11 days agofrom:614dc569c3. Checks:OK: 1 NOTE: 6. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 23 2024
R-4.5-winNOTESep 23 2024
R-4.5-linuxNOTESep 23 2024
R-4.4-winNOTESep 23 2024
R-4.4-macNOTESep 23 2024
R-4.3-winNOTESep 23 2024
R-4.3-macNOTESep 23 2024

Exports:spod_available_dataspod_codebookspod_connectspod_convertspod_disconnectspod_download_dataspod_getspod_get_data_dirspod_get_valid_datesspod_get_zones

Dependencies:bitbit64classclassIntclicliprcpp11crayoncurlDBIdplyrduckdbe1071fansifsgenericsglueherehmsKernSmoothlifecyclelubridatemagrittrMASSmemuseparallellypillarpkgconfigprettyunitsprogressproxypurrrR6Rcppreadrrlangrprojroots2sfstringistringrtibbletidyselecttimechangetzdbunitsutf8vctrsvroomwithrwkxml2

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

Rendered fromv1-2020-2021-mitma-data-codebook.qmdusingquarto::htmlon Sep 23 2024.

Last update: 2024-09-23
Started: 2024-08-27

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

Rendered fromv2-2022-onwards-mitma-data-codebook.qmdusingquarto::htmlon Sep 23 2024.

Last update: 2024-09-04
Started: 2024-08-27

Download and convert mobility datasets

Rendered fromconvert.qmdusingquarto::htmlon Sep 23 2024.

Last update: 2024-09-06
Started: 2024-08-27

Making interactive flow maps

Rendered fromflowmaps-interactive.qmdusingquarto::htmlon Sep 23 2024.

Last update: 2024-09-06
Started: 2024-09-06

Making static flow maps

Rendered fromflowmaps-static.qmdusingquarto::htmlon Sep 23 2024.

Last update: 2024-09-06
Started: 2024-09-03

Use cases

Rendered fromuses.qmdusingquarto::htmlon Sep 23 2024.

Last update: 2024-08-27
Started: 2024-08-14