diff --git a/Rmd/cleaningFeederData.Rmd b/Rmd/report_cleanFeeders.Rmd similarity index 100% rename from Rmd/cleaningFeederData.Rmd rename to Rmd/report_cleanFeeders.Rmd diff --git a/_drakeCleanFeeders.R b/_drake_cleanFeeders.R similarity index 97% rename from _drakeCleanFeeders.R rename to _drake_cleanFeeders.R index f58757e31956474fd898a3e4759af9b4323e5b3b..874665cb11278639370f633b40c494c9e5def2ad 100644 --- a/_drakeCleanFeeders.R +++ b/_drake_cleanFeeders.R @@ -27,8 +27,10 @@ updateReport <- "yes" # edit this in any way (at all) to get drake to re-load th dFile <- "/mnt/SERG_data/Ellis_IOW/Cleaned_SS_Amps/amps_all_substations.csv.gz" # edit for your set up -rmdFile <- "cleaningFeederData" # <- name of the .Rmd file to run at the end +# Rmd file to run as report +rmdFile <- "report_cleanFeeders" # <- name of the .Rmd file to run at the end version <- "_allData" +# yaml for Rmd (see makeReport function) title <- "Testing electricity substation/feeder data" subtitle <- "Outliers and missing data..." authors <- "Ben Anderson & Ellis Ridett" diff --git a/make_cleanFeeders.R b/make_cleanFeeders.R index 11702eab02002bb7b61c9e4129df538f7f2a28f2..a01db19efb65450244a9d47e3a316cb73e59cc2d 100644 --- a/make_cleanFeeders.R +++ b/make_cleanFeeders.R @@ -5,7 +5,7 @@ startTime <- proc.time() # use r_make to run the plan inside a clean R session so nothing gets contaminated -drake::r_make(source = "_drakeCleanFeeders.R") # where we keep the drake plan etc +drake::r_make(source = "_drake_cleanFeeders.R") # where we keep the drake plan etc # we don't keep this in /R because that's where the package functions live # we don't use "_drake.R" because we have lots of different plans