view loop_col_scale.r @ 1:b67730406f1b draft

planemo upload for repository https://github.com/Marie59/champ_blocs commit 0d86db7d42b608c386a54500064f5f9c9d7019a4
author ecology
date Wed, 04 Jan 2023 13:21:30 +0000
parents 8c6142630659
children
line wrap: on
line source

library("rmarkdown")

df <- indic
df_full <- indic_full
dir.create("results")
slices <- unique(df$Site)[!is.na(unique(df$Site))]

for (v in slices) {
    rmarkdown::render(report,
         output_file = paste0(v, ".docx"),
         output_dir = file.path("results"),
         params = list(Site = v)
    )
  }