jniedballa / camtrapR

R package for camera trap data management
https://jniedballa.github.io/camtrapR/
32 stars 5 forks source link

cameraOperation is slow #29

Open jniedballa opened 9 months ago

jniedballa commented 9 months ago

function is quite slow for large camera trap tables.

Main bottlenecks: https://github.com/jniedballa/camtrapR/blob/116e40ffcc59a6c4485cc6631350b18a541fee76/R/cameraOperation.R#L589 https://github.com/jniedballa/camtrapR/blob/116e40ffcc59a6c4485cc6631350b18a541fee76/R/cameraOperation.R#L605 https://github.com/jniedballa/camtrapR/blob/116e40ffcc59a6c4485cc6631350b18a541fee76/R/cameraOperation.R#L637