
Get non-shared cameras between two dataframes
Source:R/utils_server_functions.R
get_cameras_not_in.Rd
Using two dataframes in input, determine which cameras are in one of the tables but not in the other one.
Value
A named list with two components
$not_in_records
: cameras fromdfcameras
that are not indfrecords
. If all cameras fromdfcameras
are indfrecords
, this is a character vector of length zero.$not_in_cameras
: cameras fromdfrecords
that are not indfcameras
If all cameras fromdfrecords
are indfcameras
, this is a character vector of length zero.
Examples
dfrecords <- data.frame(camID = letters[2:7])
dfcam <- data.frame(cameras = letters[1:5])
get_cameras_not_in(dfrecords = dfrecords,
dfcameras = dfcam,
cam_col_dfrec = "camID",
cam_col_dfcam = "cameras")
#> $not_in_records
#> [1] "a"
#>
#> $not_in_cameras
#> [1] "f" "g"
#>