:no_entry: ARCHIVED :no_entry: Accesses Air Quality Data from the Open Data Platform OpenAQ
Fix code using dplyr (@hadley, #57)
Fix tests that used class() == .
Skip a vcr-enabled test on CRAN because of a (known, under investigation) vcr problem with encoding. https://github.com/ropensci/vcr/issues/158
Actually fixes the bug due to the max value of page, not only in the docs this time.
Bug fixes (page has now a maximum argument; no longer passing an empty param in the query)
Replacement of tidyr
and dplyr
deprecated functions
Use of man-roxygen and @template
to reduce roxygen2
docs duplication
Tests with vcr
Removal of the openair
vignette
Changes are adaptations to the OpenAQ API changes
Updates documentation regarding data availability (90 days worth of data via the API).
Does no longer return an error if the API health status is unknown.
Adds waiting and messaging when too many requests
The httr dependency has been replaced with crul.
Now if not giving a value to limit all pages corresponding to a query are automatically retrieved, using async requests.
Better use of the status page.
Thanks to Mikayla Murphy ropenaq
functions now use the new maximal limit per call which is 10,000.
longitude
, latitude
and coordinates
arguments to aq_latest
, aq_locations
and aq_measurements
.attribution
, source_name
and averaging_period
arguments to aq_measurements
.aq_measurements
, now outputs the right local time and not the UTC time for locations behind UTC time.NEWS.md
file to track changes to the package.