Skip to content
R for the Rest of Us Logo

Going Deeper with R

Parameterized Reporting, Part 2

Transcript

Click on the transcript to go to that point in the video. Please note that transcripts are auto generated and may contain minor inaccuracies.

View code shown in video
library(quarto)

quarto_render(
  input = "example-report.qmd",
  output_file = "Afghanistan.html",
  execute_params = list(country = "Afghanistan")
)

Your Turn

Your goal is to render your report on population in Asia using an R script file. To do so:

  1. Open the file called render-part-1.R.

  2. Replace all instances of TODO with the correct text.

  3. Render your report.

Learn More

Have any questions? Put them below and we will help you out!

You need to be signed-in to comment on this post. Login.

Course Content

44 Lessons