Filter to Intersecting Pieces
geo_filter(from, to, bool = FALSE, epsg = 3857)
Required. sf dataframe. the geography to subset
Required. sf dataframe. the geography that from must intersect
Optional, defaults to FALSE. Should this just return a logical vector?
numeric EPSG code to planarize to. Default is 3857.
sf data frame or logical vector if bool == TRUE
if (FALSE) {
# Needs Census Bureau API
data(towns)
block <- create_block_table('NY', 'Rockland')
geo_filter(block, towns)
}
data(towns)
data(rockland)
sub <- geo_filter(rockland, towns)