Learn R Programming

DALEX (version 2.4.3)

happiness: 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)

Arguments

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