How could I import data from stata16 into R

How could I import data from stata16 into R?

Hi, and welcome!

The read.dta() function in the foreign package does just what you need.

1 Like

The haven package also has a read_dta function.

3 Likes