mobdb_feed_url: Get download URL for a feed

View source: R/api-feeds.R

mobdb_feed_urlR Documentation

Get download URL for a feed

Description

Convenience function to quickly get the direct download or source URL for a feed. This is useful for passing to tidytransit::read_gtfs() or similar functions.

Usage

mobdb_feed_url(feed_id)

Arguments

feed_id

A string. The unique identifier for the feed.

Value

A string. The direct download URL, or NULL if not available.

Examples


# Get download URL
url <- mobdb_feed_url("mdb-53")


# Use with tidytransit
library(tidytransit)
gtfs <- read_gtfs(url)


mobdb documentation built on Aug. 29, 2026, 1:07 a.m.