knitr::opts_chunk$set(echo = TRUE)
f_date <- lubridate::ymd("2020-07-31") plt <- dailycases %>% filter(county_name == "Kildare") %>% dplyr::filter(time_stamp <= f_date) %>% dplyr::filter(time_stamp >= (f_date- lubridate::days(30))) %>% ggplot2::ggplot(aes(x = time_stamp)) + ggplot2::geom_line(aes(y = plt1_y , color = "red")) + ggplot2::geom_line(aes(y = plt1_y, color = "blue")) plt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.