ISOCodelistCatalogue: ISOCodelistCatalogue

ISOCodelistCatalogueR Documentation

ISOCodelistCatalogue

Description

ISOCodelistCatalogue

ISOCodelistCatalogue

Format

R6Class object.

Value

Object of R6Class for modelling an ISOCodelistCatalogue

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> geometa::ISOAbstractCatalogue -> ISOCodelistCatalogue

Public fields

codelistItem

codelist items

Methods

Public methods

Inherited methods

Method new()

Initializes object

Usage
ISOCodelistCatalogue$new(xml = NULL, refFile = NULL)
Arguments
xml

object of class XMLInternalNode-class

refFile

ref file


Method getCodelists()

Decodes and builds an ISOCodelistCatalogue from XML. This is done specifically for this class, without using the generic ISOAbstractObject decoder, to make it fully decodable on package load.

Get codelists. The method ensure an harmonized output made of objects of class ISOCodelist. In the catalogue is built of objects of class ISOCodeListDictionary, these will be mapped as ISOCodelist, to facilitate the consumption of codelists by geometa

Usage
ISOCodelistCatalogue$getCodelists()
Arguments
xml

object of class XMLInternalNode-class


Method getCodelist()

Get codelist by id.

Usage
ISOCodelistCatalogue$getCodelist(id)
Arguments
id

id

Returns

object of class ISOCodelist


Method clone()

The objects of this class are cloneable with this method.

Usage
ISOCodelistCatalogue$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

References

- ISO 19139 https://schemas.isotc211.org/19139/-/cat/1.2.0/cat/#element_CT_CodelistCatalogue

- ISO 19115-3 https://schemas.isotc211.org/19115/-3/cat/1.0/cat/#element_CT_CodelistCatalogue


eblondel/geometa documentation built on Oct. 10, 2024, 4:46 p.m.