cancelJob | R Documentation |
cancelJob()
sends a request to cancel a LFPS API request
cancelJob(job_id)
job_id |
The job ID of the LFPS API request as a character string |
NULL. Prints a message to the console about the job status.
## 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)
job_id <- resp$request$job_id #Get job_id from a previous request
cancelJob("job_id")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.