Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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

## Not run: 
places("Maine") %>% filter_place("berwick")

## End(Not run)

tigris

Load Census TIGER/Line Shapefiles

v1.0
MIT + file LICENSE
Authors
Kyle Walker [aut, cre], Bob Rudis [ctb]
Initial release
2020-07-13

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.