Skip to content

Commit

Permalink
Restore comments to original language.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimrothstein committed Oct 10, 2024
1 parent b2ab3ce commit 27acb44
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions inst/templates/ad_adsl.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,20 @@
#
# Label: Subject Level Analysis Dataset
#
# Load packages (including test datasets)
# Input: dm, ds, ex, ae, lb
library(admiral)
library(pharmaversesdtm) # Contains example datasets from the CDISC pilot project
library(dplyr)
library(lubridate)
library(stringr)

# Though datasets are already loaded, identify specific datasets for this template.

# Load source datasets ----


# Use e.g. haven::read_sas to read in .sas7bdat, or other suitable functions
# as needed and assign to the variables below.
# For illustration purposes read in admiral test data.

dm <- pharmaversesdtm::dm
ds <- pharmaversesdtm::ds
Expand All @@ -25,6 +28,7 @@ lb <- pharmaversesdtm::lb
# as NA values. Further details can be obtained via the following link:
# https://pharmaverse.github.io/admiral/articles/admiral.html#handling-of-missing-values # nolint


dm <- convert_blanks_to_na(dm)
ds <- convert_blanks_to_na(ds)
ex <- convert_blanks_to_na(ex)
Expand Down

0 comments on commit 27acb44

Please sign in to comment.