cancel | R Documentation |
Cancel process for geojob
cancel(.Object)
## S4 method for signature 'geojob'
cancel(.Object)
## S4 method for signature 'missing'
cancel(.Object)
.Object |
a geojob object with an active geo-web processing request. |
cancel is a method for cancelling a geo-web processing request.
A geojob object with no active job
check
, start
wd <- webdata('prism')
wg <- webgeom('state::New Hampshire')
wp <- webprocess()
if(!any(is.null(wp), is.null(wg), is.null(wd))) {
gj <- geojob()
xml(gj) <- XML(wg, wd, wp)
url(gj) <- url(wp)
}
## Not run:
gj <- start(gj)
gj <- cancel(gj)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.