luukvdmeer / sfnetworks

Tidy Geospatial Networks in R
https://luukvdmeer.github.io/sfnetworks/
Other
347 stars 20 forks source link

Export `st_duplicated` or propose it to `sf` package #165

Open agila5 opened 3 years ago

agila5 commented 3 years ago

I think st_duplicated is quite useful in several contexts (also outside of sfnetworks when testing the duplicated geometries) and I think we might consider exporting the function or propose it to sf developers.

luukvdmeer commented 3 years ago

Sounds good, I have been thinking before of exporting some utils functions of the package. Although I would say that st_duplicated and st_match are not really network specific. Maybe I can put them in a new package sfutils (since I don't think sf itself is the place for these kind of "handy" extras either, and not sure if @edzer is keen on adding even more functions). Then you don't have to load sfnetworks when you only want to use these functions

agila5 commented 3 years ago

Although I would say that st_duplicated and st_match are not really network specific. Maybe I can put them in a new package sfutils...

👍 for me. Maybe @Robinlovelace already started a similar project, but I'm not sure.