-
Notifications
You must be signed in to change notification settings - Fork 3
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
Combine get_n_obs()
and get_n_individuals()
into new function n_observations()
#237
Comments
Some thoughts:
|
I don't have a particularly strong opinion on this, but I suggest that the verb "get" is consistently used/ omitted as a prefix in the naming of camtraptor functions.
I agree, getting all of these outputs at once will ensure efficient coding. In my experience, you're often interested in all of these metrics anyway. You want to contrast
Yes, deprecate them and make them defunct in a later version of the package.
I guess that's fine too.
Edited For my proposal for a |
Suggested in camtraptor July 2023 coding sprint
get_n_obs()
returns the number of observations per deployment and species (unlessspecies = NULL
)Created on 2023-07-13 with reprex v2.0.2
get_n_individuals()
returns the number of individuals (count sum) per deployment and species (unlessspecies = NULL
)Created on 2023-07-13 with reprex v2.0.2
We suggest to combine this behaviour into a single function
n_observations()
that returns count characteristics per deployment and species. Filters are removed from the function, but supported byfilters_
functionsThe returned information would be:
The text was updated successfully, but these errors were encountered: