Skip to contents

National health, welfare, and education statistics for 213 places, mostly UN members, but also other areas like Hong Kong that are not independent countries.

Usage

data(UN)

Format

A data frame with 213 rows on the following 7 variables.

region

Region of the world: Africa, Asia, Caribbean, Europe, Latin Amer, North America, NorthAtlantic, Oceania.

group

A factor with levels oecd for countries that are members of the OECD, the Organization for Economic Co-operation and Development, as of May 2012, africa for countries on the African continent, and other for all other countries. No OECD countries are located in Africa.

fertility

Total fertility rate, number of children per woman.

ppgdp

Per capita gross domestic product in US dollars.

lifeExpF

Female life expectancy, years.

pctUrban

Percent urban.

infantMortality

Infant deaths by age 1 year per 1000 live births

Source

All data were collected from UN tables accessed at http://unstats.un.org/unsd/demographic/products/socind/ on April 23, 2012. OECD membership is from https://www.oecd.org, accessed May 25, 2012.

Note

Similar data, from the period 2000-2003, appear in the alr3 package under the name UN3. This data set was formerly named UNlla and replaces the older dataset named UN.

References

Weisberg, S. (2014). Applied Linear Regression, 4th edition. Hoboken NJ: Wiley.

Examples

summary(UN)
#>         region      group       fertility         ppgdp         
#>  Africa    :53   oecd  : 31   Min.   :1.134   Min.   :   114.8  
#>  Asia      :50   other :115   1st Qu.:1.754   1st Qu.:  1283.0  
#>  Europe    :39   africa: 53   Median :2.262   Median :  4684.5  
#>  Latin Amer:20   NA's  : 14   Mean   :2.761   Mean   : 13012.0  
#>  Caribbean :17                3rd Qu.:3.545   3rd Qu.: 15520.5  
#>  (Other)   :20                Max.   :6.925   Max.   :105095.4  
#>  NA's      :14                NA's   :14      NA's   :14        
#>     lifeExpF        pctUrban      infantMortality  
#>  Min.   :48.11   Min.   : 11.00   Min.   :  1.916  
#>  1st Qu.:65.66   1st Qu.: 39.00   1st Qu.:  7.019  
#>  Median :75.89   Median : 59.00   Median : 19.007  
#>  Mean   :72.29   Mean   : 57.93   Mean   : 29.440  
#>  3rd Qu.:79.58   3rd Qu.: 75.00   3rd Qu.: 44.477  
#>  Max.   :87.12   Max.   :100.00   Max.   :124.535  
#>  NA's   :14      NA's   :14       NA's   :6