Skip to contents

Analysing up to 1 week of data

Quickly download and analyse just a few days of mobility data

spod_available_data()
Get available data list
spod_get_zones()
Get zones
spod_get()
Get tabular mobility data
spod_disconnect()
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()
Get available data list
spod_get_zones()
Get zones
spod_download()
Download the data files of specified type, zones, and dates
spod_convert()
Convert data from plain text to duckdb or parquet format
spod_connect()
Connect to data converted to DuckDB or hive-style parquet files
spod_disconnect()
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()
Get daily trip counts per origin-destionation municipality from 2022 onward

Helper functions

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