IHIS data into R

#1

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

0 Likes

#2

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.

0 Likes