View source: R/ReportBuilder.R
sanity | R Documentation |
This function creates a consort diagram using diagrammeR by assessing all of the dataframes in your script and populating each box in the consort diagram with the number of rows in each dataframe as well as how the dataframes are linked together. The user just provides a pathname for the script
sanity(pathName)
pathName |
The string in the Indication to search for |
#pathName<-paste0(here::here(),"/inst/TemplateProject/munge/PreProcessing.R") #sanity(pathName) # This creates a consort diagram from any R script (not Rmd). It # basically tells you how all the dataframes are related and how many # rows each dataframe has so you can see if any data has been lost # on the way.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.