Find states matching a term in a state
object
state
objectThis is just shorthand for grep(term, list_states(states), value=TRUE, ignore.case=TRUE)
grep_state(states, term)
states
: object returned from a call to state
term
: equivalent to the pattern
argument of grep
## Not run: states() %>% grep_state("north") ## End(Not run)