read_ts: Read timeseries data into a data.frame

View source: R/read_ts.R

read_tsR Documentation

Read timeseries data into a data.frame

Description

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

Usage

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

## 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 June 3, 2023, 8:43 a.m.