library(tidyverse)

An R Markdown Document (Summary Report for Email)

We can include parts from the parent "connect-example-main.Rmd" document by adding an empty R Markdown code chunk with a matching name (in this case diamonds_plot). This is great because we can reuse parts from the parent report document.


The real estate table (from the parent document's dallas_home_sales chunk) can be included in the same way:


Note that the echo=FALSE parameter was added to each of the the code chunks to prevent printing of the R code that generated the plot (we just want the output for the email).

The dallas_home_sales object (from the namesake R code chunk) is also available and can be further processed to generate different output just for the email document.

dallas_home_sales %>% filter(year %in% 2011:2015)


rich-iannone/blastula documentation built on Feb. 27, 2024, 9:55 p.m.