Get access to all lessons in this course.
-
Advanced Data Wrangling
- Downloading and Importing Data
- Overview of Tidy Data
- Tidy Data Rule #1: Every Column is a Variable
- Tidy Data Rule #3: Every Cell is a Single Value
- Tidy Data Rule #2: Every Row is an Observation
- Changing Variable Types
- Dealing with Missing Data
- Advanced Summarizing
- Binding Data Frames
- Functions
- Data Merging
- Exporting Data
- Bring It All Together (Advanced Data Wrangling)
-
Advanced Data Visualization
- Best Practices in Data Visualization
- Tidy Data
- Pipe Data into ggplot
- Reorder Plots to Highlight Findings
- Line Charts
- Use Color to Highlight Findings
- Declutter
- Add Descriptive Labels to Your Plots
- Use Titles to Highlight Findings
- Use Annotations to Explain
- Tweak Spacing
- Create a Custom Theme
- Customize Your Fonts
- Try New Plot Types
- Bring it All Together (Advanced Data Visualization)
-
Quarto
- Advanced Markdown
- Advanced YAML and Code Chunk Options
- Tables
- Inline R Code
- Making Your Reports Shine: Word Edition
- Making Your Reports Shine: PDF Edition
- Making Your Reports Shine: HTML Edition
- Presentations
- Dashboards
- Websites
- Publishing Your Work
- Quarto Extensions
- Parameterized Reporting, Part 1
- Parameterized Reporting, Part 2
- Parameterized Reporting, Part 3
- Wrapping up Going Deeper with R
Going Deeper with R
Dashboards
This lesson is locked
This lesson is called Dashboards, part of the Going Deeper with R course. This lesson is called Dashboards, part of the Going Deeper with R 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.
Your Turn
Convert your report to a dashboard using flexdashboard
Learn More
Check out the flexdashboard
website to learn more about how to make flexdashboard. The layouts page is really helpful to see the ways to make various types of layouts using flexdashboard
. And the examples page provides some great, um, examples!
There are other ways to make dashboards using R. You can, for example, use the distill
package to make a multipage website, which resembles a dashboard. One example you saw during the Making Your Reports Shine: HTML Edition lesson included a dashboard I made using distill
(for privacy reasons, I’m only showing the top of it, but there were a bunch of graphs and maps below).
You need to be signed-in to comment on this post. Login.
Lucilla Piccari
May 31, 2021
Hello!
With the following YAML:
title: "Diversity in Oregon School Districts" author: "Lucilla Piccari" date: "07/05/2021" params: district: "Portland SD 1J" race_ethnicity: "Asian" year: "2018-2019" output: flexdashboard::flex_dashboard vertical_layout: scroll orientation: rows
I get this error message while trying to knit:
Error in yaml::yaml.load(..., eval.expr = TRUE) : Scanner error: mapping values are not allowed in this context at line 10, column 20 Calls: ... parse_yaml_front_matter -> yaml_load -> Execution halted
Line 10 column 20 corresponds to the x character in "flex_dashboard" I searched online and it seems to be something to do with an extra space or indentation in the wrong place, but I can't seem to find what it is (maybe I just don't see it!)
Thanks!
Oluwaseun Oyewole
April 28, 2022
When deciding to make dashboards, is there a criteria for doing this via Shiny vs Flexdashboard? (i.e When would it make sense to make your dashboard in Rmarkdown vs in Shiny?)