Man pages for spanishoddata
Get Spanish Origin-Destination Data

global_quiet_paramGlobal Quiet Parameter
spanishoddata-packagespanishoddata: Get Spanish Origin-Destination Data
spod_available_dataGet available data list
spod_available_data_v1Get the available v1 data list
spod_available_data_v2Get the data dictionary
spod_available_ramGet available RAM
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_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_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_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_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_quick_get_odGet daily trip counts per origin-destionation municipality...
spod_read_sqlLoad an SQL query, glue it, dplyr::sql it
spod_set_data_dirSet the data directory
spod_sql_where_datesGenerate a WHERE part of an SQL query from a sequence of...
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 April 12, 2025, 1:24 a.m.