I'd like to use R Markdown and the
bookdown package for keeping track of my project (which will contain many .Rmd's). I'm wondering is it possible to manage the order of knitting and order of merging separately? For example, I'll have the following files:
In the file
02_2_Import_and_clean_data.Rmd I will include a code chunk to define how to import and clean the data, and how to save the clean data in the external file that can be used in the subsequent sections (e.g.
02_3_Use_data_from_02_2.Rmd). At the same time, while all this cleaning part is important, it does not add anything to the main story. Hence, I'd like to put it in Appendix of the report. So, my question is it possible to run Rmd files in the order as stated above, but arrange book chapters in the following order?