# NOT RUN {
# we can grab the system information feed for portland,
# oregon in one of 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`.
# }
# NOT RUN {
get_system_information(city =
"http://biketownpdx.socialbicycles.com/opendata/system_information.json",
directory = tempdir())
# }
# NOT RUN {
# or, instead, just supply the name of
# the city as a string.
# }
# NOT RUN {
get_system_information(city = "portland",
directory = tempdir())
# }
# NOT RUN {
# instead of saving the output as a file, we can
# just return the output as a dataframe
# }
# NOT RUN {
get_system_information(city = "portland",
output = "return")
# }
Run the code above in your browser using DataLab