Skip to content
Snippets Groups Projects
Commit bb390758 authored by Blodgett, David L.'s avatar Blodgett, David L.
Browse files

quick fix for VPU 13.

parent b78bcb46
No related branches found
No related tags found
1 merge request!150Outdated changes and README update
......@@ -437,7 +437,11 @@ merge_refactor <- function(rpus, rpu_vpu_out,
}
out <- setNames(lapply(names(out[[1]]), function(x, out) {
dplyr::bind_rows(lapply(out, function(df, n) df[[n]], n = x))
dplyr::bind_rows(lapply(out, function(df, n) {
if("COMID" %in% names(df[[n]]) && is.numeric(df[[n]]$COMID))
df[[n]]$COMID <- as.character(df[[n]]$COMID)
df[[n]]
}, n = x))
}, out = out), names(out[[1]]))
# blow up so we have unique COMIDs to join on.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment