testthat::with_mock()
to
testthat::with_mocked_bindings()
in package tests (#12).master
to main
.get_gbfs
, can now return its output as
a named list, where each entry is a GBFS dataframe.get_which_gbfs_feeds
function, which supplies a table
giving all of the available feeds for a city!city
argument–in addition to a string
that matches the city name, the package can now find the appropriate
feed given any subfeed of a bikeshare system.output
argument, allowing users to either save the
outputs as .Rds
files or return them as list or dataframe objects.
As a result, the directory argument is no longer required if output
= "return"
get_gbfs_cities
that lists all of the cities currently releasing
feeds! This function will help inform users who do not have a
specific city already in mind. Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.