igo_search_states: Finds codes and names of a state

View source: R/igo_search_states.R

igo_search_statesR Documentation

Finds codes and names of a state

Description

Extract all the memberships of a state on a specific date.

Usage

igo_search_states(state)

Arguments

state

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

Value

A data.frame.

See Also

states2016().

Examples

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()

dieghernan/igoR documentation built on April 24, 2024, 2:15 a.m.