BookmarkSubscribeRSS Feed
☑ This topic is solved. Need further help from the community? Please sign in and ask a new question.
mabelen3904
Calcite | Level 5

Hello,

 

I am new here and needing some help with opening a ".dat" public data set file from the CDC website for my research project. It doesn't even allow me to attach the file on here because it's "unsupported". Here is the website with the download data links ftp.cdc.gov - /pub/Health_Statistics/NCHS/Datasets/NSFG/

 

I am needing the 2017-2019 FemRespdata

 

I have literally tried everything I could to try and open the file, including opening it on SPSS, but with no luck.

 

Please Help!

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User

As Reeza said. Try it.

 

 

Check Attachement. In it , want.sas7bdat is what you are looking for . 2017_2019_FemRespSetup.sas is sas code to import original data (you need change the path of data). 2017_2019_FemRespData.dat is the original data.

 

 

 

View solution in original post

4 REPLIES 4
Reeza
Super User

Dat is a text file, you should be able to view it in NotePad or Wordpad. If it’s too big, that’s a different issue. 

You can import the file into SAS using the SAS program indicated by @Kurt_Bremser 

Ksharp
Super User

As Reeza said. Try it.

 

 

Check Attachement. In it , want.sas7bdat is what you are looking for . 2017_2019_FemRespSetup.sas is sas code to import original data (you need change the path of data). 2017_2019_FemRespData.dat is the original data.

 

 

 

mabelen3904
Calcite | Level 5

OMG!! Thank you so, so, so, so much. You have no idea how much I struggled with this. I am forever grateful! 

SAS Innovate 2025: Register Now

Registration is now open for SAS Innovate 2025 , our biggest and most exciting global event of the year! Join us in Orlando, FL, May 6-9.
Sign up by Dec. 31 to get the 2024 rate of just $495.
Register now!

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 4 replies
  • 914 views
  • 6 likes
  • 4 in conversation