Skip to content

Commit

Permalink
fix for arrow type
Browse files Browse the repository at this point in the history
  • Loading branch information
edward-burn committed Nov 10, 2023
1 parent bfcfc4d commit 9520fa2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion R/codesFromConceptSet.R
Original file line number Diff line number Diff line change
Expand Up @@ -184,8 +184,10 @@ extractCodes <- function(file, unknown) {
appendDescendants <- function(codelistTibble, cdm) {
cdm[["concept_ancestor"]] %>%
dplyr::select("ancestor_concept_id", "descendant_concept_id") %>%
dplyr::mutate(ancestor_concept_id = as.integer(.data$ancestor_concept_id)) %>%
dplyr::inner_join(
codelistTibble %>%
codelistTibble%>%
dplyr::mutate(concept_id = as.integer(.data$concept_id)) %>%
dplyr::filter(.data$include_descendants == TRUE) %>%
dplyr::rename("ancestor_concept_id" = "concept_id"),
by = "ancestor_concept_id",
Expand Down

0 comments on commit 9520fa2

Please sign in to comment.