Get access to all lessons in this course.
-
Advanced Data Wrangling and Analysis
- Overview
- Importing Data
- Tidy Data
- Reshaping Data
- Dealing with Missing Data
- Changing Variable Types
- Advanced Variable Creation
- Advanced Summarizing
- Binding Data Frames
- Functions
- Merging Data
- Renaming Variables
- Quick Interlude to Reorganize our Code
- Exporting Data
-
Advanced Data Visualization
- Data Visualization Best Practices
- Tidy Data
- Pipe Data Into ggplot
- Reorder Plots to Highlight Findings
- Line Charts
- Use Color to Highlight Findings
- Declutter
- Use the scales Package for Nicely Formatted Values
- Use Direct Labeling
- Use Axis Text Wisely
- Use Titles to Highlight Findings
- Use Color in Titles to Highlight Findings
- Use Annotations to Explain
- Tweak Spacing
- Customize Your Theme
- Customize Your Fonts
- Try New Plot Types
-
Advanced RMarkdown
- Advanced Markdown Text Formatting
- Tables
- Advanced YAML
- Inline R Code
- Making Your Reports Shine: Word Edition
- Making Your Reports Shine: HTML Edition
- Making Your Reports Shine: PDF Edition
- Presentations
- Dashboards
- Other Formats
-
Wrapping Up
- You Did It!
Going Deeper with R (v1)
Dashboards
This lesson is locked
This lesson is called Dashboards, part of the Going Deeper with R (v1) course. This lesson is called Dashboards, part of the Going Deeper with R (v1) 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?)