Make a list of data and corresponding locations
Source:R/make_location_data_list.R
make_location_data_list.Rd
This function converts data and location into lists of sf objects using
as_sf_list. If location_col, data_col, or col (which sets both to the
same value), are provided the col is passed to as_sf_list to allow the
creation of an sf list from a sf data frame using dplyr::group_nest()
.
Usage
make_location_data_list(data, location, key = c("location", "data"), ...)