checkStatus | R Documentation |
checkStatus
checks if a previous request is complete and downloads available data
checkStatus(landfire_api, verbose = TRUE, method = "curl")
landfire_api |
|
verbose |
If FALSE suppress all status messages |
method |
Passed to |
Returns a landfire_api
object with named elements:
request
- list with elements query
, date
, url
, job_id
, request
,dwl_url
content
- Informative messages passed from API
response
- Full response
status
- Final API status, one of "Failed", "Succeeded", or "Timed out"
time
- time of job completion
path
- path to save directory
## Not run:
products <- c("ASP2020", "ELEV2020", "230CC")
aoi <- c("-123.7835", "41.7534", "-123.6352", "41.8042")
email <- "email@example.com"
resp <- landfireAPIv2(products, aoi, email, background = TRUE)
checkStatus(resp)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.