I have tried a thousand different times to read a Stata14
file on R
, and for some reason I keep getting weird things happening (like variables dropped and such.)
The original file is saved in Stata 13
or 14
, so the read.dta()
command does not work. I also tried read.dta13()
and it reads it sometimes but it cuts off the database at a certain spot and does not give me all the variables contained in the data set (which I can see and work with perfectly on Stata). The original file can be found here and scrolling down to Uruguay
.
Anyone got any ideas on how to fix this issue? I am tired of arguing with R
to read my Stata
file correctly, when it works perfectly in Stata
.
outsheet
in STATA. This will allow you to transform the data to a .CSV. You can then read into R. – Contradictory