Data from the 2019 World Happiness Report, an annual publication of the United Nations Sustainable Development Solutions Network.
data(happy)happy is a 155 row data frame with the following columns:
Country.
Gross domestic product per capita.
Indicator of social support (or having someone to count on in times of trouble) calculated at national level.
Indicator of healthy life expectancies at birth.
Freedom to make life choices is the national average of responses to the question: Are you satisfied or dissatisfied with your freedom to choose what you do with your life?
Generosity is the residual of regressing national average of response to the question: Have you donated money to a charity in the past month? on GDP per capita.
Corruption Perception: The measure is the national average of the survey responses to two questions in the: Is corruption widespread throughout the government or not? and Is corruption widespread within businesses or not? The overall perception is just the average of the two 0-or-1 responses.
Subjective well-being. 1 low, 2 medium low, 3 medium, 4 high.