Learn R Programming

geometa (version 0.2-0)

ISOAddress: ISOAddress

Description

ISOAddress

Usage

ISOAddress

Arguments

Value

Object of R6Class for modelling an ISO Address

Format

R6Class object.

Fields

deliveryPoint

city

postalCode

country

electronicMailAddress

Methods

new(xml)

This method is used to instantiate an ISOAddress

setDeliveryPoint(deliveryPoint)

Sets the delivery point

setCity(city)

Sets the city

setPostalCode(postalCode)

Sets the postal code

setCountry(country)

Sets the country

setEmail(email)

Sets the electronic Mail address

References

ISO 19115:2003 - Geographic information -- Metadata

Examples

Run this code
# NOT RUN {
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