Get the latest measurements by locations_id.
Usage
list_location_latest(
locations_id,
datetime_min = NULL,
limit = NULL,
page = NULL,
as_data_frame = TRUE,
dry_run = FALSE,
rate_limit = FALSE,
api_key = NULL
)Arguments
- locations_id
An integer representing the OpenAQ locations_id.
- datetime_min
A POSIXct datetime specifying the minimum datetime for filtering results, default is
NULL.- limit
An integer specifying the maximum number of results to return, default is
100.- page
An integer specifying the page number for paginated results, default is
1.- as_data_frame
A logical for toggling whether to return results as data frame or list, default is
TRUE.- dry_run
A logical for toggling a dry run of the request, default is
FALSE.- rate_limit
A logical for toggling automatic rate limiting based on rate limit headers, default is
FALSE.- api_key
A valid OpenAQ API key string, default is
NULL.
