county.subset: county.subset

View source: R/tigris-fcns.R

county.subsetR Documentation

county.subset

Description

Given an sf object or bbox, get all counties that fall within polygon or bbox.

Usage

county.subset(x, cos = NULL, ...)

Arguments

x

sf or bbox object spanning area you want to filter polys to. Will use get intersection if sf object or crop if bbox.

cos

counties sf object. If none supplied, they are retrieved using tigris/census api

...

passed onto tigris::counties


kmcd39/geox documentation built on Nov. 15, 2024, 2:03 a.m.