Skip to content

204 Add LDOSEDTM to adae #206

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

Merged
merged 1 commit into from
Sep 19, 2022
Merged

204 Add LDOSEDTM to adae #206

merged 1 commit into from
Sep 19, 2022

Conversation

edelarua
Copy link
Contributor

Closes #204

@edelarua edelarua added the sme label Sep 16, 2022
@edelarua edelarua enabled auto-merge (squash) September 16, 2022 20:29
@github-actions
Copy link
Contributor

Unit Tests Summary

  1 files    1 suites   17s ⏱️
23 tests 23 ✔️ 0 💤 0
56 runs  56 ✔️ 0 💤 0

Results for commit f26f233.

@@ -164,6 +164,13 @@ radae <- function(ADSL, # nolint
origin = "1970-01-01"
)) %>%
dplyr::mutate(AENDY = ceiling(as.numeric(difftime(.data$AENDTM, .data$TRTSDTM, units = "days")))) %>%
dplyr::mutate(LDOSEDTM = as.POSIXct(
ifelse(.data$TRTSDTM < .data$ASTDTM,
lubridate::as_datetime(runif(1, .data$TRTSDTM, .data$ASTDTM), tz = "EST"),
Copy link
Contributor

Choose a reason for hiding this comment

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

hi @edelarua , I was wondering if this is the timezone we use everywhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@shajoezhu yes, all of the dates in this dataset use the Eastern time zone.

Copy link
Contributor

Choose a reason for hiding this comment

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

Excellent! Thanks for checking this @edelarua

Copy link
Contributor

@shajoezhu shajoezhu left a comment

Choose a reason for hiding this comment

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

lgtm!

@edelarua edelarua merged commit f6440f8 into main Sep 19, 2022
@edelarua edelarua deleted the 204_adae_add_ldosedtm@main branch September 19, 2022 15:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add LDOSEDTM to adae
2 participants