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

Closes #120 add CMENRTPT #121

Merged
merged 5 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from 3 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
7 changes: 7 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
# pharmaversesdtm 1.0.1
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this should be 1.0.0.9000?


## New Features

- Add `CMENRTPT` to `cm`. (#120)


# pharmaversesdtm 1.0.0

## New Features
Expand Down
4 changes: 3 additions & 1 deletion data-raw/cm.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@
# Load libraries -----
library(haven)
library(admiral)
library(dplyr)

# Create cm ----
raw_cm <- read_xpt("https://github.com/cdisc-org/sdtm-adam-pilot-project/blob/master/updated-pilot-submission-package/900172/m5/datasets/cdiscpilot01/tabulations/sdtm/cm.xpt?raw=true") # nolint
cm <- convert_blanks_to_na(raw_cm)
cm <- convert_blanks_to_na(raw_cm) %>%
mutate(CMENRTPT = if_else(is.na(CMENDTC), "ONGOING", NA_character_))

# Label dataset ----
attr(cm, "label") <- "Concomitant Medications"
Expand Down
Binary file modified data/cm.rda
Binary file not shown.
2 changes: 1 addition & 1 deletion man/cm.Rd

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

Loading