Skip to content

Commit

Permalink
Merge branch 'main' into 32_onco_iRecist_test_data
Browse files Browse the repository at this point in the history
  • Loading branch information
bundfussr committed Nov 29, 2023
2 parents ab98b63 + fc2593f commit fdd64c0
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: pharmaversesdtm
Type: Package
Title: Test Data for the Pharmaverse Family of Packages
Version: 0.1.1.9000
Version: 0.1.1.9001
Authors@R: c(
person("Edoardo", "Mancini", email = "edoardo.mancini@roche.com", role = c("aut", "cre")),
person("Gayatri", "G", role = "aut"),
Expand Down
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@

- Oncology response data for iRECIST criteria (`rs_onco_irecist`) was added. (#32)

- `get_terms()` now expects `TERMCHAR` instead of `TERMNAME` in alignment with [this](https://github.com/pharmaverse/admiral/issues/2186) `{admiral}` issue. (#76)

# pharmaversesdtm 0.1.1

## Documentation
Expand Down
4 changes: 2 additions & 2 deletions R/get_terms.R
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ get_terms <- function(basket_select,
select_id <- NULL
}
keep_cols <- c(
TERMNAME = "termname",
TERMCHAR = "termchar",
SRCVAR = "termvar",
GRPNAME = "smq_name",
select_id
Expand All @@ -57,7 +57,7 @@ get_terms <- function(basket_select,
select_id <- NULL
}
keep_cols <- c(
TERMNAME = "termname",
TERMCHAR = "termchar",
SRCVAR = "termvar",
GRPNAME = "sdg_name",
select_id
Expand Down
6 changes: 3 additions & 3 deletions data-raw/query_databases.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ library(dplyr)

# Create smq dataset ----
pregsmq <- tribble(
~termname, ~scope,
~termchar, ~scope,
"Achromotrichia congenital", "narrow",
"Craniosynostosis", "narrow",
"Hypophosphatasia", "narrow",
Expand Down Expand Up @@ -36,7 +36,7 @@ pregsmq <- tribble(
)

bilismq <- tribble(
~termname, ~scope,
~termchar, ~scope,
"Bile duct cancer recurrent", "narrow",
"Bile duct cancer recurrent", "broad",
"Bile duct squamous cell carcinoma", "narrow",
Expand Down Expand Up @@ -78,7 +78,7 @@ usethis::use_data(smq_db, overwrite = TRUE)

# Create sdg dataset ----
sdg_db <- tribble(
~termname,
~termchar,
"AMINOSALICYLIC ACID",
"AMINOSALICYLATE CALCIUM",
"AMINOSALICYLATE CALCIUM ALUMINIUM",
Expand Down
Binary file modified data/sdg_db.rda
Binary file not shown.
Binary file modified data/smq_db.rda
Binary file not shown.

0 comments on commit fdd64c0

Please sign in to comment.