| AllCountries | R Documentation |
Data on the countries of the world
A data frame with 217 observations on the following 29 variables.
CountryCountry name
CodeThree-letter code for country
LandAreaSize in 1000 sq. km.
PopulationPopulation in millions
DensityNumber of people per square kilometer
GDPGross Domestic Product (in $US) per capita
RuralPercentage of population living in rural areas
CO2CO2 emissions (metric tons per capita)
PumpPricePrice for a liter of gasoline ($US)
MilitaryPercentage of government expenditures directed toward the military
HealthPercentage of government expenditures directed towards healthcare
ArmedForcesNumber of active duty military personnel (in 1,000's)
InternetPercentage of the population with access to the internet
CellCell phone subscriptions (per 100 people)
HIVPercentage of the population with HIV
HungerPercent of the population considered undernourished
DiabetesPercent of the population diagnosed with diabetes
BirthRateBirths per 1000 people
DeathRateDeaths per 1000 people
ElderlyPopPercentage of the population at least 65 years old
LifeExpectancyAverage life expectancy (years)
FemaleLaborPercent of females 15 - 64 in the labor force
UnemploymentPercent of labor force unemployed
RenewablePercent of energy from renewable sources
EnergyTotal energy consumption (million BTU per capita)
ElectricityElectric power consumption (kWh per capita)
DevelopedCategories for kilowatt hours per capita, 1= under 2500, 2=2500 to 5000, 3=over 5000
HDIHuman Development Index - United Nations' measure of social and economic well being on a 0-1 scale
HDIGroupCategories (Very High, High, Medium, Low) based on HDI
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) **
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.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.