load_shp_file: Load and format shapefile for reserve level map

Description Usage Arguments Details Value Author(s)

View source: R/load_shp_file.R

Description

Load and format shapefile for use with res_local_map. If polygons are dissolved, the only attribute returned will be a count of the number of grouped polygons, otherwise, all attrributes are retained.

Usage

1
load_shp_file(path, dissolve_boundaries = TRUE)

Arguments

path

path to shapefile and name

dissolve_boundaries

logical, should reserve boundaries be dissolved? Defaults to TRUE

Details

This function is intended for internal use with the NERRS reserve level reporting scripts. It loads a NERRS boundary shp file and dissolves unnecessary reserve boundaries. The resulting sf object is then used with res_sk_map and res_local_map

Value

Returns a sf object

Author(s)

Julie Padilla, Dave Eslinger


padilla410/SWMPrExtension documentation built on Dec. 29, 2021, 5:48 a.m.