loadDTA | R Documentation |
Wrapper function around foreign::read.dta()
to load STATA data into memory. Will work only with files created compatable with STATA version 12 or before. Standardizes import options and sets preferred default values.
loadDTA(filePath = "", factorLabels = FALSE)
filePath |
Path to STATA file to load into memory. |
factorLabels |
Convert variables with values as a factors with those levels. |
A dataframe with the contents of the SPSS file.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.