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 21 days agofrom:b83b6dd570. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Nov 19 2024 |
R-4.5-win | OK | Nov 19 2024 |
R-4.5-linux | OK | Nov 19 2024 |
R-4.4-win | OK | Nov 19 2024 |
R-4.4-mac | OK | Nov 19 2024 |
R-4.3-win | OK | Nov 19 2024 |
R-4.3-mac | OK | Nov 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.qmd
usingquarto::html
on 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.qmd
usingquarto::html
on Nov 19 2024.Last update: 2024-10-31
Started: 2024-08-27
Download and convert mobility datasets
Rendered fromconvert.qmd
usingquarto::html
on Nov 19 2024.Last update: 2024-10-22
Started: 2024-08-27
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 |
Get tabular data | spod_get |
Get valid dates for the specified data version | spod_get_valid_dates |
Get zones | spod_get_zones |