Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0015 derive seq #53

Merged
merged 109 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from 107 commits
Commits
Show all changes
109 commits
Select commit Hold shift + click to select a range
1c4501f
First mockup of `hardcode_no_ct()`
ramiromagno Feb 8, 2024
faef0b1
Update `hardcode_no_ct()`
ramiromagno Feb 17, 2024
fd63b37
Align `hardcode_no_ct()` code style with Ramm's expectations
ramiromagno Feb 21, 2024
80d3943
Add `hardcode_*()` and `assign_*()` functions
ramiromagno Feb 22, 2024
ec5a9e4
hardcode_no_ct algorithm code changes (#45)
rammprasad Mar 13, 2024
0333d95
Add `oak_id_vars()`
ramiromagno Mar 14, 2024
7fd7716
Fix typo in `recode()`
ramiromagno Mar 14, 2024
802aacc
Simplify `oak_id_vars()` docs
ramiromagno Mar 14, 2024
7fd07b4
Update `assign_*` and `hardcode_*` implementations
ramiromagno Mar 14, 2024
9cc26d1
Introduce memoisation of `ct_mappings()`
ramiromagno Mar 14, 2024
329feaa
Update of README introductory paragraph
ramiromagno Mar 14, 2024
29be830
Merge from main
ramiromagno Mar 14, 2024
7720c05
Update hardcode_* functions' interface
ramiromagno Mar 24, 2024
e87ca66
Add `contains_oak_id_vars()` function
ramiromagno Mar 24, 2024
a5e61f0
Update `contains_oak_id_vars()` doc examples
ramiromagno Mar 24, 2024
a60ccd6
Update `sdtm_harcode()` and dependant functions
ramiromagno Mar 24, 2024
cd89804
Update `assign_*` and `hardcore_*` related functions
ramiromagno Mar 25, 2024
ae2da80
Automatic renv profile update.
ramiromagno Mar 25, 2024
30857e3
Automatic renv profile update.
ramiromagno Mar 25, 2024
73ebe2d
Make `ct` and `cl` parameters mandatory for `assign_ct()`
ramiromagno Mar 27, 2024
0eb4677
Add functions ct importing
ramiromagno Mar 27, 2024
dfd7710
Bring `hardcode*()` and `assign*()` related assertions closer to user…
ramiromagno Mar 27, 2024
6652aae
Add lagging behind Rd for `ct_example()`
ramiromagno Mar 27, 2024
59bcc71
Add `assert_ct()`
ramiromagno Mar 27, 2024
7f9f388
Add ct assertions
ramiromagno Mar 27, 2024
4c81ae1
Merge branch '0040_hardcode_no_ct' of github.com:pharmaverse/sdtm.oak…
ramiromagno Mar 27, 2024
4ed5c41
Remove R/.gitkeep
ramiromagno Apr 1, 2024
ca26d22
Add unit tests for `ct_vars()`
ramiromagno Apr 1, 2024
0456d55
Update dependencies
ramiromagno Apr 1, 2024
0e1eab4
Export `ct_vars()`
ramiromagno Apr 1, 2024
84a4f7d
Update `assert_ct()` docs
ramiromagno Apr 1, 2024
7cf1072
Clarify `assign_ct()`/`assign_no_ct()` doc
ramiromagno Apr 1, 2024
7dff0aa
Improve grammar in doc
ramiromagno Apr 1, 2024
cb2f2e8
Remove last empty line from ct example file
ramiromagno Apr 1, 2024
454b7d8
Add documentation to `sdtm_assign()` and ct-related unit tests
ramiromagno Apr 1, 2024
fafe01b
Update hardcode-related fns
ramiromagno Apr 1, 2024
3a4b355
Changes to meet linter issues
ramiromagno Apr 1, 2024
37575b2
Code reformatting
ramiromagno Apr 1, 2024
c176654
Code reflow
ramiromagno Apr 1, 2024
dafcfef
Improve `assert_cl()` docs
ramiromagno Apr 1, 2024
e128779
Update `read_ct()` docs
ramiromagno Apr 1, 2024
0895764
Automatic renv profile update.
ramiromagno Apr 1, 2024
339039e
Automatic renv profile update.
ramiromagno Apr 1, 2024
ab9db14
Add units tests for `recode()`
ramiromagno Apr 1, 2024
52c52fa
Remove `are_to_recode()` function
ramiromagno Apr 1, 2024
229c0bd
Add units tests for `assert_ct()`
ramiromagno Apr 1, 2024
c83bfdf
Add one more test for `assert_ct()`
ramiromagno Apr 1, 2024
a362578
Add a basic unit test for `ct_mappings()`
ramiromagno Apr 1, 2024
934a15c
Fill in some doc details of ct-related functions
ramiromagno Apr 2, 2024
0dcf0fc
Remove leftover doc text in `assign`
ramiromagno Apr 2, 2024
a44c865
Update website's reference
ramiromagno Apr 2, 2024
efb423f
Styling update
ramiromagno Apr 2, 2024
365fa09
Bump version and update NEWS
ramiromagno Apr 2, 2024
b267610
Fix a few lintr issues
ramiromagno Apr 2, 2024
cbd38eb
Merge branch '0040_hardcode_no_ct' of github.com:pharmaverse/sdtm.oak…
ramiromagno Apr 2, 2024
9cb23f5
Add examples to `ct_map()` doc
ramiromagno Apr 2, 2024
1bebdd8
Fix typo in `problems()` doc
ramiromagno Apr 2, 2024
a8f1bf5
Fix typo
ramiromagno Apr 2, 2024
92e490c
Initial mockup of `assign_datetime()`
ramiromagno Apr 2, 2024
d9031fd
Add `.warn` parameter to `create_iso8601()` internals
ramiromagno Apr 3, 2024
5987684
Remove lint issues
ramiromagno Apr 3, 2024
2791ef0
Replace `.data` usage in tidyselect expressions
ramiromagno Apr 3, 2024
2a8dbf5
Variable renaming
ramiromagno Apr 4, 2024
a718207
Finish pending renaming of variables
ramiromagno Apr 4, 2024
8cc8dcb
Rename code-list to codelist
ramiromagno Apr 4, 2024
609b60e
Fix style
ramiromagno Apr 4, 2024
e8beefc
Fix style
ramiromagno Apr 4, 2024
e4e7c99
Merge branch '0040_hardcode_no_ct' into 0046_assign_datetime
ramiromagno Apr 4, 2024
b854a10
Add assertions to `assign_datetime()`
ramiromagno Apr 4, 2024
c737310
Add merge example to `assign_datetime()` doc
ramiromagno Apr 4, 2024
bbbadd3
Style changes
ramiromagno Apr 4, 2024
54a6460
Style changes (.Rd)
ramiromagno Apr 4, 2024
79e79da
Bump version and update news
ramiromagno Apr 4, 2024
42d4d5a
Update `ct_map()` doc example
ramiromagno Apr 10, 2024
66644eb
Make tibbles more readable in doc examples
ramiromagno Apr 10, 2024
bb2e0d2
Rename `ct_cltc` to `ct_clst`
ramiromagno Apr 10, 2024
97439f6
Merge branch '0040_hardcode_no_ct' into 0046_assign_datetime
ramiromagno Apr 10, 2024
73fe395
Make tibble more readable in `assign_datetime()` doc examples
ramiromagno Apr 10, 2024
cc37420
Stash changes so far
ramiromagno May 3, 2024
b17161c
Fix bug in `assign_datetime`
ramiromagno May 4, 2024
3dba6d9
Linting
ramiromagno May 4, 2024
04254ac
Update styling
ramiromagno May 4, 2024
464f227
Add renv profile for R version 4.4
ramiromagno May 14, 2024
429eebe
Fix a few issues in `domain_example()` docs
ramiromagno May 14, 2024
9b447d1
Comment `derive_seq()`
ramiromagno May 14, 2024
391df0a
Add example with date and time to `assign_datetime()` docs
ramiromagno May 14, 2024
372f147
Avoid backslash hell (մերսի)
ramiromagno May 14, 2024
6801222
Update `ct_spec_vars()` docs' examples
ramiromagno May 14, 2024
994012b
Fix typo in `assign_datetime()` documentation
ramiromagno May 14, 2024
1230e7c
Fix typo in `ct_map()` docs
ramiromagno May 14, 2024
e71132b
Merge branch '0046_assign_datetime' into 0015_derive_seq
ramiromagno May 14, 2024
b8a2e20
Reformating of docs of `derive_seq()`
ramiromagno May 14, 2024
ed9a24d
Merge branch 'main' into 0046_assign_datetime
ramiromagno May 14, 2024
2a11a5c
Merge branch '0046_assign_datetime' into 0015_derive_seq
ramiromagno May 14, 2024
b7d104d
First mockup of `derive_seq()`
ramiromagno May 15, 2024
58688df
Simplification of `derive_seq()` interface
ramiromagno May 15, 2024
a56d378
Bump dev version and update NEWS
ramiromagno May 15, 2024
b99cb9d
Automatic renv profile update.
ramiromagno May 15, 2024
8662fa7
Update `derive_seq()`
ramiromagno May 15, 2024
c4ea73d
Merge branch '0015_derive_seq' of github.com:pharmaverse/sdtm.oak int…
ramiromagno May 15, 2024
b42e7be
Automatic renv profile update.
ramiromagno May 15, 2024
297b4cb
Strip down the domain example data sets
ramiromagno May 23, 2024
e79b87b
Remove `rec_vars()`
ramiromagno May 23, 2024
13b57cb
Merge branch '0015_derive_seq' of github.com:pharmaverse/sdtm.oak int…
ramiromagno May 23, 2024
06437a7
Fix linting issues
ramiromagno May 24, 2024
25828c4
Linting issues (still)
ramiromagno May 24, 2024
d586512
Fix code styling issues
ramiromagno May 24, 2024
fec01fc
Addressing Edgar's review
ramiromagno May 30, 2024
1aaa289
Add `sbj_vars()` to pkgdown reference list
ramiromagno May 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: sdtm.oak
Type: Package
Title: SDTM Data Transformation Engine
Version: 0.0.0.9003
Version: 0.0.0.9004
Authors@R: c(
person("Rammprasad", "Ganapathy", role = c("aut", "cre"),
email = "[email protected]"),
Expand Down
4 changes: 4 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,17 @@ export(create_iso8601)
export(ct_map)
export(ct_spec_example)
export(ct_spec_vars)
export(derive_seq)
export(derive_study_day)
export(domain_example)
export(fmt_cmp)
export(hardcode_ct)
export(hardcode_no_ct)
export(problems)
export(read_ct_spec)
export(read_ct_spec_example)
export(read_domain_example)
export(sbj_vars)
importFrom(rlang,"%||%")
importFrom(rlang,":=")
importFrom(rlang,.data)
Expand Down
6 changes: 6 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# sdtm.oak 0.0.0.9004 (development version)

## New Features

* New function: `derive_seq()` for deriving a sequence number variable.

# sdtm.oak 0.0.0.9003 (development version)

## New Features
Expand Down
2 changes: 1 addition & 1 deletion R/assign_datetime.R
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
#' the variables indicated in `id_vars`. This parameter is optional, see
#' section Value for how the output changes depending on this argument value.
#' @param id_vars Key variables to be used in the join between the raw dataset
#' (`raw_dat`) and the target data set (`raw_dat`).
#' (`raw_dat`) and the target data set (`tgt_dat`).
#' @param .warn Whether to warn about parsing failures.
#'
#' @returns The returned data set depends on the value of `tgt_dat`:
Expand Down
2 changes: 1 addition & 1 deletion R/ct.R
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ ct_mappings <- function(ct_spec, from = ct_spec_vars("from"), to = ct_spec_vars(
#' # Note that if the controlled terminology mapping is restricted to a codelist
#' # code, e.g. C71113, then only `"/day"` and `"Every 2 hours"` get mapped to
#' # `"QD"` and `"Q2H"`, respectively; remaining terms won't match given the
#' # codelist code # restriction, and will be mapped to an uppercase version of
#' # codelist code restriction, and will be mapped to an uppercase version of
#' # the original terms.
#' ct_map(x = terms, ct_spec = ct_spec, ct_clst = "C71113")
#'
Expand Down
68 changes: 68 additions & 0 deletions R/derive_seq.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
#' Derive the sequence number (`--SEQ`) variable
#'
#' @description
#' [derive_seq()] creates a new identifier variable: the sequence number
#' (`--SEQ`).
#'
#' This function adds a newly derived variable to `tgt_dat`, namely the sequence
#' number (`--SEQ`) whose name is the one provided in `tgt_var`. An integer
#' sequence is generated that uniquely identifies each record within the domain.
#'
#' Prior to the derivation of `tgt_var`, the data frame `tgt_dat` is sorted
#' according to grouping variables indicated in `rec_vars`.
#'
#' @param tgt_dat The target dataset, a data frame.
#' @param tgt_var The target SDTM variable: a single string indicating the name
#' of the sequence number (`--SEQ`) variable, e.g. `"DSSEQ"`. Note that
ramiromagno marked this conversation as resolved.
Show resolved Hide resolved
#' supplying a name not ending in `"SEQ"` will raise a warning.
#' @param rec_vars A character vector of record-level identifier variables.
#' @param sbj_vars A character vector of subject-level identifier variables.
#' @param start_at The sequence numbering starts at this value (default is `1`).
#'
#' @returns Returns the data frame supplied in `tgt_dat` with the newly derived
#' variable, i.e. the sequence number (`--SEQ`), whose name is that passed in
#' `tgt_var`. This variable is of type integer.
#'
#' @examples
#' # A VS raw data set example
#' (vs <- read_domain_example("vs"))
#'
#' # Derivation of VSSEQ
#' rec_vars <- c("STUDYID", "USUBJID", "VSTESTCD", "VSDTC", "VSTPTNUM")
#' derive_seq(tgt_dat = vs, tgt_var = "VSSEQ", rec_vars = rec_vars)
#'
#' # An APSC raw data set example
#' (apsc <- read_domain_example("apsc"))
#'
#' # Derivation of APSEQ
#' derive_seq(
#' tgt_dat = apsc,
#' tgt_var = "APSEQ",
#' rec_vars = c("STUDYID", "RSUBJID", "SCTESTCD"),
#' sbj_vars = c("STUDYID", "RSUBJID")
#' )
#' @export
derive_seq <-
function(tgt_dat,
tgt_var,
rec_vars,
sbj_vars = sdtm.oak::sbj_vars(),
start_at = 1L) {
admiraldev::assert_character_scalar(tgt_var)

admiraldev::assert_character_vector(rec_vars)
admiraldev::assert_character_vector(sbj_vars)
admiraldev::assert_data_frame(tgt_dat,
required_vars = rlang::syms(rec_vars),
optional = FALSE
)

admiraldev::assert_integer_scalar(start_at, subset = "non-negative")

tgt_dat |>
dplyr::ungroup() |> # ensure that is ungrouped
ramiromagno marked this conversation as resolved.
Show resolved Hide resolved
dplyr::arrange(dplyr::across(.cols = dplyr::all_of(rec_vars))) |>
dplyr::group_by(dplyr::across(dplyr::all_of(sbj_vars))) |>
dplyr::mutate("{tgt_var}" := dplyr::row_number() + start_at - 1L) |> # nolint object_name_linter()
dplyr::ungroup()
}
129 changes: 129 additions & 0 deletions R/domain_example.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
#' Find the path to an example SDTM domain file
#'
#' @description
#' [domain_example()] resolves the local path to a SDTM domain example file. The
#' domain examples files were imported from
#' [pharmaversesdtm](https://cran.r-project.org/package=pharmaversesdtm). See
#' Details section for available datasets.
#'
#' @details
#' Datasets were obtained from
#' [pharmaversesdtm](https://cran.r-project.org/package=pharmaversesdtm) but are
#' originally sourced from the [CDISC pilot
#' project](https://github.com/cdisc-org/sdtm-adam-pilot-project) or have been
#' constructed ad-hoc by the
#' [admiral](https://cran.r-project.org/package=admiral) team. These datasets
#' are bundled with `{sdtm.oak}`, thus obviating a dependence on
#' `{pharmaversesdtm}`.
#'
#' ### Example SDTM domains
#'
#' \describe{
#' \item{`"ae_ophtha"`}{Ophthalmology Adverse Events Dataset.}
#' \item{`"ae"`}{Adverse Events Dataset-updated.}
#' \item{`"ce_vaccine"`}{Clinical Events Dataset for Vaccine Studies.}
#' \item{`"cm"`}{Concomitant Medication Dataset.}
#' \item{`"dm_vaccine"`}{Demographics Dataset for Vaccine Studies.}
#' \item{`"dm"`}{Demography Dataset.}
#' \item{`"ds"`}{Disposition Dataset-updated.}
#' \item{`"eg"`}{ Electrocardiogram Dataset.}
#' \item{`"ex_ophtha"`}{Ophthalmology Exposure Dataset.}
#' \item{`"ex_vaccine"`}{Exposures Dataset for Vaccine Studies.}
#' \item{`"ex"`}{Exposure Dataset.}
#' \item{`"face_vaccine"`}{Findings About Clinical Events Dataset for Vaccine Studies.}
#' \item{`"is_vaccine"`}{Immunogenicity Specimen Assessments Dataset for Vaccine Studies.}
#' \item{`"lb"`}{Laboratory Measurements Dataset.}
#' \item{`"mh"`}{Medical History Dataset-updated.}
#' \item{`"oe_ophtha"`}{Ophthalmology Adverse Events Dataset.}
#' \item{`"pc"`}{Pharmacokinetics Concentrations Dataset.}
#' \item{`"pp"`}{Pharmacokinetics Parameters Dataset.}
#' \item{`"qs_ophtha"`}{Ophthalmology Questionnaire Dataset.}
#' \item{`"rs_onco_irecist"`}{Disease Response Dataset (iRECIST).}
#' \item{`"rs_onco"`}{Disease Response Dataset.}
#' }
#'
#' @param example A string with either the basename, file name, or relative path
#' to a SDTM domain example file bundled with `{stdm.oak}`, e.g. `"cm"`
#' (Concomitant Medication) or `"ae"` (Adverse Events).
#'
#' @returns The local path to an example file if `example` is supplied, or a
#' character vector of example file names.
#'
#' @examples
#' # If no example is provided it returns a vector of possible choices.
#' domain_example()
#'
#' # Get the local path to the Concomitant Medication dataset file.
#' domain_example("cm")
#'
#' # Local path to the Adverse Events dataset file.
#' domain_example("ae")
#'
#' @source See \url{https://cran.r-project.org/package=pharmaversesdtm}.
#'
#' @seealso [read_domain_example()]
#' @export
domain_example <- function(example) {
# If no example is requested, then return all available files.
if (missing(example)) {
domain_path <- system.file("domain", package = "sdtm.oak", mustWork = TRUE)
domain_files <- list.files(domain_path, pattern = "*.rds")
domains <- tools::file_path_sans_ext(basename(domain_files))
return(domains)
}

# Otherwise, resolve the local path to the example requested.
admiraldev::assert_character_scalar(example, optional = TRUE)
base_name <- tools::file_path_sans_ext(basename(example))
path <- file.path("domain", paste0(base_name, ".rds"))
local_path <- system.file(path, package = "sdtm.oak")

if (identical(local_path, "")) {
stop(
glue::glue(
"'{example}' does not match any domain example files. Run `domain_example()` for options."
),
call. = FALSE
)
} else {
local_path <-
system.file(path, package = "sdtm.oak", mustWork = TRUE)
return(local_path)
}
}

#' Read an example SDTM domain
#'
#' [read_domain_example()] imports one of the bundled SDTM domain examples
#' as a [tibble][tibble::tibble-package] into R. See [domain_example()] for
#' possible choices.
#'
#' @param example The name of SDTM domain example, e.g. `"cm"` (Concomitant
#' Medication) or `"ae"` (Adverse Events). Run `read_domain_example()` for
#' available example files.
#'
#' @returns A [tibble][tibble::tibble-package] with an SDTM domain dataset, or a
#' character vector of example file names.
#'
#' @examples
#' # Leave the `example` parameter as missing for available example files.
#' read_domain_example()
#'
#' # Read the example Concomitant Medication domain.
#' read_domain_example("cm")
#'
#' # Read the example Adverse Events domain.
#' read_domain_example("ae")
#'
#' @seealso [domain_example()]
#' @export
read_domain_example <- function(example) {
if (missing(example)) {
return(domain_example())
} else {
admiraldev::assert_character_scalar(example)
}

path <- domain_example(example)
readr::read_rds(file = path)
}
14 changes: 14 additions & 0 deletions R/sbj_vars.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#' Subject-level key variables
#'
#' [sbj_vars()] returns the set of variable names that uniquely define
#' a subject.
#'
#' @returns A character vector of variable names.
#'
#' @examples
#' sbj_vars()
#'
#' @export
sbj_vars <- function() {
c("STUDYID", "USUBJID")
}
7 changes: 7 additions & 0 deletions _pkgdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,16 @@ reference:
contents:
- assign
- harcode
- derive_seq
- derive_study_day
- assign_datetime

- title: SDTM examples
desc: SDTM domain file examples
contents:
- domain_example
- read_domain_example

- title: Controlled terminology
contents:
- read_ct_spec
Expand Down
32 changes: 32 additions & 0 deletions data-raw/sdtm_domain_examples.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Title: SDTM domain example datasets.

library(pharmaversesdtm)
library(readr)
library(here)

path <- here::here("inst/domain")

vs <- tibble::tribble(
~STUDYID, ~DOMAIN, ~USUBJID, ~VSSPID, ~VSTESTCD, ~VSDTC, ~VSTPTNUM,
"ABC123", "VS", "ABC123-375", "/F:VTLS1-D:9795532-R:2", "DIABP", "2020-09-01T13:31", NA,
"ABC123", "VS", "ABC123-375", "/F:VTLS1-D:9795532-R:2", "TEMP", "2020-09-01T13:31", NA,
"ABC123", "VS", "ABC123-375", "/F:VTLS2-D:9795533-R:2", "DIABP", "2020-09-28T11:00", 2L,
"ABC123", "VS", "ABC123-375", "/F:VTLS2-D:9795533-R:2", "TEMP", "2020-09-28T11:00", 2L,
"ABC123", "VS", "ABC123-376", "/F:VTLS1-D:9795591-R:1", "DIABP", "2020-09-20", NA,
"ABC123", "VS", "ABC123-376", "/F:VTLS1-D:9795591-R:1", "TEMP", "2020-09-20", NA
)

apsc <- tibble::tribble(
~STUDYID, ~RSUBJID, ~SCTESTCD, ~DOMAIN, ~SREL, ~SCCAT,
"ABC123", "ABC123-210", "LVSBJIND", "APSC", "FRIEND", "CAREGIVERSTUDY",
"ABC123", "ABC123-210", "EDULEVEL", "APSC", "FRIEND", "CAREGIVERSTUDY",
"ABC123", "ABC123-210", "TMSPPT", "APSC", "FRIEND", "CAREGIVERSTUDY",
"ABC123", "ABC123-211", "CAREDUR", "APSC", "SIBLING", "CAREGIVERSTUDY",
"ABC123", "ABC123-211", "LVSBJIND", "APSC", "SIBLING", "CAREGIVERSTUDY",
"ABC123", "ABC123-212", "JOBCLAS", "APSC", "SPOUSE", "CAREGIVERSTUDY"
)

readr::write_rds(x = pharmaversesdtm::ae, file = file.path(path, "ae.rds"), compress = "xz")
readr::write_rds(x = pharmaversesdtm::cm, file = file.path(path, "cm.rds"), compress = "xz")
readr::write_rds(x = vs, file = file.path(path, "vs.rds"), compress = "xz")
readr::write_rds(x = apsc, file = file.path(path, "apsc.rds"), compress = "xz")
4 changes: 4 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,7 @@ AE
AESTDY
CMSTDY
DM
Immunogenicity
Pharmacokinetics
iRECIST
pharmaversesdtm
Binary file added inst/domain/ae.rds
Binary file not shown.
Binary file added inst/domain/apsc.rds
Binary file not shown.
Binary file added inst/domain/cm.rds
Binary file not shown.
Binary file added inst/domain/vs.rds
Binary file not shown.
2 changes: 1 addition & 1 deletion man/assign_datetime.Rd

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

2 changes: 1 addition & 1 deletion man/ct_map.Rd

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

Loading
Loading