Description Usage Arguments Value Examples
View source: R/historical.service.R
This service parses the metadata record and creates a summary specific to the HISTORICAL theme, with subtype being defined by the attribute name.
1 | historical.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 | serviceEndpoint <- system.file('extdata',
"NewJerseyS_shorelines.shp.xml", package = 'hazardItems')
attribute <- 'date'
summary <- historical.service(serviceEndpoint,attribute)
print(summary)
sink('output.json')
cat(summary)
sink()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.