-
Notifications
You must be signed in to change notification settings - Fork 14
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
Bug: create_iso8601 doesn't consider the rationality of date/time. #102
Comments
Thanks @Longfei2 for your report. @rammprasad : I am assigning this issue to you as it was your call not to perform semantic validation on parsed components, see sdtm.oak/tests/testthat/test-iso8601.R Lines 81 to 87 in 31aadcd
|
However, actually, in my company, there are some date issues, e.g. year may be 0000 in system, Feb has 28 or 29 days depends on whether it is a leap year or not. You should cosider these unreasonable dates。 |
Thanks for the sharing; But those issues should be addressed by the DM side, not through the SDTM mapping process. Relying on this process to "correct" data can lead to risks of losing traceability and cause inconsistencies between SDTM and EDC collection. Specifically, |
@botsp In help document,
Actually, I expect the output is vector or list like However, this output is only In my view, if you intend to output a charcter vector, you should only chose single argument, like Of course, it's possible that I didn't understand your development ideas. I'm glad to have a discussion with you. |
Dear, I am currently developing an internal package for my company to support SDTM output, so I am very concerned about the status of Thank you very much for creating such a great and necessary tool - |
Dear, regarding partial date issue, there is unexpected output for According to CDISC SDTM IG - 4.4.2 Date/Time Precision, expected output like: These partial date issues actually has some solutions in CDISC SDTM IG - 4.4.2 Date/Time Precision. |
What happened?
please see the screenshot, `2020-02-60` is not a reasonable date. it should output `2020-02`.Session Information
No response
Reproducible Example
create_iso8601(c("2020-02-60"), .format = "y-m-d")
The text was updated successfully, but these errors were encountered: