Learn R Programming

igoR (version 0.2.1)

igo_search_states: Finds codes and names of a state

Description

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

Usage

igo_search_states(state)

Value

A data.frame.

Arguments

state

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

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