write_ts: Write timeseries data into a compressed file

View source: R/write_ts.R

write_tsR Documentation

Write timeseries data into a compressed file

Description

Writes a ts file (with format specific to mda.streams) a data.frame into a compressed file suitable for posting to ScienceBase

Usage

write_ts(data, site, var, src, folder, version = c("rds", "tsv"))

Arguments

data

unitted data.frame

site

the full site name, e.g., 'nwis_06893820'

var

the variable name of the output, e.g., 'doobs'

src

the source of the data, e.g., 'nwis' or 'nldas'

folder

the folder to write the file in

version

the output version for the file (rds, tsv)


USGS-R/mda.streams documentation built on June 3, 2023, 8:43 a.m.