grep_place function

Find places matching a term in a places object

Find places matching a term in a places object

This is just shorthand for grep(term, list_places(places), value=TRUE, ignore.case=TRUE)

grep_place(places, term)

Arguments

  • places: object returned from a call to places
  • term: equivalent to the pattern argument of grep

Examples

## Not run: places("Maine") %>% grep_place("south") ## End(Not run)
  • Maintainer: Kyle Walker
  • License: MIT + file LICENSE
  • Last published: 2024-01-24

Downloads (last 30 days):