Skip to contents

An S4 class that defines a region of interest.

Value

an object of class Region.

Slots

name

character. The name of the region.

type

character. The type of the region.

id

ANY. An appropriate ID for the region.

div

character. A named character vector specifying the divisions, starting from the country level and stopping at the region's level.

Examples

if (FALSE) {
region <- Region(name = "nebraska", type = "us state",
                 div = c(country = "United States", state = "Nebraska"))

region <- Region(name = "nance", type = "us county",
                 div = c(country = "United States", state = "Nebraska", county = "Nance"))
}