powered by
states
state
Filter a states Spatial object for only those states matching the contents of the state vector.
filter_state(states, state)
object returned from a call to states
a vector of full state names. The function performs the comparison in a case-insensitive manner.
if (FALSE) { states() %>% filter_state("south") }
Run the code above in your browser using DataLab