View source: R/monitor_ggDailyBarplot_archival.R
monitor_ggDailyBarplot_archival | R Documentation |
This function assembles various layers to create a production-ready archival daily barplot for one or more monitors.
The full range of data in monitor
will be used unless both
startdate
and enddate
are specified.
monitor_ggDailyBarplot_archival(
monitor,
startdate = NULL,
enddate = NULL,
id = NULL,
style = c("large", "small"),
title = NULL,
timezone = NULL,
today = TRUE,
...
)
monitor |
A mts_monitor object. |
startdate |
Desired start date (integer or character in ymd format or POSIXct). |
enddate |
Desired end date (integer or character in ymd format or POSIXct). |
id |
deviceDeploymentID to include in the plot. This can be NULL if
|
style |
String indicating plotting style. Either |
title |
Plot title. If NULL, a suitable title will be constructed. |
timezone |
Olson timezone name for x-axis scale and date parsing. If NULL the timezone of the specified monitor will be used. |
today |
Logical indicating whether to include a shaded "current NowCast" bar for Today. Ignored if data is not current. |
... |
Arguments passed onto |
A ggplot object
library(AirMonitorPlots)
AirMonitor::Carmel_Valley %>%
AirMonitor::monitor_trimDate() %>%
monitor_ggDailyBarplot_archival()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.