You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our everyday workflow involves converting SAS data to R dataset using haven::read_sas(). However, in most of the cases, there is an additional step to convert SAS missing values for characters to NAs in R. This is not handled by the read_sas() call. It would be great to standardize this flow and reduce frictions by implementing a reusable utility function in metalite.
This issue was discussed in this pharmaverse blog post. Theoretically, it can be handled by introducing admiral as a dependency. However, it currently has a non-trivial number of dependencies that we might want to minimize. So, implementing this in the zero-dependency metalite package could be ideal.
nanxstats
changed the title
Add utility function for handling missing values after reading SAS data
Add utility function for handling missing values in SAS data
Feb 9, 2024
Our everyday workflow involves converting SAS data to R dataset using
haven::read_sas()
. However, in most of the cases, there is an additional step to convert SAS missing values for characters toNA
s in R. This is not handled by theread_sas()
call. It would be great to standardize this flow and reduce frictions by implementing a reusable utility function in metalite.This issue was discussed in this pharmaverse blog post. Theoretically, it can be handled by introducing admiral as a dependency. However, it currently has a non-trivial number of dependencies that we might want to minimize. So, implementing this in the zero-dependency metalite package could be ideal.
cc @julianschmocker @BrianLang
The text was updated successfully, but these errors were encountered: