-
Notifications
You must be signed in to change notification settings - Fork 2
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
Feature request: append_activity_data
#341
Comments
get_activity_data
append_activity_data
About using After briefly discussing all the options with @peterdesmet, we think that the best way would be to add the 4 new columns directly in the output of |
@damianooldoni in my opinion it would be nice to have a function that takes the output from
get_record_table
and adds two additional columns "clock" (clock time of the observation in radians) and "sun" (sun time of the observation in radians) that are frequently used by users of camera trap data to calculate daily activity levels, using the functionactivity::fitact
. This would extend the possible workflows ofcamtraptor
, which is now compatible with theunmarked
package for analyses of occupancy and abundance-estimation, towards analyses of activity patterns using theactivity
package.get_activity_data.zip: contains a minimal data example.
Things we need to decide are:
get_record_table
such that it automatically, or after calling a new boolean argument, appendsclock
andsolar
(Note: I refer to this asget_activity_data
, but I thinkt it would be better to retain the nameget_record_table
for this) OR a new functionappend_activity_data
that appends these columns after first callingget_record_table
and another (potentially new) functionget_coordinates
.longitude
,latitude
,clock
andsolar
OR let the user choose which cols (e.g. onlysolar
)overlap::sunTime
oractivity::solartime
), and anchoring they would like to use for the computations ofsolar
@damianooldoni, @jimcasaer any other thoughts on this?
The text was updated successfully, but these errors were encountered: