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
Writing stat file in old format (e.g. Stata 8) #217
Since the support of Stata 14, it seems that
Therefore, would it be possible to have an option allowing to export a file to an older version of Stata?
@hadley this can be specified with readstat_writer_set_file_format_version(), passing in DTA version 105-118.
Sent from my iPhone
There's not a simple correspondence. I can add some C constants but the DTA docs state:
ReadStat supports back to 105 which I think is Stata 4 or 5.
In ReadStat I default to Stata 14 because this has the best Unicode and long string support.
In Wizard I offer three options with this summary: