align_nhdplus_names: Align NHD Dataset Names

View source: R/A_nhdplusTools.R

align_nhdplus_namesR Documentation

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

data.frame 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 documentation built on June 22, 2024, 10:36 a.m.