Trying to add a data column to a simplefeatures point object using dplyr::left_join, but it appears to drop the sf class:
class(sf)  "sf" "data.frame" class(df)  "tbl_df" "tbl" "data.frame" eg <- left_join(sf, df, by = 'common_col') class(eg)  "data.frame"
same thing happens when
df is just a plain data frame. I can fix it easily enough with
eg <- st_as_sf(eg)
but this feels like an unnecessary extra step. Am I making poor function choices for what I'm trying to do, or is this an actual bug?