I need to generate PDF reports automatically with RMarkdown and generate multiple tables according to the input data. I have the format of 1 table using kable, but I need to generate the loop to generate multiple tables with the same format, but with different data. This data can be stored in a dataframe or in a list.
Can anyone guide me on how to do this or where to get information on this?
You'll find some guidance and examples on the web and on this forum, about how to loop and create content.
Main source of references is in the R Markdown Cookbook for this:
Using child documents or knit_child() and loop through it