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)
filter_geo_range(df, use_aoi, x = "long", y = "lat", crs_df = 4326)
Dataframe. Needs coordinate columns
sf. Name of sf object defining the area of interest
Character. Name of column with x coord
Character. Name of column with y coord
Anything that will return a legitimate crs when passed to the crs attribute of st_transform or st_as_sf
Dataframe filtered to area of interest