Learn R Programming

geometa (version 0.6-2)

ISOOnlineResource: ISOOnlineResource

Description

ISOOnlineResource

Usage

ISOOnlineResource

Arguments

Value

Object of R6Class for modelling an ISO Online Resource

Format

R6Class object.

Fields

linkage

[ISOURL] linkage

protocol

[character] protocol

name

[character] name

description

[character] description

function

[ISOOnLineFunction] online function

Methods

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

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
# NOT RUN {
  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