happiness | R Documentation |
The happiness_train
and happiness_test
datasets are generated
based on the "World Happiness Report" at Kaggle https://www.kaggle.com/datasets/unsdsn/world-happiness.
data(happiness_train) data(happiness_test)
two data frames with total 781 rows, 7 columns ech and rownames
It contains data for 781 countries and 7 variables. These are:
score - Happiness score
gdp_per_capita - GDP per capita
social_support - Social support
healthy_life_expectancy - Healthy life expectancy
freedom_life_choices - Freedom to make life choices
generosity - Generosity
perceptions_of_corruption - Perceptions of corruption
World Happiness Report data https://worldhappiness.report/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.