Description Usage Arguments Value Examples
View source: R/vulnerability.service.R
This service parses the metadata record and creates a summary specific to the VULNERABILITY theme, with subtype being defined by the attribute name.
1 | vulnerability.service(serviceEndpoint, attribute)
|
serviceEndpoint |
valid xml, either local or a url |
attribute |
an attribute to use form the shapefile corresponding to
|
Serialized JSON for summary
1 2 3 4 5 6 7 8 9 10 | ## Not run:
serviceEndpoint <- paste0('https://marine.usgs.gov/coastalhazards/csw/?',
'service=CSW&request=GetRecordById&version=2.0.2&typeNames=fgdc:metadata',
'&id=urn:uuid:12d6c1ee-a9e6-11e3-99f6-0050569524e0&',
'outputSchema=http://www.opengis.net/cat/csw/csdgm&elementSetName=full')
attribute <- 'DHIGH'
summary <- vulnerability.service(serviceEndpoint,attribute)
print(summary)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.