View source: R/monitor_ggDailyByHour_archival.R
monitor_ggDailyByHour_archival | R Documentation |
This function assembles various layers to create a production-ready archival diurnal plot for a single monitor.
The full range of data in monitor
will be used unless both
startdate
and enddate
are specified.
monitor_ggDailyByHour_archival(
monitor,
startdate = NULL,
enddate = NULL,
id = NULL,
style = c("large", "small"),
title = NULL,
timezone = NULL,
...
)
monitor |
A mts_monitor object. |
startdate |
Desired startdate for data to include, in a format that can be parsed with parseDatetime. |
enddate |
Desired enddate for data to include, in a format that can be parsed with parseDatetime. |
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. |
... |
Extra arguments passed to |
A ggplot object.
library(AirMonitorPlots)
AirMonitor::Carmel_Valley %>%
AirMonitor::monitor_trimDate() %>%
monitor_ggDailyByHour_archival()
## Not run:
monitor <- AirMonitor::airnow_loadLatest()
monitor_ggDailyByHour_archival(monitor, id = "51b9bcb4eaac7c9d_530330030")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.