| ISOResponsibleParty | R Documentation |
ISOResponsibleParty
ISOResponsibleParty
R6Class object.
Object of R6Class for modelling an ISO ResponsibleParty
geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOResponsibleParty
individualNameindividualName
organisationNameorganisationName
positionNamepositionName
contactInfocontactInfo
rolerole
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
ISOResponsibleParty$new(xml = NULL)
xmlobject of class XMLInternalNode-class
setIndividualName()Set individual name
ISOResponsibleParty$setIndividualName(individualName, locales = NULL)
individualNameindividual name
localeslist of localized texts. Default is NULL
setOrganisationName()Set organisation name
ISOResponsibleParty$setOrganisationName(organisationName, locales = NULL)
organisationNameorganisation name
localeslist of localized texts. Default is NULL
setPositionName()Set position name
ISOResponsibleParty$setPositionName(positionName, locales = NULL)
positionNameposition name
localeslist of localized texts. Default is NULL
setContactInfo()Set contact info
ISOResponsibleParty$setContactInfo(contactInfo)
contactInfoobject of class ISOContact
setRole()Set role
ISOResponsibleParty$setRole(role)
rolerole 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)
deepWhether to make a deep clone.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ISO 19115:2003 - Geographic information – Metadata
#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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.