Stata dataFunction to import .dta files while extracting meta information, e.g. variable and value labels.
import_stata(filePath, checkVarNames = TRUE, labeledStrings = FALSE)Returns a list with the actual data dat and a data frame with all meta information in long format labels.
Source file location, ending on .dta.
Should variable names be checked for violations of SQLite and R naming rules?
Should strings as labeled values be allowed? This possibly corrupts all labeled values.
Stata files (.dta) store variable and value labels and assign specific formatting to variables. import_stata imports
data from Stata, while storing this meta-information separately in a long format data frame. Time and date variables are converted to character.