Last chance! 50% off unlimited learning
Sale ends in
ISOOnlineResource
Object of R6Class
for modelling an ISO Online Resource
R6Class
object.
linkage
[ISOURL
] linkage
protocol
[character
] protocol
name
[character
] name
description
[character
] description
function
[ISOOnLineFunction
] online function
new(xml)
This method is used to instantiate an ISOOnlineResource
setLinkage(linkage)
Sets the linkage (URL), an object of class character
or ISOURL
setProtocol(protocol, locales)
Sets the protocol. Locale names can be specified as list
with the locales
argument.
setName(name, locales)
Sets the name. Locale names can be specified as list
with the locales
argument.
setDescription(description, locales)
Sets the description. Locale names can be specified as list
with the locales
argument.
setOnLineFunction(onLineFunction)
Sets the online function, object of class ISOOnLineFunction
or character
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ISO 19115:2003 - Geographic information -- Metadata
md <- ISOOnlineResource$new()
md$setLinkage("http://somelink")
md$setName("name")
md$setDescription("description")
md$setProtocol("protocol")
md$setOnLineFunction("download")
xml <- md$encode()
Run the code above in your browser using DataLab