Description Usage Arguments Value
The table includes QW sample times, as well as any associated gage heights and discharge values associated with the sample. Discharge and gage height are interpolated form the relevant continuous time series for comparison.
1 2 | getSampleQ(site, start, end, maxDiff = 4, method = c("interpolate",
"closest"), tz = "UTC")
|
site |
USGS site number |
start |
the start date of interest, as a string in the form YYYY-MM-DD |
end |
the start date of interest, as a string in the form YYYY-MM-DD |
maxDiff |
the maximum gap, in hours, in the continuous data that will be used for merging. Any gaps greater than this will show NA for the continuous data. |
method |
the method to use for merging the continuous data. If "interpolate", the continuous value will be interpolated for the sample time between the time series points immediately preceding and following. If "closest", the continuous point nearest the sample time will be used. |
tz |
the time zone for output, e.g. "America/Chicago", "America/New_York",
see |
a data frame of QW sample times, streamflow, and discharge merged with continuous streamflow and discharge for comparison.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.