Question

Status:Closed    Asked:Oct 20, 2015 - 02:19 PM

Hey Red, What's the easiest way to read my IPUMS USA data into R?

 
Do you have the same question? Follow this Question
 

Staff Answer

avatar

Tim_Moreland

Staff

Here is one common method for reading IPUMS data into R:


(1) Select "STATA" as your data format on the extract request screen. This will generate a .dta file when you submit your extract.


(2) In R, use the following code with the name of your .dta file:

library(foreign)

df <- read.dta("ipums_file.dta")


This reads your IPUMS file into a dataframe named "df". I recommend this resource for more information on using IPUMS data in R.


Hope this helps.

 

Oct 20, 2015 - 04:08 PM

0
0
Report it

OTHER QUESTIONS NEEDING ANSWERS

date of interview in IPUMS-USA ACS data
When will 2015 ACS data be included in IPUMS-USA?
IPUMS-USA Citation
Login   |   Register


Share |