| igo_search | R Documentation |
Search for any IGO by name or string pattern.
igo_search(pattern = NULL, exact = FALSE)
pattern |
regex pattern. If |
exact |
Logical. When |
The information for each IGO is retrieved from the last year available in igo_year_format3.
An additional column label is provided. This column is a clean version of
longorgname.
A data.frame.
Codebook Version 3 IGO Data for full reference.
Pevehouse, J. C., Nordstrom, T., McManus, R. W., & Jamison, A. S. (2020). Tracking organizations in the world: The Correlates of War IGO Version 3.0 data sets. Journal of Peace Research, 57(3), 492–503. \Sexpr[results=rd]{tools:::Rd_expr_doi("10.1177/0022343319881175")}.
igo_year_format3.
# All values.
library(dplyr)
all <- igo_search()
all %>% tibble()
# Search by pattern.
igo_search("EU") %>%
select(ionum:orgname) %>%
tibble()
igo_search("EU", exact = TRUE) %>%
select(ionum:orgname) %>%
tibble()
# Use integers.
igo_search(10) %>%
select(ionum:orgname) %>%
tibble()
igo_search(10, exact = TRUE) %>%
select(ionum:orgname) %>%
tibble()
# Use several patterns (regex style).
igo_search("NAFTA|UN|EU") %>%
select(ionum:orgname) %>%
tibble()
# Use several exact patterns (regex style).
igo_search("^NAFTA$|^UN$|^EU$") %>%
select(ionum:orgname) %>%
tibble()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.