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

5.97 score 24 stars 13 scripts 11 exports 52 dependencies

Last updated 21 days agofrom:b83b6dd570. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 19 2024
R-4.5-winOKNov 19 2024
R-4.5-linuxOKNov 19 2024
R-4.4-winOKNov 19 2024
R-4.4-macOKNov 19 2024
R-4.3-winOKNov 19 2024
R-4.3-macOKNov 19 2024

Exports:spod_available_dataspod_codebookspod_connectspod_convertspod_disconnectspod_downloadspod_getspod_get_data_dirspod_get_valid_datesspod_get_zonesspod_set_data_dir

Dependencies:bitbit64classclassIntclicliprcpp11crayoncurlDBIdplyrduckdbe1071fansifsgenericsglueherehmsKernSmoothlifecyclelubridatemagrittrMASSmemuseparallellypillarpkgconfigprettyunitsprogressproxypurrrR6Rcppreadrrlangrprojroots2sfstringistringrtibbletidyselecttimechangetzdbunitsutf8vctrsvroomwithrwkxml2

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

Rendered fromv1-2020-2021-mitma-data-codebook.qmdusingquarto::htmlon Nov 19 2024.

Last update: 2024-10-31
Started: 2024-08-27

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

Rendered fromv2-2022-onwards-mitma-data-codebook.qmdusingquarto::htmlon Nov 19 2024.

Last update: 2024-10-31
Started: 2024-08-27

Download and convert mobility datasets

Rendered fromconvert.qmdusingquarto::htmlon Nov 19 2024.

Last update: 2024-10-22
Started: 2024-08-27