list_states: Return a list of all the states in a 'state' object

View source: R/states.R

list_statesR Documentation

Return a list of all the states in a state object

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

## Not run: 
states() %>% list_states()

## End(Not run)

tigris documentation built on May 29, 2024, 2:20 a.m.