Learn R Programming

jpmesh (version 2.1.0)

export_mesh: Export meshcode to geometry

Description

Convert and export meshcode area to sfc_POLYGON and sf.

Usage

export_mesh(meshcode)

export_meshes(meshcode, .keep_class = FALSE)

Arguments

meshcode

character. mesh code

.keep_class

Do you want to assign a class to the meshcode column in data.frame? If FALSE, it will be treated as a character type.

Value

sfc object

sf object

Examples

Run this code
# NOT RUN {
export_mesh("6441427712")
export_meshes("4128")
find_neighbor_mesh("37250395") %>%
  export_meshes()
# }

Run the code above in your browser using DataLab