Skip to content

Commit ea4c665

Browse files
authored
Merge pull request #220 from pharmaverse/219-feature-request-add-visitdy-to-pc
Closes #219 add VISITDY to PC
2 parents 3652472 + 942d5a3 commit ea4c665

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

NEWS.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
## New Features
44

5+
- Added `VISITDY` in `pc`. (#219)
6+
57
- Updated QSTESTCD in `qs_ophtha` to be consistent with CDISC terminology. Also reduced the number of records for ease of use. (#172)
68

79
- Added BRTHDTC in `dm` and `dm_metabolic`. (#195)

R/pc.R

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#' @keywords dataset generic
1111
#' @description A SDTM PC dataset simulated by Antonio Rodriguez Contesti
1212
#' @docType data
13-
#' @format A data frame with 20 columns:
13+
#' @format A data frame with 21 columns:
1414
#' \describe{
1515
#' \item{STUDYID}{Study Identifier}
1616
#' \item{DOMAIN}{Domain Abbreviation}
@@ -28,6 +28,7 @@
2828
#' \item{PCLLOQ}{Lower Limit of Quantitation}
2929
#' \item{VISIT}{Visit Name}
3030
#' \item{VISITNUM}{Visit Number}
31+
#' \item{VISITDY}{Planned Study Day of Visit}
3132
#' \item{PCDTC}{Date/Time of Specimen Collection}
3233
#' \item{PCDY}{Actual Study Day of Specimen Collection}
3334
#' \item{PCTPT}{Planned Time Point Name}

data-raw/pc.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,8 @@ PC <- PC %>%
150150
PC <- subset(PC, select = c(
151151
"STUDYID", "DOMAIN", "USUBJID", "PCSEQ", "PCTESTCD", "PCTEST",
152152
"PCORRES", "PCORRESU", "PCSTRESC", "PCSTRESN", "PCSTRESU",
153-
"PCNAM", "PCSPEC", "PCLLOQ", "VISIT", "VISITNUM", "PCDTC", "PCDY", "PCTPT", "PCTPTNUM"
153+
"PCNAM", "PCSPEC", "PCLLOQ", "VISIT", "VISITNUM", "VISITDY",
154+
"PCDTC", "PCDY", "PCTPT", "PCTPTNUM"
154155
))
155156

156157
## Ungroup and sort ----
@@ -177,6 +178,7 @@ pc <- pc %>%
177178
PCLLOQ = "Lower Limit of Quantitation",
178179
VISIT = "Visit Name",
179180
VISITNUM = "Visit Number",
181+
VISITDY = "Planned Study Day of Visit",
180182
PCDTC = "Date/Time of Specimen Collection",
181183
PCDY = "Actual Study Day of Specimen Collection",
182184
PCTPT = "Planned Time Point Name",

data/pc.rda

-82 Bytes
Binary file not shown.

man/pc.Rd

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)