read_centerlines: Read In Centerlines

View source: R/read_centerlines.R

read_centerlinesR Documentation

Read In Centerlines

Description

Import centerline shapefiles (.shp). The centerlines should contain, at the least, the variable names "site_name", "year", and "cu_num"

Usage

read_centerlines(
  path = ".",
  cl_names = "centerlines.shp",
  find_duplicates = TRUE
)

Arguments

path

A path to the directory containing the folders of interest. path should only contain folders (no files), and each of those folders should only contain files (no folders).

cl_names

The file name of each centerline. All centerlines should share same name, but be saved in separate folders for each site.

find_duplicates

Would you like to search for duplicate channel units within the centerlines after import?

Value

a shapefile of merged centerlines

Author(s)

Mike Ackerman


mackerman44/DASH documentation built on Sept. 5, 2024, 8:14 a.m.