Question

Status:Closed    Asked:Apr 10, 2016 - 01:10 PM

IHIS data into R

I am hoping to use IHIS data for a thesis project in the R statistical package. I was wondering if anyone had any advice as to the fastest/least glitchy method to get data into R.


Thanks,

Josey

 
Do you have the same question? Follow this Question
 

Staff Answer

avatar

Tim_Moreland

Staff

A common way to open IHIS data in R is to generate your extract in Stata format (change "Data Format" on the extract request screen to "STATA"). You can then access this formatted data extract through the "STATA" link that will be generated under the "Formatted Data" column on the "Download or Revise Extracts" page. You can then read this .dta file into R with the read.dta13 command found in the readstata13 package.


Hope this helps.

 

Apr 11, 2016 - 03:41 PM

0
0
Report it

OTHER QUESTIONS NEEDING ANSWERS

How is the HDHP recode constructed in IHIS?
What NHIS Variables are missing from IHIS?
Can anyone tell us when 2015 data will be posted for NHIS at the IHIS website...
merge NHIS data with IHIS in 1991 and 1992
Is the NHIS-Mortality linkage score included in the IHIS data?
Login   |   Register

Recently Active Members

View More »

Share |