loadDTA: Load STATA file (pre-version 13)

loadDTAR Documentation

Load STATA file (pre-version 13)

Description

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.

Usage

loadDTA(filePath = "", factorLabels = FALSE)

Arguments

filePath

Path to STATA file to load into memory.

factorLabels

Convert variables with values as a factors with those levels.

Value

A dataframe with the contents of the SPSS file.


awatanabe/appr documentation built on Sept. 26, 2022, 8:04 a.m.