Skip to contents

Analysing up to 1 week of data

Quickly download and analyse just a few days of mobility data

spod_available_data() stable
Get available data list
spod_get_zones() stable
Get zones
spod_get() stable
Get tabular mobility data
spod_disconnect() stable
Safely disconnect from data and free memory

Analysing long time periods (months or even years)

Download data for longer periods, convert them into analysis ready format such as DuckDB or Parquet for out-of-memory analysis of this large data

spod_available_data() stable
Get available data list
spod_get_zones() stable
Get zones
spod_download() stable
Download the data files of specified type, zones, and dates
spod_convert() stable
Convert data from plain text to duckdb or parquet format
spod_connect() stable
Connect to data converted to DuckDB or hive-style parquet files
spod_disconnect() stable
Safely disconnect from data and free memory

Analysing up to 1 day of trips with no extra variables

Quickly get a single day of flows between municipalities (without hourly data or any other attributes) for 2022 and onwards

spod_quick_get_od() experimental
Get daily trip counts per origin-destionation municipality from 2022 onward

Helper functions

spod_codebook() stable
View codebooks for v1 and v2 open mobility data
spod_available_data() stable
Get available data list
spod_get_valid_dates() stable
Get valid dates for the specified data version
spod_set_data_dir() stable
Set the data directory
spod_get_data_dir() stable
Get the data directory
spod_cite()
Cite the package and the data