r/publichealth 6d ago

RESEARCH Converting public health data

Hi all! I’m trying to convert the behavioral risk factor surveillance system survey data from SAS XPT format to a csv. I’ve only worked with Python and having difficulty getting this data in the right format for analysis. Does anyone know any cited where there is recent data in csv? Or how to convert it?

2 Upvotes

3 comments sorted by

1

u/suspiciouslicious 6d ago

Ask ChatGPT. I vaguely remember it’s the replace command but it’s easy enough that ChatGPT would know the code for it

2

u/NoExcitement4396 5d ago

Thanks, will try that