to_stata: Compresses a dataframe and saves in stata format. Options to...

Description Usage Arguments Details

Description

Automatically compresses data to reduce file size

Usage

1
to_stata(dat, fname, stata13 = FALSE, ...)

Arguments

dat

dataframe

fname

character string: filepath to save to

stata13

logical Save as Stata13 compatible format?

...

arguments to be passed to compress

Details

Defaults to saving compressed dates to integer days from 1960-01-01 which is the standard in stata.


rEHR documentation built on Jan. 23, 2017, 1 p.m.

Related to to_stata in rEHR...