inbo / camtraptor

Camtraptor is an R package to read, explore and visualize Camera Trap Data Packages (Camtrap DP)
https://inbo.github.io/camtraptor/
MIT License
10 stars 2 forks source link

Add possibility to group by deployment characteristics #280

Open damianooldoni opened 1 year ago

damianooldoni commented 1 year ago

Feature request from @jimcasaer: it's useful sometimes to have effort grouped by deployment characteristics, not only by time periods.

Two alternatives are possible. get_custom_effort() would:

Possible values for these extra grouping are: locationName, tag or a custom column in dp$data$deployment. In other words, all columns characterizing the deployments.

Based on #236, we should opt for first option. In that issue we opted to add an extra value for group_by: deploymentID. This will allow us to merge the two functions, get_custom_effort() and get_effort().

So, this issue is an addition to #236 to allow multiple values for grouping.