Closed mdsumner closed 5 years ago
Ping @jmlondon fyi
Thanks for this, @mdsumner. Even more ideal (at least for my own selfish workflow) would be an sda filter that I could pass an sf points object (in any projection) and get back an sf object with records to remove indicated.
Use st_cordinates to get the raw x,y values. I'd be interested in seeing the way you call argosfilter now
Here's a trip_sda filter function and example that works with the same interface as argosfilter. We necessarily have to remove locations that don't make sense (out of order, duplicate times) - internally argosfilter swallows these with an eps values.
Created on 2019-04-03 by the reprex package (v0.2.1)
More ideal would be to remove any algorithm logic from trip (speed, angle filters, time spent, dupe time fudges, the sims, etc and make then complietely generic in a function with no formal classes, with
lon, lat, time, [group]
function inputs that any package could use.