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

[skip vbump] Closes #127: 1.1 release #128

Merged
merged 4 commits into from
Oct 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 3 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: pharmaversesdtm
Type: Package
Title: SDTM Test Data for the 'Pharmaverse' Family of Packages
Version: 1.0.0
Version: 1.1.0
Authors@R: c(
person("Edoardo", "Mancini", email = "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0009-0006-4899-8641")),
person("Gayatri", "G", role = "aut"),
Expand All @@ -15,8 +15,8 @@ Authors@R: c(
Description: A set of Study Data Tabulation Model (SDTM) datasets from the Clinical
Data Interchange Standards Consortium (CDISC) pilot project used for testing
and developing Analysis Data Model (ADaM) datasets inside the pharmaverse
family of packages. SDTM dataset specifications are described in: CDISC Submission Data Standards Team
(2021) <https://www.cdisc.org/system/files/members/standard/foundational/SDTMIG%20v3.4-FINAL_2022-07-21.pdf>.
family of packages. SDTM dataset specifications are described in the CDISC SDTM implementation guide,
accessible by creating a free account on <https://www.cdisc.org/>.
Language: en-US
License: Apache License (>= 2.0)
URL: https://pharmaverse.github.io/pharmaversesdtm/, https://github.com/pharmaverse/pharmaversesdtm/
Expand Down
10 changes: 6 additions & 4 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
# pharmaversesdtm (development version)
# pharmaversesdtm 1.1.0

# New features
## New features

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

- Add `CMENRTPT` to `cm`. (#120)
- `CMENRTPT` variable was added to the `cm` dataset. (#120)

- `AELOC` variable was added to the `ae_ophtha` dataset. (#110)

<details>
<summary>Developer Notes</summary>
Expand Down
8 changes: 6 additions & 2 deletions data-raw/ae_ophtha.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ ae_ophtha <- ae
## Create possible AELAT values - as collected on CRF ----
lat <- c("LEFT", "RIGHT", "BOTH")

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

ae_ophtha <- ae_ophtha %>%
add_labels(AELAT = "Laterality")
mutate(AELOC = if_else(AESOC == "EYE DISORDERS", "EYE", NA_character_))

ae_ophtha <- ae_ophtha %>%
add_labels(AELAT = "Laterality") %>%
add_labels(AELOC = "Location")

# Label dataset ----
attr(ae_ophtha, "label") <- "Adverse Events"
Expand Down
Binary file modified data/ae_ophtha.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion man/ae_ophtha.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/pharmaversesdtm-package.Rd

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

Loading