R/world_happiness.R

#' World Happiness Data
#'
#' @format A data frame with 1704 observations of 26 variables.
#' \describe{
#'   \item{country_name}{coded as character}
#'   \item{year}{}
#'   \item{life_ladder}{Mean response to: Please imagine a ladder, with steps numbered from 0 at the bottom to 10 at the top. The top of the ladder represents the best possible life for you and the bottom of the ladder represents the worst possible life for you. On which step of the ladder would you say you personally feel you stand at this time?}
#'   \item{log_gdp_per_capita}{}
#'   \item{social_support}{if you were in trouble, do you have relatives or friends you can count on to help you whenever you need them, or not?}
#'   \item{healthy_life_expectancy_at_birth}{average number of “healthy” years a child at birth is estimated to live from WHO}
#'   \item{freedom_to_make_life_choices}{Are you satisfied or dissatisfied with your freedom to choose what you do with your life?”}
#'   \item{generosity}{Have you donated money to a charity in the past month?}
#'   \item{perceptions_of_corruption}{s corruption widespread throughout the government or not?}
#'   \item{positive_affect}{whether they smiled or laughed a lot yesterday}
#'   \item{negative_affect}{experienced specific negative emotions during a lot of the day yesterday}
#'   \item{confidence_in_national_government}{}
#'   \item{democratic_quality}{}
#'   \item{delivery_quality}{}
#'   \item{gini_index_world_bank_estimate}{}
#'   \item{gini_index_world_bank_estimate_average_2000_16}{}
#'   \item{gini_of_household_income_reported_in_gallup_by_wp5_year}{}
#'   \item{most_people_can_be_trusted_gallup}{}
#'   \item{most_people_can_be_trusted_wvs_round_1981_1984}{}
#'   \item{most_people_can_be_trusted_wvs_round_1989_1993}{}
#'   \item{most_people_can_be_trusted_wvs_round_1994_1998}{}
#'   \item{most_people_can_be_trusted_wvs_round_1999_2004}{}
#'   \item{most_people_can_be_trusted_wvs_round_2005_2009}{}
#'   \item{most_people_can_be_trusted_wvs_round_2010_2014}{}
#' }
#'
#' From the authors: "The World Happiness Report is a landmark survey of the state of global happiness. The World Happiness Report 2018, ranks 156 countries by their happiness levels, and 117 countries by the happiness of their immigrants. The main focus of this year’s report, in addition to its usual ranking of the levels and changes in happiness around the world, is on migration within and between countries."
#'
#' @source https://worldhappiness.report/ed/2018/
"world_happiness"
speegled/ardata documentation built on March 26, 2022, 5 a.m.