voivData: Data on Polish voivodships

Description Format Source Examples

Description

Some extra data on Polish voivodships.

Format

A data frame with 16 observations on the following 4 variables.

teryt

numeric, area code from "TERYT": official Polish area classification

area

numeric, area in square kilometers

perimeter

numeric, voivodship perimeter in #' kilometers

pop2001

numeric, voivodship population in 2001

Source

Official statistics: http://www.stat.gov.pl TERYT database: http://www.stat.gov.pl/broker/access/index.jspa

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
if( require(sp) ) {
# areas of voivodships
a <- structure( voivData$area, names=rownames(voivData))
s <- getShape("voiv")
k <- coordinates(s)
# colors
x <- a - min(a)
kol <- x / max(x)
plot(s, col=gray(kol))
text( coordinates(s), labels=voivNames(), col=gray((1-kol)>.5),
    cex=.8)
}

mbojan/mapoland documentation built on May 22, 2017, 12:13 a.m.