ingest_dta_file: Read Stata file into memory

Description Usage Arguments Value

View source: R/data.R

Description

First, ingest data file. Then, write it to an object in the global environment, where the object name is the file name minus the .dta extension. These names follow the same pattern as the input files in order to facilitate merging.

Usage

1
ingest_dta_file(dir, file_name)

Arguments

dir

Character vector. File path to directory

file_name

Character vector. File name with .dta extension

Value

Data frame


arthur-shaw/nsuoutils documentation built on Dec. 19, 2021, 4:41 a.m.