filter_place function

Filter a places Spatial object for only those places matching the contents of the place vector.

Filter a places Spatial object for only those places matching the contents of the place vector.

filter_place(places, place)

Arguments

  • places: object returned from a call to places
  • place: a vector of full place names. The function performs the comparison in a case-insensitive manner.

Examples

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