stata.get(file, lowernames = FALSE, convert.dates = TRUE,
convert.factors = TRUE, missing.type = FALSE,
convert.underscore = TRUE, warn.missing.labels = TRUE,
force.single = TRUE)
file
starting with 'http://'
.TRUE
to convert variable names to
lower caseread.dta
read.dta
read.dta
read.dta
read.dta
FALSE
to prevent integer-valued
variables from being converted from storage mode double
to
integer
stata.get
invokes the read.dta
function in the
data.frame
. The label
function is used to
attach labels to individual variables instead of to the data frame as
done by read.dta
. By default, integer-valued variables are
converted to a storage mode of integer unless
force.single=FALSE
. Date variables are converted to RDate
variables. By default, underscores in names are converted to periods.read.dta
,cleanup.import
,label
,
,Date
w <- stata.get(\sQuote{/tmp/my.dta})
Run the code above in your browser using DataLab