From 8f4148a1dce6da938e1da914fef96ef16725a29f Mon Sep 17 00:00:00 2001 From: "B.Anderson" <ba1e12@srv02405.soton.ac.uk> Date: Thu, 9 Jul 2020 00:48:16 +0100 Subject: [PATCH] fixed yaml, rmeoved the huge table that messes up the pdf --- Rmd/cleaningFeederData.Rmd | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/Rmd/cleaningFeederData.Rmd b/Rmd/cleaningFeederData.Rmd index 4c35220..8b4a8bc 100644 --- a/Rmd/cleaningFeederData.Rmd +++ b/Rmd/cleaningFeederData.Rmd @@ -19,6 +19,8 @@ output: bookdown::pdf_document2: fig_caption: yes number_sections: yes + toc: yes + toc_depth: 2 bookdown::word_document2: fig_caption: yes number_sections: yes @@ -80,21 +82,6 @@ kableExtra::kable(head(origDataDT), digits = 2, kable_styling() ``` -Check data prep worked OK. - -```{r dataPrep} -# check -t <- origDataDT[, .(nObs = .N, - firstDate = min(rDateTime, na.rm = TRUE), - lastDate = max(rDateTime, na.rm = TRUE), - meankW = mean(kW, na.rm = TRUE) -), keyby = .(region, feeder_ID)] - -kableExtra::kable(t, digits = 2, - caption = "Counts per feeder (long table)") %>% - kable_styling() -``` - Do a duplicate check by feeder_ID, dateTime & kW. In theory there should not be any. ```{r checkForDuplicates} -- GitLab