ISOAggregateInformation: ISOAggregateInformation

ISOAggregateInformationR Documentation

ISOAggregateInformation

Description

ISOAggregateInformation

ISOAggregateInformation

Format

R6Class object.

Value

Object of R6Class for modelling a ISO AggregateInformation

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOAggregateInformation

Public fields

aggregateDataSetName

aggregate dataset name

aggregateDataSetIdentifier

aggregate dataset identifier

associationType

association type

initiativeType

initiative type

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOAggregateInformation$new(xml = NULL)
Arguments
xml

object of class XMLInternalNode-class


Method setAggregateDataSetName()

Set aggregate dataset name

Usage
ISOAggregateInformation$setAggregateDataSetName(datasetName)
Arguments
datasetName

object of class ISOCitation


Method setAggregateDataSetIdentifier()

Set aggregate dataset identifier

Usage
ISOAggregateInformation$setAggregateDataSetIdentifier(datasetIdentifier)
Arguments
datasetIdentifier

object of class ISOMetaIdentifier


Method setAssociationType()

Set association type

Usage
ISOAggregateInformation$setAssociationType(associationType)
Arguments
associationType

object of class ISOAssociationType or character value among values from ISOAssociationType$values()


Method setInitiativeType()

Set association type

Usage
ISOAggregateInformation$setInitiativeType(initiativeType)
Arguments
initiativeType

object of class ISOInitiativeType or character value among values from ISOInitiativeType$values()


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOAggregateInformation$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

ISO 19115:2003 - Geographic information – Metadata

Examples

  #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()
  

geometa documentation built on Oct. 29, 2022, 1:06 a.m.