censor_photos: Remove UWIN Images With Faulty Timestamps

Description Usage Arguments Details Value Examples

View source: R/censor_functions.R

Description

censor_photos removes photos from the 'Photos' table and associated detections from the 'Detections' table if the time stamp on the photo is > 7 days before a camera was set at a site or > 7 days after a camera was pulled at a site. These latter values are stored in the 'Visits' table.

Usage

1
censor_photos(uwin_data = NULL)

Arguments

uwin_data

The list object returned from collect_tables.

Details

This function requires the following tables in the list object to work : 'Photos', 'Detections', and 'Visits'.

Furthermore, do_qaqc must be applied to the uwin list object before photos can be summarised.

Value

Returns the list object, but with offending photos and detections removed from their respective tables. This also will update the active dates within the 'Visits' table

Examples

1
2
3
4
5
 # check for errors
 uwin_list <- do_qaqc(uwin_test)

 # censor the photos
 uwin_list <- censor_photos(uwin_data = uwin_list)

mfidino/uwinr documentation built on Oct. 9, 2019, 10:02 p.m.