Package: spanishoddata 0.1.0
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. 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:
spanishoddata_0.1.0.tar.gz
spanishoddata_0.1.0.zip(r-4.5)spanishoddata_0.1.0.zip(r-4.4)spanishoddata_0.1.0.zip(r-4.3)
spanishoddata_0.1.0.tgz(r-4.4-any)spanishoddata_0.1.0.tgz(r-4.3-any)
spanishoddata_0.1.0.tar.gz(r-4.5-noble)spanishoddata_0.1.0.tar.gz(r-4.4-noble)
spanishoddata_0.1.0.tgz(r-4.4-emscripten)spanishoddata_0.1.0.tgz(r-4.3-emscripten)
spanishoddata.pdf |spanishoddata.html✨
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:https://ropenspain.github.io
cdrdatadata-packagemobile-telephone-datamobilityorigin-destination
Last updated 5 hours agofrom:b7063331ac. Checks:OK: 7. Indexed: yes.
Target | Result | Date |
---|---|---|
Doc / Vignettes | OK | Dec 20 2024 |
R-4.5-win | OK | Dec 20 2024 |
R-4.5-linux | OK | Dec 20 2024 |
R-4.4-win | OK | Dec 20 2024 |
R-4.4-mac | OK | Dec 20 2024 |
R-4.3-win | OK | Dec 20 2024 |
R-4.3-mac | OK | Dec 20 2024 |
Exports:spod_available_dataspod_codebookspod_connectspod_convertspod_disconnectspod_downloadspod_getspod_get_data_dirspod_get_valid_datesspod_get_zonesspod_quick_get_odspod_set_data_dir
Dependencies:askpassbackportsbitbit64checkmateclassclassIntclicliprcpp11crayoncurlDBIdplyrduckdbe1071fansifsgenericsglueherehmshttr2KernSmoothlifecyclelubridatemagrittrMASSmemuseopensslparallellypillarpkgconfigprettyunitsprogressproxypurrrR6rappdirsRcppreadrrlangrprojroots2sfstringistringrsystibbletidyselecttimechangetzdbunitsutf8vctrsvroomwithrwkxml2
Codebook and cookbook for v1 (2020-2021) Spanish mobility data
Rendered fromv1-2020-2021-mitma-data-codebook.qmd
usingquarto::html
on Dec 20 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 Dec 20 2024.Last update: 2024-12-14
Started: 2024-08-27
Download and convert mobility datasets
Rendered fromconvert.qmd
usingquarto::html
on Dec 20 2024.Last update: 2024-12-14
Started: 2024-08-27
Quicky get daily data
Rendered fromquick-get.qmd
usingquarto::html
on Dec 20 2024.Last update: 2024-12-14
Started: 2024-12-02
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' or hive-style 'parquet' files | 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 mobility data | spod_get |
Get the data directory | spod_get_data_dir |
Get valid dates for the specified data version | spod_get_valid_dates |
Get zones | spod_get_zones |
Get daily trip counts per origin-destionation municipality from 2022 onward | spod_quick_get_od |
Set the data directory | spod_set_data_dir |