SampCountries: Sample of Countries

SampCountriesR Documentation

Sample of Countries

Description

Data on a sample of fifty countries of the world

Format

A data frame with 50 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

Data from AllCountries for a random sample of 50 countries. Data from 2021-2024 depending on availability.
** Updated for 4e (earlier versions are now SampCountries3e, SampCountries2e, and SampCountries1e). **

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.