Last chance! 50% off unlimited learning
Sale ends in
ISOMedium
Object of R6Class
for modelling an ISO Citation
R6Class
object.
name
[ISOMediumName
|character
] name
density
[numeric
] density
densityUnits
character
density unit
volumes
[integer
] volumes
mediumFormat
[ISOMediumFormat
|character
] format
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.
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