ISODistribution
ISODistribution
R6Class
object.
Object of R6Class
for modelling an ISO Distribution
- ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_MD_Distribution
- ISO 19115-3 https://schemas.isotc211.org/19115/-3/mrd/1.0/mrd/#element_MD_Distribution
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISODistribution
distributionFormat
distributionFormat [0..*]: ISOFormat
distributor
distributor [0..*]: ISODistributor
transferOptions
transferOptions [0..*]: ISODigitalTransferOptions
Inherited methods
geometa::geometaLogger$ERROR()
geometa::geometaLogger$INFO()
geometa::geometaLogger$WARN()
geometa::ISOAbstractObject$addFieldAttrs()
geometa::ISOAbstractObject$addListElement()
geometa::ISOAbstractObject$checkMetadataStandardCompliance()
geometa::ISOAbstractObject$contains()
geometa::ISOAbstractObject$createLocalisedProperty()
geometa::ISOAbstractObject$decode()
geometa::ISOAbstractObject$delListElement()
geometa::ISOAbstractObject$encode()
geometa::ISOAbstractObject$getClass()
geometa::ISOAbstractObject$getClassName()
geometa::ISOAbstractObject$getNamespaceDefinition()
geometa::ISOAbstractObject$isDocument()
geometa::ISOAbstractObject$isFieldInheritedFrom()
geometa::ISOAbstractObject$print()
geometa::ISOAbstractObject$save()
geometa::ISOAbstractObject$setAttr()
geometa::ISOAbstractObject$setCodeList()
geometa::ISOAbstractObject$setCodeListValue()
geometa::ISOAbstractObject$setCodeSpace()
geometa::ISOAbstractObject$setHref()
geometa::ISOAbstractObject$setId()
geometa::ISOAbstractObject$setIsNull()
geometa::ISOAbstractObject$setValue()
geometa::ISOAbstractObject$stopIfMetadataStandardIsNot()
geometa::ISOAbstractObject$validate()
geometa::ISOAbstractObject$wrapBaseElement()
addDistributor()
Adds distributor
distributor
distributor object of class ISODistributor
delDistributor()
Deletes distributor
distributor
distributor object of class ISODistributor
addDigitalTransferOptions()
Adds digital transfer options
options
options object of class ISODigitalTransferOptions
setDigitalTransferOptions()
Sets digital transfer options
options
options object of class ISODigitalTransferOptions
delDigitalTransferOptions()
Deletes digital transfer options
options
options object of class ISODigitalTransferOptions
md <- ISODistribution$new()
dto <- ISODigitalTransferOptions$new()
for(i in 1:3){
or <- ISOOnlineResource$new()
or$setLinkage(paste0("http://somelink",i))
or$setName(paste0("name",i))
or$setDescription(paste0("description",i))
or$setProtocol("WWW:LINK-1.0-http--link")
dto$addOnlineResource(or)
}
md$setDigitalTransferOptions(dto)
#> Warning: Method 'setDigitalTransferOptions' is deprecated, please use 'addDigitalTransferOptions'!
#> [1] TRUE
xml <- md$encode()
#> [geometa][INFO] Object 'ISODistribution' is VALID according to ISO 19139 XML schemas!