Learn R Programming

geomander (version 2.3.0)

geo_sort: Sort Precincts

Description

Reorders precincts by distance from the NW corner of the bounding box.

Usage

geo_sort(shp, epsg = 3857)

Value

sf dataframe

Arguments

shp

sf dataframe, required.

epsg

numeric EPSG code to planarize to. Default is 3857.

Examples

Run this code
data(checkerboard)
geo_sort(checkerboard)

Run the code above in your browser using DataLab