Get a single provider from providers resource.
Usage
get_provider(
providers_id,
as_data_frame = TRUE,
dry_run = FALSE,
api_key = NULL
)
Arguments
- providers_id
An integer representing the OpenAQ providers_id.
- 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.
- api_key
A valid OpenAQ API key string, default is NULL.
Value
A data frame or a list of the results.
Examples
if (FALSE) { # interactive()
provider <- get_provider(42)
}