Skip to contents

Country, region, and subcountry code and names

Usage

ppts_country_code

Format

A data frame with 266 rows and 7 variables:

location_name

Location full name

location_code

Short string code for country and regions

location_region_group

World bank seven regions

location_income_group

World bank country income groups

location_wblend_group

World bank lending category

location_region_group_code

3 Let. WB 7 region + digit sorter

location_code_adj

Allow for region then country by region sort

Source

World bank

Examples

data(ppts_country_code)
summary(ppts_country_code)
#>  location_name      location_code     
#>  Length:266         Length:266        
#>  Class :character   Class :character  
#>  Mode  :character   Mode  :character  
#>                                       
#>                                       
#>                                       
#>                                       
#>                       location_region_group location_income_group
#>  Europe & Central Asia (ECS)     :58        Length:266           
#>  Sub-Saharan Africa (SSF)        :48        Class :character     
#>  Latin America & Caribbean (LCN) :42        Mode  :character     
#>  East Asia & Pacific (EAS)       :38                             
#>  Middle East & North Africa (MEA):21                             
#>  (Other)                         :11                             
#>  NA's                            :48                             
#>  location_wblend_group location_region_group_code location_code_adj 
#>  Length:266            Length:266                 Length:266        
#>  Class :character      Class :character           Class :character  
#>  Mode  :character      Mode  :character           Mode  :character  
#>                                                                     
#>                                                                     
#>                                                                     
#>                                                                     
print(ppts_country_code)
#> # A tibble: 266 × 7
#>    location_name       location_code location_region_group location_income_group
#>    <chr>               <chr>         <fct>                 <chr>                
#>  1 Aruba               ABW           Latin America & Cari… High income          
#>  2 Afghanistan         AFG           South Asia (SAS)      Low income           
#>  3 Angola              AGO           Sub-Saharan Africa (… Lower middle income  
#>  4 Albania             ALB           Europe & Central Asi… Upper middle income  
#>  5 Andorra             AND           Europe & Central Asi… High income          
#>  6 United Arab Emirat… ARE           Middle East & North … High income          
#>  7 Argentina           ARG           Latin America & Cari… Upper middle income  
#>  8 Armenia             ARM           Europe & Central Asi… Upper middle income  
#>  9 American Samoa      ASM           East Asia & Pacific … High income          
#> 10 Antigua and Barbuda ATG           Latin America & Cari… High income          
#> # ℹ 256 more rows
#> # ℹ 3 more variables: location_wblend_group <chr>,
#> #   location_region_group_code <chr>, location_code_adj <chr>