I am setting up a project where I will be doing all my data cleaning, management, and analysis in a single rMarkdown file.
However, after cleaning, I want to then generate a codebook based on the cleaned dataframe(s) in a separate file (using a package called codebook if that is helpful).
However, RMDs by their nature usually are designed to be self-contained.
Is there a way to basically "pipe" a dataframe from the cleaning.rmd into the codebook.rmd.
My workflow would be something similar to:
df_raw %>% cleaning.rmd (which creates df_clean) %>% codebook.rmd
I have looked into child documents, but it seems to be more loading multiple RMDs into a single one, instead of a single RMD into multiple.
Thank you for any suggestions that you might have!