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.
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