Convert GADM map resolution identifiers between strings and integers

Share:

Description

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

Usage

1
2
  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:

Details

Arguments:

Value

integer or string

Author(s)

Leo Lahti sorvi-commits@lists.r-forge.r-project.org

References

See citation("sorvi")

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.