Skip to content

Commit

Permalink
#5 chore: spelling and code style
Browse files Browse the repository at this point in the history
  • Loading branch information
manciniedoardo committed Jul 26, 2023
1 parent edad45d commit 0a608bb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 2 additions & 4 deletions data-raw/ae_ophtha.R
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ lat <- c("LEFT", "RIGHT", "BOTH")
set.seed(1)

ae_ophtha$AELAT <- if_else(ae_ophtha$AESOC == "EYE DISORDERS",
apply(ae_ophtha, 1, function(x) sample(lat, 1)),
NA_character_
apply(ae_ophtha, 1, function(x) sample(lat, 1)),
NA_character_
)

ae_ophtha <- ae_ophtha %>%
Expand All @@ -28,5 +28,3 @@ attr(ae_ophtha, "label") <- "Adverse Events"

# Save dataset ----
save(ae_ophtha, file = "data/ae_ophtha.rda", compress = "bzip2")


2 changes: 2 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ADEG
ADaM
AE
AELAT
Arancibia
CDISC
Changelog
Expand Down Expand Up @@ -34,6 +35,7 @@ SV
TAs
USUBJIDs
VFQ
ae
admiraldata
admiraltemplate
admiralxxx
Expand Down

0 comments on commit 0a608bb

Please sign in to comment.