Learn R Programming

igoR

The goal of igoR is to provide access and to extract information from the Intergovernmental Organizations Database (IGOs), version 3, provided by the Correlates of War Project (Pevehouse et al. 2020).

The dataset (V3) includes information of 534 IGOs from 1816 to 2014, as well as membership information.

Additionally, a distribution of the State System Membership (Correlates of War Project 2017) is included on this package.

Installation

Install igoR from CRAN:

install.packages("igoR")

You can install the developing version from GitHub:

library(remotes)
install_github("dieghernan/igoR")

Alternatively, you can install igoR using the r-universe:

# Install igoR in R:
install.packages("igoR", repos = c(
  "https://dieghernan.r-universe.dev",
  "https://cloud.r-project.org"
))

Basic usage

Search an IGO by name:

Search all IGOs related with “sugar”:

library(igoR)

result_sugar <- igo_search("Sugar")
ionumionameorgnamelongorgnamelabelsdatedeaddatedeadintegratedreplacedigocodeversionaccuracyofpre1965membershipdatessourcesandnotesimputedpoliticalsocialeconomic
40AMSCAfrican/Malgasy Sugar CouncilAfrican and Malagasy Sugar CouncilAfrican and Malagasy Sugar Council19661977100NA2.1Not applicable - created 1965 or later0001
1920GLACSECGroup of L/A & Carib. Sugar Exp. CountriesGroup of Latin American and Caribbean Sugar Exporting CountriesGroup of Latin American and Caribbean Sugar Exporting Countries19742001100NA2.3Not applicable - created 1965 or later0100
3130ISuCIntl Sugar CouncilInternational Sugar CouncilInternational Sugar Council19371967100913.0Within 5 years0010
4290SugUSugar UnionSugar UnionSugar Union19021913100293.0Completely accurate, except a few minor uncertainties0001

IGO members:

Composition of the European Economic Community over time:

eec_code <- igo_search("EEC", exact = TRUE)

# Founding
eec_init <- igo_members(eec_code$ioname, year = eec_code$sdate)
ionameccodestatestatenmeyearvaluecategoryorgname
EEC210netherlandsNetherlands19581Full MembershipEuropean Economic Community
EEC211belgiumBelgium19581Full MembershipEuropean Economic Community
EEC212luxembourgLuxembourg19581Full MembershipEuropean Economic Community
EEC220franceFrance19581Full MembershipEuropean Economic Community
EEC260wgermanyGerman Federal Republic19581Full MembershipEuropean Economic Community
EEC325italyItaly19581Full MembershipEuropean Economic Community

EEC, members (1958)

# Latest date
eec_end <- igo_members(eec_code$ioname)
ionameccodestatestatenmeyearvaluecategoryorgname
EEC200ukUnited Kingdom19921Full MembershipEuropean Economic Community
EEC205irelandIreland19921Full MembershipEuropean Economic Community
EEC210netherlandsNetherlands19921Full MembershipEuropean Economic Community
EEC211belgiumBelgium19921Full MembershipEuropean Economic Community
EEC212luxembourgLuxembourg19921Full MembershipEuropean Economic Community
EEC220franceFrance19921Full MembershipEuropean Economic Community
EEC230spainSpain19921Full MembershipEuropean Economic Community
EEC235portugalPortugal19921Full MembershipEuropean Economic Community
EEC255germanyGermany19921Full MembershipEuropean Economic Community
EEC325italyItaly19921Full MembershipEuropean Economic Community
EEC350greeceGreece19921Full MembershipEuropean Economic Community
EEC390denmarkDenmark19921Full MembershipEuropean Economic Community

EEC, members (1992)

Recommended packages

  • countrycode for converting country names and codes across different systems (ISO3, Eurostat, World Bank, UN, FIPS/GEC, etc..)
  • dplyr for data manipulation.

Citation

A BibTeX entry for LaTeX users:

@Manual{R-igoR,
  title = {{igoR}: Intergovernmental Organizations Database},
  doi = {10.32614/CRAN.package.igoR},
  author = {Diego Hernangómez},
  year = {2024},
  version = {0.2.1},
  url = {https://dieghernan.github.io/igoR/},
  abstract = {Tools to extract information from the Intergovernmental Organizations (IGO) Database , version 3, provided by the Correlates of War Project <https://correlatesofwar.org/>. See also Pevehouse, J. C. et al. (2020). Version 3 includes information from 1815 to 2014.},
}

References

Correlates of War Project. 2017. “State System Membership List, V2016.” https://correlatesofwar.org/data-sets/state-system-membership/.

Pevehouse, Jon CW, Timothy Nordstrom, Roseanne W McManus, and Anne Spencer Jamison. 2020. “Tracking Organizations in the World: The Correlates of War IGO Version 3.0 Datasets.” Journal of Peace Research 57 (3): 492–503. https://doi.org/10.1177/0022343319881175.

Copy Link

Version

Install

install.packages('igoR')

Monthly Downloads

276

Version

0.2.1

License

GPL (>= 3)

Issues

Pull Requests

Stars

Forks

Maintainer

Diego Hernang<c3><b3>mez

Last Published

December 17th, 2024

Functions in igoR (0.2.1)

igo_year_format3

Intergovernmental Organizations (IGO) by year
igoR-package

igoR: Intergovernmental Organizations Database
igo_search

Search and find an IGO
igo_recode_igoyear

Helper functions to recode categories
state_year_format3

Country membership to IGO by year
igo_state_membership

Extract memberships of a state
states2016

State System Membership (v2016)
igo_members

Extract members of an IGO
igo_dyadic

Extract the joint membership of a pair of countries across IGOs
igo_search_states

Finds codes and names of a state