igo_search | R Documentation |
Search any IGO by name or string pattern.
igo_search(pattern = NULL, exact = FALSE)
pattern |
regex pattern. If |
exact |
Logical. When |
The information of each IGO is retrieved based on the last year available on igo_year_format3.
An additional column label
is provided. This column is a clean version of
longorgname
A data.frame
.
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()
# With integers
igo_search(10) %>%
select(ionum:orgname) %>%
tibble()
igo_search(10, exact = TRUE) %>%
select(ionum:orgname) %>%
tibble()
# Several patterns (regex style)
igo_search("NAFTA|UN|EU") %>%
select(ionum:orgname) %>%
tibble()
# Several patterns Exact (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.