Man pages for spanishoddata
Get Spanish Origin-Destination Data

global_quiet_paramGlobal Quiet Parameter
spanishoddata-packagespanishoddata: Get Spanish Origin-Destination Data
spod_assert_packageChecks if a package is installed and _informs_ the user if...
spod_available_dataGet available data list
spod_available_data_s3Get available data list from Amazon S3 storage
spod_available_data_v1Get the available v1 data list
spod_available_data_v2Get the data dictionary
spod_check_filesCheck cached files consistency against checksums from S3
spod_citeCite the package and the data
spod_clean_zones_v1Fixes common issues in the zones data and cleans up variable...
spod_clean_zones_v2Fixes common issues in the zones data and cleans up variable...
spod_codebookView codebooks for v1 and v2 open mobility data
spod_compute_s3_etagCompute ETag for a file
spod_connectConnect to data converted to 'DuckDB' or hive-style 'parquet'...
spod_convertConvert data from plain text to duckdb or parquet format
spod_convert_dates_to_rangesConvert dates to ranges
spod_dates_argument_to_dates_seqConvert multiple formates of date arguments to a sequence of...
spod_disconnectSafely disconnect from data and free memory
spod_downloadDownload the data files of specified type, zones, and dates
spod_download_in_batchesDownload multiple files with progress bar in parallel
spod_download_zones_v1Downloads and extracts the raw v1 zones data
spod_duckdb_create_province_enumCreate province names ENUM in a duckdb connection
spod_duckdb_filter_by_datesFilter a duckdb conenction by dates
spod_duckdb_limit_resourcesSet maximum memory and number of threads for a 'DuckDB'...
spod_duckdb_number_of_tripsCreate a duckdb number of trips table
spod_duckdb_odCreates a duckdb connection to origin-destination data
spod_duckdb_overnight_staysCreate a duckdb overnight stays table
spod_duckdb_set_tempSet temp file for DuckDB connection
spod_expand_dates_from_regexFunction to expand dates from a regex
spod_fetch_municipalities_json_memoisedCache the municipalities geometries from the mapas-movilidad...
spod_files_sizesGet files sizes for remote files of v1 and v2 data and save...
spod_getGet tabular mobility data
spod_get_data_dirGet the data directory
spod_get_file_size_from_urlGet file size from URL
spod_get_hmac_secretGet the HMAC secret from the mapas-movilidad website
spod_get_hmac_secret_memoisedCache the HMAC secret to avoid repeated requests
spod_get_latest_v1_file_listGet latest file list from the XML for MITMA open mobility...
spod_get_latest_v2_file_listGet latest file list from the XML for MITMA open mobility...
spod_get_temp_dirGet temporary directory for DuckDB intermediate spilling
spod_get_valid_datesGet valid dates for the specified data version
spod_get_zonesGet zones
spod_get_zones_v1Retrieves the zones for v1 data
spod_get_zones_v2Retrieves the zones v2 data
spod_graphql_valid_datesGet valid dates from the GraphQL API
spod_infer_data_v_from_datesInfer data version from dates
spod_is_data_version_overlapsCheck if specified dates span both data versions
spod_match_data_typeMatch data types for normalisation
spod_match_data_type_for_local_foldersMatch data types to folders
spod_multi_download_with_progressDownload multiple files with progress bar sequentially
spod_query_od_memoisedCache the spod_query_od_raw function to avoid repeated...
spod_query_od_rawInternal function to query the GraphQL API for...
spod_quick_get_odGet daily trip counts per origin-destionation municipality...
spod_quick_get_zonesGet the municipalities geometries
spod_read_sqlLoad an SQL query, glue it, dplyr::sql it
spod_request_lengthGet the length of the request payload
spod_set_data_dirSet the data directory
spod_sql_where_datesGenerate a WHERE part of an SQL query from a sequence of...
spod_store_etagsGet Etags for locally saved v1 data files and save them into...
spod_subfolder_clean_data_cacheGet clean data subfolder name
spod_subfolder_metadata_cacheGet metadata cache subfolder name
spod_subfolder_raw_data_cacheGet raw data cache subfolder name
spod_unique_separated_idsRemove duplicate values in a semicolon-separated string
spod_zone_names_en2esTranslate zone names from English to Spanish
spanishoddata documentation built on June 16, 2025, 1:07 a.m.