Description Usage Arguments Details Value Examples
Function for request a list of valid values for a given parameter from U.S. EPA's Air Quality Data Mart.
1 |
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) |
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'
.
Returns a data.frame
with 2 columns. The first column contains the valide code, the
second column contains a description of that code.
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.