You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
opensensmapR/tools/monitr/get-counts.R

11 lines
237 B
R

library(magrittr)
library(opensensmapr)
if (is.null(as.list(environment())$osem_counts_ts))
osem_counts_ts = data.frame()
osem_counts_ts = osem_counts() %>%
list(time = Sys.time()) %>%
as.data.frame() %>%
rbind(osem_counts_ts)