Skip to content
R for the Rest of Us Logo

Parameterized Reporting, Part 2

This lesson is locked

Get access to all lessons in this course.

If the video is not playing correctly, you can watch it in a new window

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.