Description Usage Arguments Value
The metadata table must have gap statistics columns matching the date range(s), as created by gap_statistics
.
1 2 | extract_ts(x = cl_streamflow_mm, md, date_ranges, c_d_min = 80,
c_m_min = 80, lg_max = 6, excelfile = NULL, outdir = NULL)
|
x |
x daily timeseries (tibble) with Date and data columns named with the stationcode |
md |
metadata table (tibble) with a stationcode column containing the stations to be used |
date_ranges |
date range(s) (character or character vector) formatted as "start-end" in years |
c_d_min |
minimum daily completeness |
c_m_min |
minimum monthly completeness |
lg_max |
maximum gap length |
excelfile |
file path to write excel table with metadata per date range as workbooks, optional |
outdir |
directory path for saving timeseries into univariate files (see |
a list of two objects:
streamflow: a list of daily time series, named by date ranges
metadata: a list of metadata tables, named by date ranges
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.