ISOCodelist function

ISOCodelist

ISOCodelist

ISOCodelist

ISOCodelist class

Format

R6Class object.

Returns

Object of R6Class for modelling an ISO codelist

Note

Class used by geometa internal codelist XML decoder/encoder

Author(s)

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

Public 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.

  • Maintainer: Emmanuel Blondel
  • License: MIT + file LICENSE
  • Last published: 2025-01-29