ISOAggregateInformation | R Documentation |
ISOAggregateInformation
ISOAggregateInformation
R6Class
object.
Object of R6Class
for modelling a ISO AggregateInformation
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOAggregateInformation
aggregateDataSetName
aggregate dataset name
aggregateDataSetIdentifier
aggregate dataset identifier
associationType
association type
initiativeType
initiative type
geometa::geometaLogger$ERROR()
geometa::geometaLogger$INFO()
geometa::geometaLogger$WARN()
geometa::ISOAbstractObject$addFieldAttrs()
geometa::ISOAbstractObject$addListElement()
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$validate()
geometa::ISOAbstractObject$wrapBaseElement()
new()
Initializes object
ISOAggregateInformation$new(xml = NULL)
xml
object of class XMLInternalNode-class
setAggregateDataSetName()
Set aggregate dataset name
ISOAggregateInformation$setAggregateDataSetName(datasetName)
datasetName
object of class ISOCitation
setAggregateDataSetIdentifier()
Set aggregate dataset identifier
ISOAggregateInformation$setAggregateDataSetIdentifier(datasetIdentifier)
datasetIdentifier
object of class ISOMetaIdentifier
setAssociationType()
Set association type
ISOAggregateInformation$setAssociationType(associationType)
associationType
object of class ISOAssociationType or character value among values
from ISOAssociationType$values()
setInitiativeType()
Set association type
ISOAggregateInformation$setInitiativeType(initiativeType)
initiativeType
object of class ISOInitiativeType or character value among values
from ISOInitiativeType$values()
clone()
The objects of this class are cloneable with this method.
ISOAggregateInformation$clone(deep = FALSE)
deep
Whether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ISO 19115:2003 - Geographic information – Metadata
#encoding
md <- ISOAggregateInformation$new()
#adding a point of contact
rp <- ISOResponsibleParty$new()
rp$setIndividualName("someone")
rp$setOrganisationName("somewhere")
rp$setPositionName("someposition")
rp$setRole("pointOfContact")
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)
#citation
ct <- ISOCitation$new()
ct$setTitle("sometitle")
d <- ISODate$new()
d$setDate(ISOdate(2015, 1, 1, 1))
d$setDateType("publication")
ct$addDate(d)
ct$setEdition("1.0")
ct$setEditionDate(ISOdate(2015,1,1))
ct$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
ct$addPresentationForm("mapDigital")
ct$addCitedResponsibleParty(rp)
md$setAggregateDataSetName(ct)
md$setAssociationType("source")
md$setInitiativeType("investigation")
xml <- md$encode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.