powered by
ISOMedium
Object of R6Class for modelling an ISO Citation
R6Class
R6Class object.
name
[ISOMediumName|character] name
ISOMediumName
character
density
[numeric] density
numeric
densityUnits
character density unit
volumes
[integer] volumes
integer
mediumFormat
[ISOMediumFormat|character] format
ISOMediumFormat
mediumNode
character note
new(xml)
This method is used to instantiate an ISOMedium
setName(name)
Set the medium name, object of class 'character' or ISOMediumName
addDensity(density)
Adds a density
delDensity(density)
Deletes density
setDensityUnits(densityUnits)
Set density unit
setVolumes(volumes)
Set volumes
addMediumFormat(mediumFormat)
Adds a medium format, object of class 'character' or ISOMediumFormat
delMediumFormat(mediumFormat)
Deletes a medium format, object of class 'character' or ISOMediumFormat
setMediumNote(mediumNote, locales)
Set a medium note. Locale names can be specified as list with the locales argument.
list
locales
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ISO 19115:2003 - Geographic information -- Metadata
md <- ISOMedium$new() md$setName("satellite") md$addDensity(1.0) md$setDensityUnits("string") md$setVolumes(1L) md$addMediumFormat("tar") md$setMediumNote("some note") xml <- md$encode()
Run the code above in your browser using DataLab