You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class(nc_sf) <- c("sf", "tbl_df", "tbl", "data.frame")
left_join(nc_sf, nc_df, by="FIPS")
#> Error in .subset2(x, i, exact = exact): attempt to select less than one element in get1index
In case someone stumbles over "Actually, shouldn't this already be a sf-tibble?": Nevermind, I mixed up st_read (which returns an sf-dataframe) and read_sf (which returns a sf-tibble as of v0.5-2)
Attribute joins do not work with sf-tibble, i.e. class
c("sf", "tbl_df", "tbl", "data.frame")
Actually, shouldn't this already be a sf-tibble?
Anyway, the join works
With an sf-tibble, it does not
Session info
The text was updated successfully, but these errors were encountered: