Learn R Programming

tigris (version 0.3)

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

Description

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

Usage

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

Run this code
places("Maine") %>% filter_place("berwick")

Run the code above in your browser using DataLab