Subsets the locations IDs from the camera names vector.
     
    
    Usage
    get_camnames(cameras, locations, silence_warnings = FALSE, logger = NA)
 
    
    Arguments
    - cameras
- a character vector of camera names 
- locations
- a character vector of locations (must be the same length as - cameras)
 
- silence_warnings
- Should a warning be displayed when - locationIDis- NA?
 
- logger
- a - log4r- loggerobject if you want logging (can be created with- create_logger),
else- NA.
 
 
    
    Value
    
A vector of camera names without the location prefix (if it was present)
     
    
    Examples
    get_camnames(c("APN_A01", "MAD_B01"), c("APN", "MAD"))
#> [1] "A01" "B01"