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
locationIDisNA?- logger
a
log4rloggerobject 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 replaceKHOGwithEandKHOLwithMincameras(and add location prefix).if the location code is
DHP, will remove leadingDincameras(and add location prefix).if the location code is
OVE, will remove leadingOincameras(and add location prefix).