read_ts: Read timeseries data into a data.frame

Description Usage Arguments Value Author(s) See Also Examples

View source: R/read_ts.R

Description

Reads a ts file (with format specific to mda.streams) into a data.frame

Usage

1
read_ts(file, on_invalid = c("warn", "stop"))

Arguments

file

a valid ts file path

on_invalid

character in c("stop","warn") indicating how to handle invalid timeseries

Value

a timeseries unitted data.frame

Author(s)

Jordan S. Read, Alison Appling

See Also

download_ts

Examples

1
2
3
4
5
## Not run: 
file <- download_ts(var_src = "baro_nldas", site_name = "nwis_06893820")
baro_pressure <- read_ts(file)

## End(Not run)

USGS-R/mda.streams documentation built on Dec. 19, 2017, 10:25 p.m.