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

clean_REDCap debug issues #11

Open
pgstevenson opened this issue Jul 2, 2021 · 2 comments
Open

clean_REDCap debug issues #11

pgstevenson opened this issue Jul 2, 2021 · 2 comments

Comments

@pgstevenson
Copy link
Contributor

Catch-all for REDCap cleaning bugs

@pgstevenson
Copy link
Contributor Author

pgstevenson commented Jul 2, 2021

[x] NA's in time fields will return a warning.

This is normal behaviour and might be useful for large datasets. Resolution is to add quiet = TRUE to the map functions that call {lubridate}. I'm thinking to add clean_REDCap(..., quiet = FALSE), and then add the argument quiet = quiet to all {lubridate} cleaning functions. Setting quiet = TRUE should be done with caution, as this will not return warnings for improperly formatted date strings.

@pgstevenson
Copy link
Contributor Author

pgstevenson commented Jul 7, 2021

[x] Split date_ into date_ymd, date_mdy, and date_dmy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant