algorithmVersion <- function(knife){
getCaps <- gGET(url(knife), query = list(
'service' = 'WPS', 'version' = version(knife),'request' = 'DescribeProcess', 'identifier'=algorithm(knife)[[1]]))
doc <- gcontent(getCaps)
version <- xml2::xml_attrs(xml2::xml_find_all(doc,'//ProcessDescription',
ns = pkg.env$NAMESPACES)[[1]])[['processVersion']]
return(version)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.