Learn R Programming

geometa (version 0.10.0)

ISOCodelist: ISOCodelist

Description

ISOCodelist

ISOCodelist

Arguments

Value

Object of R6Class for modelling an ISO codelist

Format

R6Class object.

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,
  identifier = NULL,
  data = NULL,
  codeSpace = NA,
  description = NA,
  refFile = NULL,
  id = NULL
)

Arguments

xml

object of class XMLInternalNode-class

identifier

codelist identifier

data

an object class data.frame with columns codeSpace, identifier, description

codeSpace

code space

description

description

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.