voivNames: Get names of Polish voivodships

Description Usage Arguments Details Value See Also Examples

View source: R/voivNames.R

Description

Get names of Polish voivodships from the shapefile in current encoding.

Usage

1
voivNames(enc = "")

Arguments

enc

character or NULL, name of the encoding to which convert the names of voivodships, see iconv for possibilities

Details

If enc is NULL the returned names do not have any polish diacritics which was a ad-hoc solution to character encoding conversion problems. If enc is a character, then its value is passed to to argument of iconv.

The names are read from the attribute in the shape file voiv.shp. Consequently, they are in the same order as the polygons there.

Value

Character vector with voivodship names in the encoding specified by enc. The names of the result are TERYT codes of the polygons.

See Also

shapes for more information on included shape files.

iconv

Examples

1
2
3
4
5
# in current encoding
voivNames()

# pure ASCII
voivNames(NULL)

mapoland documentation built on May 2, 2019, 6:53 p.m.