Skip to content

cjyetman/memberstates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

memberstates

lists of the member states of various international organizations in various country code formats

suggest new organizations at: https://github.com/cjyetman/memberstates/issues

includes:

also includes official groupings by various organizations:

examples

memberstates$nato$iso3c
memberstates$eu$country.name

subestting a data frame (using base R)

url <- 'https://raw.githubusercontent.com/datasets/gdp/master/data/gdp.csv'
df <- read.csv(url)
df <- df[df$Year == max(df$Year), ]
df[df$Country.Code %in% memberstates$eu$iso3c, ]

subestting a data frame (using dplyr)

library(dplyr)
url <- 'https://raw.githubusercontent.com/datasets/gdp/master/data/gdp.csv'
read.csv(url) %>%
  filter(Year == max(Year)) %>%
  filter(Country.Code %in% memberstates$eu$iso3c)

Releases

No releases published

Packages

No packages published

Languages