Skip to contents

Runs the included code for cleaning the raw REDCap data download. A different cleaning do file can also be used.

Usage

bhhi_stata_do(data, do_file, quiet = TRUE, ...)

Arguments

data

Tibble or data frame to pass to Stata.

do_file

Path to the do file.

quiet

Whether to suppress printing Stata output to the screen.

...

Other options for controlling Stata interaction. Passed to RStata::stata()

Value

A tibble with the cleaned data.