SAS to CSV - The Free Way
October 16, 2020•130 words
Free as in Freedom
As I mentioned in SAS to CSV - The Easy Way, I don't do much of my actual work in SAS, but some of the data I receive is still in the SAS data format. This lead me to create a SAS script to easily convert .sas7bdat
files into .csv
files that you can find here.
But what if we don't have SAS installed on our computer in the first place? It is an expensive piece of software after all, and not really in line with the Open Data paradigm. Luckily, other people have created packages to read SAS data files in different programs, allowing us to circumvent SAS's paywalled approach to data:
- Python - pyreadstat
- R - haven
- CMD - readstat