aqs_fields_by_service {RAQSAPI}R Documentation

aqs_fieldsbyservice

Description

[Stable] Returns a tibble or an AQS_Data Mart_APIv2 S3 object with the list and definitions of fields in the service requested.

Usage

aqs_fields_by_service(service, return_header = FALSE)

Arguments

service

a string which represents the services provided by the AQS API. For a list of available services @seealso https://aqs.epa.gov/aqsweb/documents/data_api.html#services

return_header

If FALSE (default) only returns data requested. If TRUE returns a AQSAPI_v2 object which is a two item list that contains header information returned from the API server mostly used for debugging purposes in addition to the data requested.

Value

a tibble or an AQS_Data Mart_APIv2 S3 object with containing the list and definitions of fields requested service

Examples

# Returns a tibble containing a list and definitions
          #  of fields in the Sample Data service
         ## Not run: aqs_fieldsbyservice(service = "sampleData")


[Package RAQSAPI version 2.0.5 Index]