Data Viz Review
April 23, 2024
Messages, Warnings and Errors
- Messages tell you what R is doing
- Warnings tell you that something might be wrong
- Errors tell you that something is definitely wrong
- Locate the error line number in the console and check your code
- Error line tells you about where the error occurred, not exact
- Errors are normal, don’t freak out!
- In fact, you should practice making errors to learn how to fix them
Your boss wants you to…
- Visualize trends in liberal democracy since the end of WWII for countries in South Asia
- See how regions compare in terms of levels of corruption in 2015
- View the relationship between GDP per capita and electoral democracy in 2020
Could You Reproduce It?
- Have a look at my “Democracy Around the World” Shiny app
- Can you reproduce the visualizations in the app using the V-Dem data?
- What are the steps you would take to do so?