Learn R Programming

nhdplusTools (version 0.3.16)

align_nhdplus_names: Align NHD Dataset Names

Description

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

Usage

align_nhdplus_names(x)

Arguments

x

a sf object of nhdplus flowlines

Value

a renamed sf object

Examples

Run this code
# NOT RUN {
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)

# }

Run the code above in your browser using DataLab