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 dataframe.
igo_year_format3
# All values
all <- igo_search()
nrow(all)
colnames(all)
dplyr::tibble(all)
# Search by pattern
igo_search("EU")[, 1:3]
igo_search("EU", exact = TRUE)[, 1:3]
# With integers
igo_search(10)[, 1:3]
igo_search(10, exact = TRUE)[, 1:3]
# Several patterns (regex style)
igo_search("NAFTA|UN|EU")[, 1:3]
# Several patterns Exact (regex style)
igo_search("^NAFTA$|^UN$|^EU$")[, 1:3]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.