happiness: World Happiness Report data

happinessR Documentation

World Happiness Report data

Description

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.

Usage

data(happiness_train)
data(happiness_test)

Format

two data frames with total 781 rows, 7 columns ech and rownames

Details

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

Source

World Happiness Report data https://worldhappiness.report/


DALEX documentation built on Jan. 16, 2023, 1:06 a.m.

Related to happiness in DALEX...