clean_hydro {dbhydroR}R Documentation

Clean raw hydrologic DBHYDRO data retrievals

Description

Converts output of get_hydro from long (each piece of data on its own row) to wide format (each site x variable combination in its own column). Metadata (station-name, variable, measurement units) is parsed so that it is wholly contained in column names.

Usage

clean_hydro(dt)

Arguments

dt

data.frame output of gethydro

Examples

## Not run: 
clean_hydro(gethydro(dbkey = "15081", date_min = "2013-01-01", date_max = "2013-02-02", raw = TRUE))

## End(Not run)

[Package dbhydroR version 0.2-8 Index]