igoR

August 25, 2026 · View on GitHub

CRAN
status CRAN
results CRAN-Downloads r-universe R-CMD-check codecov coveralls CodeFactor DOI Project Status: Inactive – The project has reached a stable, usable
state but is no longer being actively developed, support and maintenance
will be provided as time
allows. status

igoR provides tools for searching, extracting and recoding data from the Intergovernmental Organizations Database (version 3), distributed by the Correlates of War Project (Pevehouse et al. 2020).

The IGO-year data set contains 534 IGOs recorded from 1816 to 2014. The package also includes country-year membership data, state system data (Correlates of War Project 2025) and functions for deriving dyad-year joint membership results.

Note

This package is stable and maintained on a best-effort basis. I currently prioritize CRAN compatibility, bug fixes and regressions over new features.

Installation

Install igoR from CRAN:

install.packages("igoR")

Check the documentation for the development version at https://dieghernan.github.io/igoR/dev/.

You can install the development version from GitHub:

pak::pak("dieghernan/igoR")

Alternatively, you can install igoR using r-universe:

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

Basic usage

Search for IGOs by name

Search for IGOs related to “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

Table 1: IGOs related to sugar

IGO members

Extract the members of the European Economic Community over time.

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

# Get founding members.
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

Table 2: EEC members (1958)

# Get members in the latest available year.
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

Table 3: EEC members (1992)

  • countrycode package for converting country names and codes across systems, including ISO3, Eurostat, World Bank, UN and FIPS/GEC.
  • dplyr package for data manipulation.

Citation

Hernangómez D (2026). igoR: Access the Intergovernmental Organizations (IGO) Database. doi:10.32614/CRAN.package.igoR. https://dieghernan.github.io/igoR/.

For LaTeX users, a BibTeX entry is:

@Manual{R-igoR,
  title = {{igoR}: Access the Intergovernmental Organizations ({IGO}) Database},
  doi = {10.32614/CRAN.package.igoR},
  author = {Diego Hernangómez},
  year = {2026},
  version = {1.1.0},
  url = {https://dieghernan.github.io/igoR/},
  abstract = {Provides tools for searching, extracting and recoding the Intergovernmental Organizations (IGO) Database (version 3), distributed by the Correlates of War Project <https://correlatesofwar.org/>. Includes IGO-year and country-year membership data, state system data and functions for deriving dyad-year joint membership results. For a description of the data, see Pevehouse, J. C. et al. (2020) <doi:10.1177/0022343319881175>.},
}

References

Correlates of War Project. 2025. State System Membership, V2024. https://correlatesofwar.org.

Pevehouse, Jon C. W., 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.