knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", tidy = "styler", dev = "ragg_png", warning = FALSE, message = FALSE, out.width = "100%" )
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 [@pevehouse2020].
The dataset (V3) includes information of r nrow(igoR::igo_search())
IGOs
from r min(igoR::igo_year_format3$year)
to
r max(igoR::igo_year_format3$year)
, as well as membership information.
Additionally, a distribution of the State System Membership [@correlatesofwarproject2017] is included on this package.
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" ))
Search all IGOs related with "sugar":
library(igoR) result_sugar <- igo_search("Sugar")
knitr::kable(result_sugar)
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)
knitr::kable(eec_init, caption = paste0("EEC, members (", unique(eec_init$year), ")"))
# Latest date eec_end <- igo_members(eec_code$ioname)
knitr::kable(eec_end, caption = paste0( "EEC, members (", unique(eec_end$year), ")" ))
print(citation("igoR")[1], style = "html")
A BibTeX entry for LaTeX users:
toBibtex(citation("igoR")[1])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.