Package: spanishoddata 0.0.1
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:
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')) |
Bug tracker:https://github.com/ropenspain/spanishoddata/issues
cdrdatadata-packagemobile-telephone-datamobilityorigin-destination
Last updated 11 days agofrom:614dc569c3. Checks:OK: 1 NOTE: 6. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Sep 23 2024 |
R-4.5-win | NOTE | Sep 23 2024 |
R-4.5-linux | NOTE | Sep 23 2024 |
R-4.4-win | NOTE | Sep 23 2024 |
R-4.4-mac | NOTE | Sep 23 2024 |
R-4.3-win | NOTE | Sep 23 2024 |
R-4.3-mac | NOTE | Sep 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.qmd
usingquarto::html
on 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.qmd
usingquarto::html
on Sep 23 2024.Last update: 2024-09-04
Started: 2024-08-27
Download and convert mobility datasets
Rendered fromconvert.qmd
usingquarto::html
on Sep 23 2024.Last update: 2024-09-06
Started: 2024-08-27
Making interactive flow maps
Rendered fromflowmaps-interactive.qmd
usingquarto::html
on Sep 23 2024.Last update: 2024-09-06
Started: 2024-09-06
Making static flow maps
Rendered fromflowmaps-static.qmd
usingquarto::html
on Sep 23 2024.Last update: 2024-09-06
Started: 2024-09-03
Use cases
Rendered fromuses.qmd
usingquarto::html
on Sep 23 2024.Last update: 2024-08-27
Started: 2024-08-14
Readme and manuals
Help Manual
Help page | Topics |
---|---|
Get available data list | spod_available_data |
View codebooks for v1 and v2 open mobility data | spod_codebook |
Connect to data converted to DuckDB | spod_connect |
Convert data from plain text to duckdb or parquet format | spod_convert |
Safely disconnect from data and free memory | spod_disconnect |
Download the data files of specified type, zones, and dates | spod_download_data |
Get tabular data | spod_get |
Get valid dates for the specified data version | spod_get_valid_dates |
Get zones | spod_get_zones |