#' @importFrom haven read_sav write_dta
convert_spss_to_stata <- function(input_path, output_path) {
message(TRANSFORMING_DATASET)
haven::write_dta(haven::read_sav(input_path), path = output_path)
message(DATASET_SAVED)
invisible(TRUE)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.