get_which_gbfs_feeds {gbfs} | R Documentation |
Get dataframe of bikeshare feeds released by a city
Description
Of the different types of feeds supplied by the gbfs, some are required, some are conditionally required, and some are optional. This function grabs a list of each of the feeds supplied by a given city, as well as the URLs to access them.
Usage
get_which_gbfs_feeds(city)
Arguments
city |
A character string that can be matched to a gbfs feed. The recommended argument is a system ID supplied in the output of [get_gbfs_cities()], but will also attempt to match to the URL of an active .json feed or city name. |
Value
A data.frame
containing the feeds supplied by
a city. . The 'feed' column supplies the name of the relevant .json feeds,
while the entries in the 'URL' column supply the feeds themselves.
Source
North American Bikeshare Association, General Bikeshare Feed Specification https://github.com/MobilityData/gbfs/blob/master/gbfs.md
Examples
# grab all of the feeds released by portland
get_which_gbfs_feeds(city = "biketown_pdx")