New function () to show all Stata label setsįix check for duplicate labels and in set.lang() New feature: collect warnings from read.dta13Īllow reading only pre-selected variables
New feature: improved handling of time and date formats In the past, unwanted conversions to integer type could occur.įix encoding issues in variable and data labels
R read dta stata 13 install#
To install the current development version from github: devtools::install_github("sjewo/readstata13", ref="testing") Changelog and Features Versionįix sortlist attribute for dta format 119įix compress option. Older Versions of devtools require a username option: install_github("readstata13", username="sjewo", ref="0.10.0") On Windows a current installation ofĭevtools::install_github("sjewo/readstata13", ref="0.10.0") To install the current release from github you need the platform specific build Save.dta13(dat, file="newfile.dta") Development Version install.packages("readstata13") Usage library(readstata13) Label sets in different languages ( ?set.lang) or business calendars Due to the different structure and features of dta 117įiles, we wrote a new file reader in Rcpp.Īdditionally the package supports many features of the Stata dta format like The function read.dta from the foreign package imports only dta files from The dta file format versions 102 to 119 are supported. Package to read and write all Stata file formats (version 17 and older) into a