Filter a dataframe with e/n or lat/long to an area of interest polygon (sf)
Source:R/filter_geo_range.R
filter_geo_range.Rd
Filter a dataframe with e/n or lat/long to an area of interest polygon (sf)
Arguments
- df
Dataframe. Needs coordinate columns
- use_aoi
sf. Name of sf object defining the area of interest
- x
Character. Name of column with x coord
- y
Character. Name of column with y coord
- crs_df
Anything that will return a legitimate crs when passed to the crs attribute of st_transform or st_as_sf