Learn R Programming

sorvi (version 0.4.05)

ConvertGADMResolution: Convert GADM map resolution identifiers between strings and integers

Description

"Maa" (0 / Country); "Laani" (1 / Province); "Maakunta" (2 / Region); "Seutukunta" (3 / Sub-Region); "Kunta" (4 / Municipality)

Usage

ConvertGADMResolution(resolution,
    output.type = "integer")

Arguments

resolution
string or integer specifying the resolution for region borders
output.type
"integer" or "string" specifying whether the resolution is converted into integer or string (if not already in that format)

Returns:

Value

  • integer or string

Details

Arguments:

References

See citation("sorvi")