Learn R Programming

tigris (version 0.5)

list_states: Return a list of all the states in a

Description

Return a list of all the states in a state object

Usage

list_states(states, sorted = TRUE)

Arguments

states
object returned from a call to state
sorted
return the list sorted or in the order found in the shapefile?

Examples

Run this code
## Not run: ------------------------------------
# states() %>% list_states()
## ---------------------------------------------

Run the code above in your browser using DataLab