From d8a754288c522b7ecf4de1fb89ea23782e68248e Mon Sep 17 00:00:00 2001 From: Markus Graf Date: Fri, 22 Oct 2021 21:47:15 +0200 Subject: [PATCH] Update report.Rmd Added last 30 rows in report --- data_analysis/report.Rmd | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/data_analysis/report.Rmd b/data_analysis/report.Rmd index a94097d..2bbf751 100644 --- a/data_analysis/report.Rmd +++ b/data_analysis/report.Rmd @@ -23,3 +23,11 @@ p_temperature <- ggplot(df, aes(x=date, y=temperature, group=name, color=name)) p_temperature ``` + +## Last 30 rows +```{r} +most_recent <- tail(df, n=30) +most_recent <- most_recent[order(rev(most_recent$date)),] + +knitr::kable(most_recent, row.names = F) +```