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
If I then use the function setDT to coerce it to data.table, the sf class is not preserved. Could it be possible for setDT to preserve other classes than data.frame when coercing an object?
The text was updated successfully, but these errors were encountered:
When I import a shapefile using the function st_read from the library sf I get an object of class sf and data.frame.
If I then use the function setDT to coerce it to data.table, the sf class is not preserved. Could it be possible for setDT to preserve other classes than data.frame when coercing an object?
The text was updated successfully, but these errors were encountered: