We will be using data from the World Happiness Report for this case study.
Download the data and set it up in your working environment.
What questions can you ask based on the data?
happiness |>
group_by(regional_indicator) |>
summarize(mean_score = mean(ladder_score),
sd_score = sd(ladder_score))
regional_indicator | mean_score | sd_score |
---|---|---|
Central and Eastern Europe | 6.051499 | 0.5028462 |
Commonwealth of Independent States | 5.497196 | 0.4452581 |
East Asia | 5.853280 | 0.3971070 |
Latin America and Caribbean | 5.988879 | 0.5232964 |
Middle East and North Africa | 5.158222 | 1.1266599 |
North America and ANZ | 7.067760 | 0.1491133 |
South Asia | 4.247478 | 1.0502632 |
Southeast Asia | 5.441158 | 0.6593355 |
Sub-Saharan Africa | 4.428523 | 0.6617718 |
Western Europe | 6.889537 | 0.6066269 |