monitor_pull | R Documentation |
This function acts similarly to pull
working on
monitor$meta
or monitor$data
. Data are returned as a simple array.
Data are pulled from whichever dataframe contains var
.
monitor_pull(monitor = NULL, var = NULL)
monitor |
mts_monitor object. |
var |
A variable name found in the |
An array of values.
library(AirMonitor)
# Metadata
Camp_Fire %>%
monitor_pull("deploymentType") %>%
table()
# Data for a specific ID
Camp_Fire %>%
monitor_dailyStatistic(mean) %>%
monitor_pull("6bbab08e3786ef66_840060450006") %>%
round(0)
# Associated dates
Camp_Fire %>%
monitor_dailyStatistic(mean) %>%
monitor_pull("datetime")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.