list_states function

Return a list of all the states in a state object

Return a list of all the states in a state object

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)
  • Maintainer: Kyle Walker
  • License: MIT + file LICENSE
  • Last published: 2024-01-24