getAQDMrequest: getAQDMrequest

Description Usage Arguments Value Examples

Description

Retrieve a data.frame requested with getAQDMdata(synchronous = FALSE)

Usage

1
getAQDMrequest(request, ...)

Arguments

request

an object of the type AQDMrequest produced by getAQDMdata.

...

Additional arguments to be passed to read.table.

Value

A data.frame containing the data requested by getAQDMdata.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 
 # Send a request to AQDM
 x <- getAQDMdata(user = "me@email.com", pw = "abc123", param = "44201",
                  state = 18, county = 89, bdate = "20140101",
                  edate = "20141231")

 # Once you get an email for EPA saying the data is ready:
 df <- getAQDMrequest(x)

## End(Not run)

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