Skip to content

Commit 590229a

Browse files
Merge pull request #128 from pharmaverse/127_1_1_release
[skip vbump] Closes #127: 1.1 release
2 parents 607d7be + 2982a47 commit 590229a

File tree

6 files changed

+17
-11
lines changed

6 files changed

+17
-11
lines changed

DESCRIPTION

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: pharmaversesdtm
22
Type: Package
33
Title: SDTM Test Data for the 'Pharmaverse' Family of Packages
4-
Version: 1.0.0
4+
Version: 1.1.0
55
Authors@R: c(
66
person("Edoardo", "Mancini", email = "edoardo.mancini@roche.com", role = c("aut", "cre"), comment = c(ORCID = "0009-0006-4899-8641")),
77
person("Gayatri", "G", role = "aut"),
@@ -15,8 +15,8 @@ Authors@R: c(
1515
Description: A set of Study Data Tabulation Model (SDTM) datasets from the Clinical
1616
Data Interchange Standards Consortium (CDISC) pilot project used for testing
1717
and developing Analysis Data Model (ADaM) datasets inside the pharmaverse
18-
family of packages. SDTM dataset specifications are described in: CDISC Submission Data Standards Team
19-
(2021) <https://www.cdisc.org/system/files/members/standard/foundational/SDTMIG%20v3.4-FINAL_2022-07-21.pdf>.
18+
family of packages. SDTM dataset specifications are described in the CDISC SDTM implementation guide,
19+
accessible by creating a free account on <https://www.cdisc.org/>.
2020
Language: en-US
2121
License: Apache License (>= 2.0)
2222
URL: https://pharmaverse.github.io/pharmaversesdtm/, https://github.com/pharmaverse/pharmaversesdtm/

NEWS.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1-
# pharmaversesdtm (development version)
1+
# pharmaversesdtm 1.1.0
22

3-
# New features
3+
## New features
44

5-
- Pediatrics data for anthropometric measures (`dm_peds` and `vs_peds`) was added (#88).
5+
- Pediatrics data for anthropometric measures (`dm_peds` and `vs_peds`) was added. (#88)
66

7-
- Add `CMENRTPT` to `cm`. (#120)
7+
- `CMENRTPT` variable was added to the `cm` dataset. (#120)
8+
9+
- `AELOC` variable was added to the `ae_ophtha` dataset. (#110)
810

911
<details>
1012
<summary>Developer Notes</summary>

data-raw/ae_ophtha.R

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ ae_ophtha <- ae
1515
## Create possible AELAT values - as collected on CRF ----
1616
lat <- c("LEFT", "RIGHT", "BOTH")
1717

18-
## Create AELAT variable ----
18+
## Create AELAT, AELOC variable ----
1919
# Use random assignment of lat values where AESOC is "EYE DISORDERS"
2020
# Set seed so that result stays the same for each run
2121
set.seed(1)
@@ -26,7 +26,11 @@ ae_ophtha$AELAT <- if_else(ae_ophtha$AESOC == "EYE DISORDERS",
2626
)
2727

2828
ae_ophtha <- ae_ophtha %>%
29-
add_labels(AELAT = "Laterality")
29+
mutate(AELOC = if_else(AESOC == "EYE DISORDERS", "EYE", NA_character_))
30+
31+
ae_ophtha <- ae_ophtha %>%
32+
add_labels(AELAT = "Laterality") %>%
33+
add_labels(AELOC = "Location")
3034

3135
# Label dataset ----
3236
attr(ae_ophtha, "label") <- "Adverse Events"

data/ae_ophtha.rda

95 Bytes
Binary file not shown.

man/ae_ophtha.Rd

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

man/pharmaversesdtm-package.Rd

Lines changed: 1 addition & 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)