ISOResponsibleParty
ISOResponsibleParty
ISOResponsibleParty class
R6Class
object.
Object of R6Class
for modelling an ISO ResponsibleParty
#create a responsible party element md <- ISOResponsibleParty$new() md$setIndividualName("someone") md$setOrganisationName("somewhere") md$setPositionName("someposition") md$setRole("pointOfContact") #add contact 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) md$setContactInfo(contact) xml <- md$encode()
ISO 19115:2003 - Geographic information -- Metadata
Emmanuel Blondel emmanuel.blondel1@gmail.com
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> ISOResponsibleParty
individualName
: individualName
organisationName
: organisationName
positionName
: positionName
contactInfo
: contactInfo
role
: role
new()
Initializes object
ISOResponsibleParty$new(xml = NULL)
xml
: object of class XMLInternalNode-class
setIndividualName()
Set individual name
ISOResponsibleParty$setIndividualName(individualName, locales = NULL)
individualName
: individual name
locales
: list of localized texts. Default is NULL
setOrganisationName()
Set organisation name
ISOResponsibleParty$setOrganisationName(organisationName, locales = NULL)
organisationName
: organisation name
locales
: list of localized texts. Default is NULL
setPositionName()
Set position name
ISOResponsibleParty$setPositionName(positionName, locales = NULL)
positionName
: position name
locales
: list of localized texts. Default is NULL
setContactInfo()
Set contact info
ISOResponsibleParty$setContactInfo(contactInfo)
contactInfo
: object of class ISOContact
setRole()
Set role
ISOResponsibleParty$setRole(role)
role
: role object of class ISORole or any character
among values returned by `ISORole$values()`
clone()
The objects of this class are cloneable with this method.
ISOResponsibleParty$clone(deep = FALSE)
deep
: Whether to make a deep clone.