AllCountries: All Countries

AllCountriesR Documentation

All Countries

Description

Data on the countries of the world

Format

A data frame with 217 observations on the following 29 variables.

Country

Country name

Code

Three-letter code for country

LandArea

Size in 1000 sq. km.

Population

Population in millions

Density

Number of people per square kilometer

GDP

Gross Domestic Product (in $US) per capita

Rural

Percentage of population living in rural areas

CO2

CO2 emissions (metric tons per capita)

PumpPrice

Price for a liter of gasoline ($US)

Military

Percentage of government expenditures directed toward the military

Health

Percentage of government expenditures directed towards healthcare

ArmedForces

Number of active duty military personnel (in 1,000's)

Internet

Percentage of the population with access to the internet

Cell

Cell phone subscriptions (per 100 people)

HIV

Percentage of the population with HIV

Hunger

Percent of the population considered undernourished

Diabetes

Percent of the population diagnosed with diabetes

BirthRate

Births per 1000 people

DeathRate

Deaths per 1000 people

ElderlyPop

Percentage of the population at least 65 years old

LifeExpectancy

Average life expectancy (years)

FemaleLabor

Percent of females 15 - 64 in the labor force

Unemployment

Percent of labor force unemployed

Renewable

Percent of energy from renewable sources

Energy

Total energy consumption (million BTU per capita)

Electricity

Electric power consumption (kWh per capita)

Developed

Categories for kilowatt hours per capita, 1= under 2500, 2=2500 to 5000, 3=over 5000

HDI

Human Development Index - United Nations' measure of social and economic well being on a 0-1 scale

HDIGroup

Categories (Very High, High, Medium, Low) based on HDI

Details

Most data for each variable were collected for 2023 (or most recently available year) from https://data.worldbank.org/. Energy and Electricity values come from U.S. Energy Information Administration. HDI values from United Nations Human Development Report.

** This dataset is updated for 4e from earlier versions (now Allcountries1e, AllCountries2e, and All Countries3e) **

Source

Most data were gathered online from https://data.worldbank.org/.

Gasoline prices come from https://tradingeconomics.com/country-list/gasoline-prices?continent=world.

Electicity and Energy variables from U.S. Energy Information Administration, https://www.eia.gov/international/data/world#/

HDI variables from United Nations Human Development Report, https://hdr.undp.org/data-center/human-development-index#/indicies/HDI All accessed January 2025.


Lock5Data documentation built on Jan. 8, 2026, 9:09 a.m.