Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

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

NHDPlus Tools

v0.4.0
CC0
Authors
David Blodgett [aut, cre], Mike Johnson [ctb] (<https://orcid.org/0000-0002-5288-8350>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.