Skip to content

Commit

Permalink
Use index subset
Browse files Browse the repository at this point in the history
Signed-off-by: Liang Zhang <[email protected]>
  • Loading branch information
psychelzh committed Mar 29, 2024
1 parent 1a8568e commit 2fdcb03
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions R/preproc.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ wrangle_data <- function(data,
data[[col_raw_json]],
parse_raw_json
)
data[[col_raw_json]] <- NULL
data
data[, names(data) != col_raw_json, drop = FALSE]
}

#' Feed Raw Data to Pre-processing
Expand Down

0 comments on commit 2fdcb03

Please sign in to comment.