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

Description Usage Arguments Details

View source: R/utils.R

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.


rOpenHealth/rEHR documentation built on March 19, 2018, 7:58 a.m.