enable_rate_limit() and
get_rate_limit(). Automatic rate-limit handling is now
always enabled and is no longer configurable through the
RATE_LIMIT environment variable.rate_limit argument from all resource
functions.req_after() no longer errors when the
X-RateLimit-Reset response header is missing or
non-numeric; it now returns NA in these cases.validate_datetime() now treats NA and the
string "NA" as equivalent to NULL, rather than
raising an error.extract_parameters() now treats NA and
"NA" values as unset, substituting the parameter default
and skipping validation, instead of passing them through to
validators.parse_openaq_timestamp() now returns NA
for unsupported input types instead of raising an error.is.numeric() guards in
validate_coordinates() and
validate_bbox().webfakes to Suggests for testing HTTP retry
behavior with a local mock server.validate_data_rollup_compat() to validate
compatibility between data and rollup
parameters in list_sensor_measurements().list_sensor_measurements(),
get_period_field(), get_summary_field(),
validate_data_rollup_compat(), and
transform_vector_to_string().validate_date() and transform_date()
to support date-only query parameters when data is
"days" or larger. Includes tests for both functions.maps from Imports to
Suggests. World boundary overlay in
plot.openaq_locations_data.frame() is now optional. A
message is displayed if maps is not installed.rstudioapi from Imports to
Suggests. API key prompting in RStudio is now optional with
a fallback error message when running outside RStudio.purrr and graphics and
utils from Imports.isTRUE() usage for
as_data_frame checks across all resource functions.validate_datetime() to accept a
name parameter.list_sensor_measurements() to use
validate_date() or validate_datetime() based
on the data argument. Tests updated accordingly.dry_run early return in
list_manufacturer_instruments().rate_limit and api_key
arguments in fetch() calls in
list_location_latest() and
list_parameter_latest().openaq_licenses_data.frame
in as.data.frame.openaq_manufacturers_list().tbl$avg <- as.numeric(tbl$sd) typo in
as.data.frame.openaq_measurements_list(), column is now
correctly assigned to tbl$sd.as.data.frame
methods across all resource files.y parameter missing default NULL in
plot.openaq_measurements_data.frame() and
plot.openaq_measurements_list().list_location_measurements() function.validate_numeric_vectors
to prevent out of bounds integers and doublesradius
parameters to fit within max value of 25000 (25km)get_location_sensors to
list_locations_sensorsparameter_names field in countries resource function
as.data.frame fixed to correctly list name values.parameter_ids field in countries resource function
as.data.frame fixed to correctly list ids.instrument_ids field in manufacturers resource function
as.data.frame fixed to correctly list ids.parameter_ids field in providers resource function
as.data.frame fixed to correctly list ids.data parameter to correctly pass
datetime_from and/or datetime_to vs
date_to and date_from for
list_sensor_measurements.providers_id, parameters_id,
owner_contacts_id, manufacturers_id,
licenses_id, instruments_id, and
countries_id function arguments to be numeric vectorscoordinates function argument to be a named
numeric vector with fields latitude and
longitudebbox function argument to be a named numeric
vector with fields xmin, ymin,
xmax and ymax.deep_get function for handling nullable fields in
as.data.frame methods.dry_run check in licenses resource functionsInitial release