Construct a recordTable, data structure that is compatible with camtrapR for only species image.

make_recordtable_helper(
  df_with_species_images,
  delta_time_compared_to,
  camera_independence,
  remove_non_indpendent_records,
  min_delta_time
)

Arguments

df_with_species_images

R dataframe ofonly images that have species in them, with key attributes - trip, site, camera_no, site_code, moon_phase_number, species, count.

delta_time_compared_to

Character string having values of lastIndependentRecord (default) or lastRecord. This is used to compare the time difference to previous records of same species in a station.

camera_independence

Logical value with default set to TRUE.

remove_non_indpendent_records

Logical value with default set to TRUE.

min_delta_time

Integer value specifying independence of records, if set to 0, all images are independent and no temporal filtering is needed. Default is set to 3.

Value

R Data frame which has all the attributes of cameratrapR recordTable data structure.