CountryData: Many variables on countries from the CIA factbook, 2014.

Description Usage Format Details Source Examples

Description

The CIA Factbook has geographic, demographic, and economic data on a country-by-country basis. In the description of the variables, the 4-digit number indicates the code used to specify that variable on the data and documentation web site. For instance, https://www.cia.gov/library/publications/the-world-factbook/fields/2153.html contains documentation for variable code 2153, network users.

Usage

1
data("CountryData")

Format

A data frame on the following 76 variables for each of the Countries in the World. (256 countries are given.)

country

Name of the country.

area

area (sq km), 2147

pop

number of people, 2119

growth

growth rate per year (%),2002

birth

birth rate (#/1000), 2054

death

death rate (#/1000), 2066

migr

net migration per year (#/1000). Difference between incoming and outgoing. 2112

maternal

maternal deaths per 100000 live births. 2223

infant

infant deaths per 1000 live births. 2091

life

life expectancy (years), 2102

fert

children born/woman (#/person), 2127

health

health spending (% of GDP), 2225

HIVrate

people with HIV (% of population), 2155

HIVpeople

people with HIV (#), 2156

HIVdeath

deaths from HIV (#/year), 2157

obesity

fraction of population considered obese (%), 2228

underweight

fraction of population considered underweight (%), 2224

educ

education spending (% of GDP), 2206

unemploymentYouth

youth unemployment (%), 2229

GDP

Gross Domestic Product ($), 2001

GDPgrowth

growth in GDP (%/year), 2003

GDPcapita

GDP per capita ($/person), 2004

saving

yearly money savings (% of GDP), 2260

indProd

Industrial production growth rate (%), 2089

labor

Labor force (people), 2095

unemployment

Unemployment rate (%), 2129

family

Distribution of family income - Gini index (Gini index), 2172

tax

Taxes and other revenues (% of GDP), 2221

budget

Budget surplus (+) or deficit (-) (% of GDP), 2222

debt

Public debt (% of GDP), 2186

inflation

Inflation rate (consumer prices) (%), 2092

discount

Central bank discount rate (%), 2207

lending

Commercial bank prime lending rate (%), 2208

narrow

Stock of narrow money ($), 2214

broad

Stock of broad money ($), 2215

credit

Stock of domestic credit ($), 2211

shares

Market value of publicly traded shares ($), 2200

balance

Current account balance ($), 2187

exports

Exports ($), 2078

imports

Imports ($), 2087

gold

Reserves of foreign exchange and gold ($), 2188

externalDebt

Debt - external ($), 2079

homeStock

Stock of direct foreign investment - at home ($), 2198

abroadStock

Stock of direct foreign investment - abroad ($), 2199

elecProd

Electricity - production (kWh), 2232

elecCons

Electricity - consumption (kWh), 2233

elecExp

Electricity - exports (kWh), 2234

elecImp

Electricity - imports (kWh), 2235

elecCap

Electricity - installed generating capacity (kW), 2236

elecFossil

Electricity - from fossil fuels (% of total installed capacity), 2237

elecNuc

Electricity - from nuclear fuels (% of total installed capacity), 2239

elecHydro

Electricity - from hydroelectric plants (% of total installed capacity), 2238

elecRenew

Electricity - from other renewable sources (% of total installed capacity), 2240

oilProd

Crude oil - production (bbl/day), 2241

oilExp

Crude oil - exports (bbl/day), 2242

oilImp

Crude oil - imports (bbl/day), 2243

oilRes

Crude oil - proved reserves (bbl), 2244

petroProd

Refined petroleum products - production (bbl/day), 2245

petroCons

Refined petroleum products - consumption (bbl/day), 2246

petroExp

Refined petroleum products - exports (bbl/day), 2247

petroImp

Refined petroleum products - imports (bbl/day), 2248

gasProd

Natural gas - production (cu M), 2249

gasCons

Natural gas - consumption (cu M), 2250

gasExp

Natural gas - exports (cu M), 2251

gasImp

Natural gas - imports (cu M), 2252

gasRes

Natural gas - proved reserves (cu M), 2253

mainlines

Telephones - main lines in use (mainlines in use), 2150

cell

Telephones - mobile cellular (cellphones), 2151

netHosts

Internet hosts (#), 2184

netUsers

Internet users (#), 2153

airports

Airports (#), 2053

railways

Railways (km), 2121

roadways

Roadways (km), 2085

waterways

Waterways (km), 2093

marine

Merchant marine (# of ships), 2108

military

Military expenditures (% of GDP), 2034

Details

These data were collected using the CIAdata() function.

THE DOCUMENTATION NEEDS COMPLETING. See the output of CIAdata() and Google "CIA Factbook NNNN", where NNNN is the 4-digit code used for indexing the data at the CIA.

Source

From the CIA World Factbook, https://www.cia.gov/library/publications/the-world-factbook/ For package maintainers: The lines to construct the file are in inst/datafixes.R.

Examples

1
2
data(CountryData)
## maybe str(CountryData) ; plot(CountryData) ...

DataComputing/DataComputing documentation built on May 6, 2019, 1:39 p.m.