# Format the organism data
formatted_fish <- format_org(data = fish,
var_Id = "TagCode",
var_release = "Release_Date",
var_tag_life = "TagLife",
var_ping_rate = "PRI",
local_time_zone = "America/Los_Angeles",
time_format = "%Y-%m-%d %H:%M:%S")
# Add organism data to the prefiltered detection data
add_org(prefilter_file = dat_filt1,
org = formatted_fish,
time_before_detection = 120,
time_unit = "days")
Run the code above in your browser using DataLab