Learn R Programming

igoR (version 1.0.0)

igo_search_states: Finds codes and names of a state

Description

Find codes and names of a state.

Usage

igo_search_states(state)

Value

A data.frame.

Arguments

state

Any valid name or code of a state as specified on states2016(). It can be also an array of states.

References

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 datasets. Journal of Peace Research, 57(3), 492–503. tools:::Rd_expr_doi("10.1177/0022343319881175").

See Also

states2016().

Examples

Run this code
library(dplyr)

igo_search_states("Spain") %>% as_tibble()

igo_search_states(c(20, 150)) %>% as_tibble()

igo_search_states("congo") %>% as_tibble()

igo_search_states(c("Germany", "papal states")) %>% as_tibble()

igo_search_states(c("FRN", "United Kingdom", 240, "italy")) %>% as_tibble()

Run the code above in your browser using DataLab