jpmesh (version 1.2.0)

administration_mesh: Extract administration mesh

Description

Extract administration mesh

Usage

administration_mesh(code, to_mesh_size)

Arguments

code

administration code

to_mesh_size

target mesh type. From 80km to 0.125km. If NULL, the meshcode of one small scale will be returned. If it is the same as the original size, the meshcode of the input will be return.

Examples

Run this code
# NOT RUN {
administration_mesh(code = "35201", to_mesh_size = 1)
administration_mesh(code = "08220", to_mesh_size)
administration_mesh(code = c("08220", "08221"), to_mesh_size = 10)
administration_mesh(code = "35", to_mesh_size = 80)
administration_mesh(code = c("33", "34"), to_mesh_size = 80)
# }

Run the code above in your browser using DataCamp Workspace