Plots the readings of one sensor, with their moving average, their mean, and a summary of the last reading, mean, minimum, maximum, standard deviation, range and dates on the right.
Examples
prometheus_url <- c(
"http://pip1.crabdance.com:1507/api/v1/query_range",
"http://pip1.crabdance.com:1505/api/v1/query_range"
)
filtered_df <- get_data(urlq = prometheus_url[1])
plot_time_series(data = filtered_df, variable = "Temperature")
plot_time_series(data = filtered_df, variable = "Humidity")
plot_time_series(data = filtered_df, variable = "Pressure")
plot_time_series(data = filtered_df, variable = "PM2.5")