Skip to content

Commit

Permalink
Update mockOmopSketch.R
Browse files Browse the repository at this point in the history
  • Loading branch information
cecicampanile committed Jan 7, 2025
1 parent 84eba51 commit fb7f5c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/mockOmopSketch.R
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ checkColumns <- function(cdm_local){
for (table in names(cdm_local)){
cols <- info |>
dplyr::filter(.data$cdm_table_name == table)|>
dplyr::select(.data$cdm_field_name,.data$cdm_datatype)
dplyr::select("cdm_field_name","cdm_datatype")

missing_cols <- cols|>
dplyr::filter(!(.data$cdm_field_name %in% colnames(cdm_local[[table]])))
Expand Down

0 comments on commit fb7f5c1

Please sign in to comment.