Standardize cameras names
Arguments
- cameras
Cameras vector
- locations
locations vector
- classifiers
Classifier vector. If the classifier is
NULL
, the function will apply all Zooniverse corrections.- silence_warnings
Should a warning be displayed when
locationID
isNA
?- logger
a
log4r
logger
object if you want logging (can be created withcreate_logger
), elseNA
.
Details
For all data: will add the location prefix.
For TrapTagger data:
if the location code is
KHO
: will remove the dash in the camera name (e.gKHO_E_A01
->KHO_EA01
)if the location code is
SAM
: will remove the dash in the camera name (e.gSAM_B_A01
->SAM_BA01
)if the location code is
SAM
: will remove the dash in the camera name (e.gTSW_L_A01
->TSW_LA01
)if the location code is
PLN
: will replace leadingPIL_
withPLN
(e.gPIL_A01
->PLN_A01
) For Zooniverse data:if the location code is
KHO
, will replaceKHOG
withE
andKHOL
withM
incameras
(and add location prefix).if the location code is
DHP
, will remove leadingD
incameras
(and add location prefix).if the location code is
OVE
, will remove leadingO
incameras
(and add location prefix).