knitr::opts_chunk$set(echo = TRUE)
WQP data contain several columns indicating observation time. They are as follows:
Very often, the time of an observation is not recorded with higher than daily precision, and only the observation date is reported. In such cases, it is not clear how to represent them in a sub-daily format such as POSIClt or POSIXct. Several options are available:
NA
in R) these observations from the POSIXct column, and report only the date in Date
format. The wqp package uses the second option, as it best reports the uncertainty about an observation time. A potential downside is that it may confuse two different notions. On one hand, the observation may have occurred at a single, brief time within the reported bounds. Separately, it may be a summary statistic of multiple observations taken throughout the time interval, such as daily-averaged flows.
Creating time columns when only dates are reported requires additional information about time zone. This can typically be computed using date and location.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.