Skip to contents

Get started

Essential functions to begin using mobdb

mobdb_has_key()
Check if Mobility Database API token is configured
mobdb_set_key()
Set Mobility Database API refresh token
mobdb_browse()
Load the Mobility Database in browser

Discover feeds

Search and explore available transit feeds

mobdb_search() experimental
Search for feeds across the Mobility Database
feeds()
List and filter GTFS Schedule, GTFS-RT, and GBFS feeds
feeds_bbox()
Find GTFS Schedule feeds by location

Download feeds

Download feeds for analysis

download_feed()
Download GTFS Schedule feeds
mobdb_read_gtfs() superseded
Read GTFS feed directly from Mobility Database

Assess feed quality

Evaluate feed quality using MobilityData validation reports

filter_by_validation()
Filter feeds or datasets by validation quality
get_validation_report()
Get GTFS-Schedule validation report for feeds or datasets
view_validation_report()
View GTFS-Schedule validation report in browser

Historical datasets

Access and explore historical feed versions

mobdb_datasets()
Get datasets for a feed
mobdb_get_dataset()
Get details for a specific dataset

Work with feed metadata

Extract and manipulate feed information

mobdb_extract_datasets()
Extract latest dataset information from search results
mobdb_extract_locations()
Extract location information from search results
mobdb_extract_urls()
Extract download URLs from feed results
mobdb_get_feed()
Get details for a specific feed
mobdb_feed_url()
Get download URL for a feed

Utilities

mobdb_cache_clear()
Clear mobdb cache
mobdb_cache_info()
Show cache information
mobdb_cache_list()
List cached files
mobdb_cache_path()
Set or show mobdb cache directory