gapminderR Documentation

Gapminder data

Description

The gapminder data contains data on life expectancy and GDP per capita by country and year.

Usage

gapminder

Format

A data frame with 1704 rows and 6 variables

country

The country

continent

The continent the country is in

year

The year data was collected. Ranges from 1952 to 2007 in increments of 5 years

lifeExp

Life expectancy at birth, in years

pop

Population

gdpPercap

GDP per capita (US$, inflation-adjusted)

Details

This data set is the same one found in the gapminder package in R as of 2020. This data set is used in the Fixed Effects chapter of The Effect.

Source

https://www.gapminder.org/data/

Jennifer Bryan (2017). gapminder: Data from Gapminder. R package version 0.3.0. https://CRAN.R-project.org/package=gapminder

References

Huntington-Klein. 2021. The Effect: An Introduction to Research Design and Causality. https://theeffectbook.net.