aqs_metadata_service: aqs_metadata_service

Description Usage Arguments Value

View source: R/AQSAPI_helperfunctions.R

Description

A helper function for functions which use the metaData service from the AQS API. This function is not intended to be called directly by the end user

Usage

1
2
3
4
5
aqs_metadata_service(
  filter,
  service = NA_character_,
  AQS_domain = "aqs.epa.gov"
)

Arguments

filter

a character string representing the filter being applied

service

a character string representing the service

AQS_domain

a R string object containing the domain that should be used in constructing the API call.

Value

a AQS_DATAMART_APIv2 S3 object that is the return value from the AQS API. A AQS_DATAMART_APIv2 is a 2 item named list in which the first item ($Header) is a tibble of header information from the AQS API and the second item ($Data) is a tibble of the data returned.


RAQSAPI documentation built on Jan. 29, 2022, 1:08 a.m.