createInfo: Create 'INFO' metadata for EGRET/WQTDS analysis

View source: R/createInfo.R

createInfoR Documentation

Create 'INFO' metadata for EGRET/WQTDS analysis

Description

Create 'INFO' metadata for EGRET/WQTDS analysis

Usage

createInfo(
  wq_data,
  paStart = 10,
  paLong = 12,
  watershedKm = 1,
  stationColumn = "stn"
)

Arguments

wq_data

a dataframe of water quality data generated by getwq(). Must have a single station and parameter.

paStart

Starting month of period of analysis. Defaults to 10. Used in most EGRET functions

paLong

Length in number of months of period of analysis. Defaults to 12. Used in most EGRET functions

watershedKm

Watershed area, used to calculate runoff. Defaults to 1

stationColumn

name of station column in dataset.

Value

a single-row dataframe with EGRET-style metadata. See ?EGRET::INFOdataframe for more information.

Examples

INFO <- createInfo(wq_data = wqDat)

troyhill/SFNRC documentation built on Dec. 30, 2024, 4:32 p.m.