align_nhdplus_names: Align NHD Dataset Names

Description Usage Arguments Value Examples

View source: R/nhdplusTools.R

Description

this function takes any NHDPlus dataset and aligns the attribute names with those used in nhdplusTools.

Usage

1

Arguments

x

a sf object of nhdplus flowlines

Value

data.frame renamed sf object

Examples

1
2
3
4
5
6
7
8
9
source(system.file("extdata/new_hope_data.R", package = "nhdplusTools"))

names(new_hope_flowline)

names(new_hope_flowline) <- tolower(names(new_hope_flowline))

new_hope_flowline <- align_nhdplus_names(new_hope_flowline)

names(new_hope_flowline)

nhdplusTools documentation built on Aug. 18, 2021, 5:07 p.m.