I'm trying to view a SAS Transport File provided by CMS HCC risk adjustment model software files (2020 Model Software (zip)).
I already tried to open with SAS Universal Viewer to no luck.
Also tried reading in the file using library(haven)
by doing the following.
sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-apple-darwin17.0 (64-bit)
Running under: macOS Catalina 10.15.7
setwd('~/Documents/MSSP/CMS-HCC software V2421.86.P1')
library(haven)
sasdata <- read_xpt("C2419P1M")
Which gave me the following error.
Error: Failed to parse Documents/MSSP/CMS-HCC software V2421.86.P1/C2419P1M: Invalid file, or file has unsupported features.
The read_xpt()
from haven should be able to read the transport file according to the documentation.
Hoping someone may have a troubleshooting idea that I haven't come across.