Learn R Programming

geometa (version 0.6-2)

ISOTelephone: ISOTelephone

Description

ISOTelephone

Usage

ISOTelephone

Arguments

Value

Object of R6Class for modelling an ISO Telephone

Format

R6Class object.

Fields

voice

[character] phone number

facsimile

[character] facsimile number

Methods

new(xml,value)

This method is used to instantiate an ISOTelephone

setVoice(voice, locales)

Set voice phone number. Locale numbers can be specified as list with the locales argument.

setFacsimile(voice, locales)

Set facsimile phone number. Locale numbers can be specified as list with the locales argument.

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
# NOT RUN {
  md <- ISOTelephone$new()
  md$setVoice("myphonenumber")
  md$setFacsimile("myfacsimile")
  xml <- md$encode()
  
# }

Run the code above in your browser using DataLab