```r if(tableId %in% as.character(existing_tables$tableId)){ overwrite <- TRUE } else { overwrite <- FALSE } ```