Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Stata %d formatted dates not read as dates #130
I got a Stata data file using "%d" as the format for date variables, which haven (current devel version) interpreted as numeric rather than dates. According to a Stata FAQ this seems to be a valid (but old?) date format.
The foreign package does convert the variable to an R Date.
Example file: dateformat.dta