powered by
ISOAddress
Object of R6Class for modelling an ISO Address
R6Class
R6Class object.
deliveryPoint
[character]
character
city
postalCode
country
[ISOCountry]
ISOCountry
electronicMailAddress
new(xml)
This method is used to instantiate an ISOAddress
setDeliveryPoint(deliveryPoint, locales)
Sets the delivery point. Locale names can be specified as list with the locales argument.
list
locales
setCity(city, locales)
Sets the city. Locale names can be specified as list with the locales argument.
setPostalCode(postalCode, locales)
Sets the postal code. Locale names can be specified as list with the locales argument.
setCountry(country, locales)
Sets the country. Locale names can be specified as list with the locales argument.
setEmail(email, locales)
Sets the electronic Mail address. Locale names can be specified as list with the locales argument.
Emmanuel Blondel <emmanuel.blondel1@gmail.com>
ISO 19115:2003 - Geographic information -- Metadata
md <- ISOAddress$new() md$setDeliveryPoint("theaddress") md$setCity("thecity") md$setPostalCode("111") md$setCountry("France") md$setEmail("someone@theorg.org") xml <- md$encode()
Run the code above in your browser using DataLab