Skip to content

Commit

Permalink
cran v3.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
edward-burn committed Sep 24, 2024
1 parent 3768090 commit c3655f0
Show file tree
Hide file tree
Showing 7 changed files with 94 additions and 6 deletions.
8 changes: 5 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
Package: CodelistGenerator
Title: Identify Relevant Clinical Codes and Evaluate Their Use
Version: 3.1.0.900
Version: 3.2.0
Authors@R: c(
person("Edward", "Burn", email = "[email protected]",
role = c("aut", "cre"),
comment = c(ORCID = "0000-0002-9286-1128")),
person("Marti", "Catala", email = "[email protected]",
role = c("ctb"),
comment = c(ORCID = "0000-0003-3308-9905")),
person("Xihang", " Chen", email = "[email protected]",
role = c("ctb"),
person("Xihang", "Chen", email = "[email protected]",
role = c("aut"),
comment = c(ORCID = "0009-0001-8112-8959")),
person("Nuria", "Mercade-Besora", email = "[email protected]",
role = c("aut"), comment = c(ORCID = "0009-0006-7948-3747")),
person("Mike", "Du", email = "[email protected]",
role = c("ctb"),
comment = c(ORCID = "0000-0002-9517-8834")),
Expand Down
3 changes: 3 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# Generated by roxygen2: do not edit by hand

export("%>%")
export(availableATC)
export(availableICD10)
export(availableIngredients)
export(codesFromCohort)
export(codesFromConceptSet)
export(codesInUse)
Expand Down
4 changes: 2 additions & 2 deletions R/vocabUtilities.R
Original file line number Diff line number Diff line change
Expand Up @@ -518,10 +518,10 @@ filterOnDoseForm <- function(concepts, conceptDoseForms, doseForm){
}

addIngredientCount <- function(cdm, concepts) {

ingredient_ancestor <- cdm$concept_ancestor %>%
dplyr::inner_join(cdm$concept %>%
dplyr::filter(.data$concept_class_id == "Ingredient") %>%
dplyr::filter(.data$concept_class_id == "Ingredient",
.data$standard_concept == "S") %>%
dplyr::select("concept_id"),
by = c("ancestor_concept_id" = "concept_id"))

Expand Down
7 changes: 6 additions & 1 deletion man/CodelistGenerator-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions man/availableATC.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 26 additions & 0 deletions man/availableICD10.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 24 additions & 0 deletions man/availableIngredients.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c3655f0

Please sign in to comment.