# we can grab the free bike status feed for portland,
# oregon's bikeshare program in several ways! first, supply the `city`
# argument as a URL, and save to file by leaving output
# set to it's default. usually, we would supply a character
# string (like "pdx", maybe,) for the `directory` argument
# instead of `tempdir`.
get_system_information(city =
"https://gbfs.lyft.com/gbfs/1.1/pdx/en/system_information.json",
directory = tempdir())
# or, instead, just supply the name of
# the city as a string and return the output as a dataframe
get_system_information(city = "biketown_pdx",
output = "return")
Run the code above in your browser using DataLab