ISOCodelist

ISOCodelist

Format

R6Class object.

Value

Object of R6Class for modelling an ISO codelist

Note

Class used by geometa internal codelist XML decoder/encoder

Author

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Super classes

geometa::geometaLogger -> geometa::ISOAbstractObject -> ISOCodelist

Public fields

id

id

refFile

ref file

codeSpace

code space

identifier

identifier

description

description

codeEntry

code entries

Methods

Inherited methods


Method new()

Initializes object

Usage

ISOCodelist$new(xml = NULL, refFile = NULL, id = NULL)

Arguments

xml

object of class XMLInternalNode-class

refFile

ref file

id

id


Method getCodeEntries()

get code entries

Usage

ISOCodelist$getCodeEntries(pretty = FALSE)

Arguments

pretty

prettify output as data.frame. Default isFALSE

Returns

an object of class list or data.frame


Method parse()

Parse codelist

Usage

ISOCodelist$parse(refFile, id)

Arguments

refFile

ref file

id

id


Method clone()

The objects of this class are cloneable with this method.

Usage

ISOCodelist$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.