Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create active_time() #184

Open
jimcasaer opened this issue Dec 13, 2022 · 2 comments
Open

Create active_time() #184

jimcasaer opened this issue Dec 13, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@jimcasaer
Copy link
Collaborator

jimcasaer commented Dec 13, 2022

Create new indicator based on number with at least one observation of a species within a deployment

  • somewhere between the RAI (#obs / #days of effort within the deployment) and raw occ (number of deployments having at least on obs of the species / total number of deployments) there is the #days with at least one observation (of a species) / #days of camera trap effort within the deployment => this ranges from 0 tot 1 (each day of the trapping effort)
  • given that this indicator can be calculated for each deployment this could easily be integrated as a feature in map_dep()
@damianooldoni
Copy link
Member

Nice feature. Yes, it's possible to visualise it of course.

We can use number of days, but we could use hours, weeks or months as well. So, days should be the default value of an argument.

Now, the most difficult stuff: naming. As this function measures the proportion of active days/hrs/weeks/months, I think to a name like get_active_time(). @jimcasaer, @peterdesmet ?

@PietrH PietrH added the enhancement New feature or request label Jul 13, 2023
@peterdesmet
Copy link
Member

Suggested in camtraptor July 2023 coding sprint

active_time(
  package = NULL,
  group_by = "deploymentID" # new param, not sure if other groups make sense?
)

The returned information would be:

deploymentID
active_time

@peterdesmet peterdesmet changed the title create new indicator based on number with at least one observation of a species within a deployment Create active_time() Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants