getAQDMlist: getAQDMlist

Description Usage Arguments Details Value Examples

Description

Function for request a list of valid values for a given parameter from U.S. EPA's Air Quality Data Mart.

Usage

1

Arguments

name

The name of the variable for which you want the list of valid values.

...

name/value pairs for subsetting the requested data. (See details)

Details

If the variable requires other variables when querying for data you must provide those other variables to getAQDMlist as well. (e.g., you must provide a state code if name = 'county'.

Value

Returns a data.frame with 2 columns. The first column contains the valide code, the second column contains a description of that code.

Examples

1
2
3
4
5
6
7
8
## Not run: 
 #Get a data.frame of counties in Indiana
 counties <- getAQDMlist("county", state = "18")

 #Get a list of criteria pollutants
 crit <- getAQDMlist("param", pc = "CRITERIA")

## End(Not run)

ebailey78/raqdm documentation built on May 15, 2019, 7:29 p.m.