ISODistributor | R Documentation |
ISODistributor
ISODistributor
R6Class
object.
Object of R6Class
for modelling an ISODistributor
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISODistributor
distributorContact
distributorContact : ISOResponsibleParty
distributionOrderProcess
distributionOrderProcess : ISOStandardOrderProcess
distributorFormat
distributorFormat : ISOFormat
distributorTransferOptions
distributorTransferOptions : ISODigitalTransferOptions
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()
new()
Initializes object
ISODistributor$new(xml = NULL)
xml
object of class XMLInternalNode-class
setContact()
Set contact
ISODistributor$setContact(contact)
contact
object of class ISOResponsibleParty
addStandardOrderProcess()
Adds standard order process
ISODistributor$addStandardOrderProcess(standardOrderProcess)
standardOrderProcess
standardOrderProcess object of class ISOStandardOrderProcess
TRUE
if added, FALSE
otherwise
delStandardOrderProcess()
Deletes standard order process
ISODistributor$delStandardOrderProcess(standardOrderProcess)
standardOrderProcess
standardOrderProcess object of class ISOStandardOrderProcess
TRUE
if deleted, FALSE
otherwise
addFormat()
Adds format
ISODistributor$addFormat(format)
format
format object of class ISOFormat
TRUE
if added, FALSE
otherwise
delFormat()
Deletes format
ISODistributor$delFormat(format)
format
format object of class ISOFormat
TRUE
if deleted, FALSE
otherwise
addDigitalTransferOptions()
Adds digital transfer options
ISODistributor$addDigitalTransferOptions(digitalTransferOptions)
digitalTransferOptions
object of class ISODigitalTransferOptions
TRUE
if added, FALSE
otherwise
delDigitalTransferOptions()
Deletes digital transfer options
ISODistributor$delDigitalTransferOptions(digitalTransferOptions)
digitalTransferOptions
object of class ISODigitalTransferOptions
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISODistributor$clone(deep = FALSE)
deep
Whether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
- ISO 19139 https://schemas.isotc211.org/19139/-/gmd/1.0/gmd/#element_MD_Distributor
- ISO 19115-3 https://schemas.isotc211.org/19115/-3/mrd/1.0/mrd/#element_MD_Distributor
md <- ISODistributor$new()
rp <- ISOResponsibleParty$new()
rp$setIndividualName("someone")
rp$setOrganisationName("somewhere")
rp$setPositionName("Data manager")
contact <- ISOContact$new()
phone <- ISOTelephone$new()
phone$setVoice("myphonenumber")
phone$setFacsimile("myfacsimile")
contact$setPhone(phone)
address <- ISOAddress$new()
address$setDeliveryPoint("theaddress")
address$setCity("thecity")
address$setPostalCode("111")
address$setCountry("France")
address$setEmail("someone@theorg.org")
contact$setAddress(address)
res <- ISOOnlineResource$new()
res$setLinkage("http://www.somewhereovertheweb.org")
res$setName("somename")
contact$setOnlineResource(res)
rp$setContactInfo(contact)
rp$setRole("author")
md$setContact(rp)
format <- ISOFormat$new()
format$setName("name")
format$setVersion("1.0")
format$setAmendmentNumber("2")
format$setSpecification("specification")
md$addFormat(format)
xml <- md$encode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.