ISOCitation | R Documentation |
ISOCitation
ISOCitation
R6Class
object.
Object of R6Class
for modelling an ISO Citation
geometa::geometaLogger
-> geometa::ISOAbstractObject
-> geometa::ISOAbstractCitation
-> ISOCitation
title
title
alternateTitle
alternate title
date
date list
edition
edition
editionDate
edition date
identifier
identifier list
citedResponsibleParty
list of cited responsible parties
presentationForm
list of presentation forms
series
series
otherCitationDetails
other citation details
collectiveTitle
collective title (for ISO 19139)
ISBN
ISBN
ISSN
ISSN
onlineResource
online resource (for ISO 19115-3)
graphic
graphic (for ISO 19115-3)
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
ISOCitation$new(xml = NULL)
xml
object of class XMLInternalNode-class
setTitle()
Set title
ISOCitation$setTitle(title, locales = NULL)
title
title
locales
list of localized names. Default is NULL
addAlternateTitle()
Adds alternate title
ISOCitation$addAlternateTitle(alternateTitle, locales = NULL)
alternateTitle
alternate title
locales
list of localized titles. Default is NULL
TRUE
if added, FALSE
otherwise
delAlternateTitle()
Deletes alternate title
ISOCitation$delAlternateTitle(alternateTitle, locales = NULL)
alternateTitle
alternate title
locales
list of localized titles. Default is NULL
TRUE
if deleted, FALSE
otherwise
addDate()
Adds date
ISOCitation$addDate(date)
date
date
TRUE
if added, FALSE
otherwise
setEdition()
Set edition
ISOCitation$setEdition(edition, locales = NULL)
edition
edition
locales
list of localized editions. Default is NULL
setEditionDate()
Sets the edition date, either an ISODate object containing date and dateType or
a simple R date "POSIXct"/"POSIXt" object. For thesaurus citations, an ISODate
should be used while for the general citation of ISODataIdentification
,
a simple R date should be used.
ISOCitation$setEditionDate(editionDate)
editionDate
object of class Date or POSIXct
addIdentifier()
Adds identifier
ISOCitation$addIdentifier(identifier)
identifier
identifier, object of class ISOMetaIdentifier
locales
list of localized identifiers. Default is NULL
TRUE
if added, FALSE
otherwise
delIdentifier()
Deletes identifier
ISOCitation$delIdentifier(identifier)
identifier
identifier, object of class ISOMetaIdentifier
locales
list of localized identifiers. Default is NULL
TRUE
if deleted, FALSE
otherwise
addCitedResponsibleParty()
Adds cited responsible party
ISOCitation$addCitedResponsibleParty(rp)
rp
cited responsible party, object of class ISOResponsibleParty (in ISO 19139) or ISOResponsibility (in ISO 19115-3)
locales
list of localized responsible parties. Default is NULL
TRUE
if added, FALSE
otherwise
delCitedResponsibleParty()
Deletes cited responsible party
ISOCitation$delCitedResponsibleParty(rp)
rp
cited responsible party, object of class ISOResponsibleParty (in ISO 19139) or ISOResponsibility (in ISO 19115-3)
locales
list of localized responsible parties. Default is NULL
TRUE
if deleted, FALSE
otherwise
addPresentationForm()
Adds presentation form
ISOCitation$addPresentationForm(presentationForm)
presentationForm
presentation form, object of class ISOPresentationForm or
character among values returned by ISOPresentationForm$values()
TRUE
if added, FALSE
otherwise
delPresentationForm()
Deletes presentation form
ISOCitation$delPresentationForm(presentationForm)
presentationForm
presentation form, object of class ISOPresentationForm or
character among values returned by ISOPresentationForm$values()
TRUE
if deleted, FALSE
otherwise
setSeries()
Set series
ISOCitation$setSeries(series)
series
object of class ISOCitationSeries
setOtherCitationDetails()
Set other citation details
ISOCitation$setOtherCitationDetails(otherCitationDetails, locales = NULL)
otherCitationDetails
other citation details
locales
list of localized other citation details. Default is NULL
setCollectiveTitle()
Set collective title
ISOCitation$setCollectiveTitle(collectiveTitle, locales = NULL)
collectiveTitle
collective title
locales
list of localized titles. Default is NULL
setISBN()
Set ISBN
ISOCitation$setISBN(isbn)
isbn
isbn
setISSN()
Set ISSN
ISOCitation$setISSN(issn)
issn
issn
addOnlineResource()
Adds online resource
ISOCitation$addOnlineResource(onlineResource)
onlineResource
object of class ISOOnlineResource
TRUE
if added, FALSE
otherwise
delOnlineResource()
Deletes online resource
ISOCitation$delOnlineResource(onlineResource)
onlineResource
object of class ISOOnlineResource
TRUE
if added, FALSE
otherwise
addGraphic()
Adds graphic
ISOCitation$addGraphic(graphic)
graphic
object of class ISOBrowseGraphic
TRUE
if added, FALSE
otherwise
delGraphic()
Adds graphic
ISOCitation$delGraphic(graphic)
graphic
object of class ISOBrowseGraphic
TRUE
if deleted, FALSE
otherwise
clone()
The objects of this class are cloneable with this method.
ISOCitation$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_CI_Citation
- ISO 19115-3 https://schemas.isotc211.org/19115/-3/cit/2.0/cit/#element_CI_Citation
#create ISOCitation
md <- ISOCitation$new()
md$setTitle("sometitle")
md$setEdition("1.0")
md$setEditionDate(ISOdate(2015,1,1))
md$addIdentifier(ISOMetaIdentifier$new(code = "identifier"))
md$addPresentationForm("mapDigital")
#add a cited responsible party
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)
md$addCitedResponsibleParty(rp)
xml <- md$encode()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.