powered by
ISOLocale
Object of R6Class for modelling an ISO Locale
R6Class
R6Class object.
languageCode
[ISOLanguage|character] language code
ISOLanguage
character
country
[ISOCountry|character] country code
ISOCountry
characterEncoding
[ISOCharacterSet|character] character encoding
ISOCharacterSet
new(xml, code, country, encoding)
This method is used to instantiate an ISOLocale
setId(id)
Set the locale Id, to bind to ISOFreeText elements to identify a locale text.
ISOFreeText
setLanguage(language)
Set the language, object of class "character" (language code), or object of class ISOLanguage.
setCountry(country)
Set the country, object of class "character" (country code), or object of class ISOCountry.
setCharacterSet(charset)
Set the character encoding, object of class "character" (encoding code), or object of class ISOCharacterSet.
ISO 19115:2003 - Geographic information -- Metadata
# NOT RUN { loc <- ISOLocale$new() loc$setId("eng") loc$setLanguage("eng") loc$setCountry("UK") loc$setCharacterSet("utf8") # }
Run the code above in your browser using DataLab