Skip to content

Commit

Permalink
remove redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
Yunuuuu committed Oct 27, 2023
1 parent 94b68a6 commit fc931c7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/dedup.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ methods::setMethod("faers_dedup", "FAERSascii", function(object, remove_deleted_
deleted_cases = deleted_cases
)
)
deduplicated_data <- deduplicated_data[, c("year", "quarter", "primaryid")]
object@data <- lapply(object@data, function(x) {
x[deduplicated_data, on = c("year", "quarter", "primaryid")]
})
Expand Down

0 comments on commit fc931c7

Please sign in to comment.