makeColNames: Column Names

View source: R/makeColNames.R

makeColNamesR Documentation

Column Names

Description

Creates valid, unique column names for water-quality constituents.

Usage

makeColNames(params, name, short)

Arguments

params

the parameter codes.

name

the long-name of the parameter code.

short

the short name of the parameter code.

Details

The arguments name and short are expected to be columns retreived by those arguments in the function pcodeNWISqw.

Value

A data frame containing the columns parm_cd and col_name.

Note

This function is a support function designed to be called within other functions.

See Also

pcodeNWISqw, pcodeColData


USGS-R/smwrQW documentation built on Oct. 11, 2022, 6:13 a.m.