rk.haven

A Professional RKWard GUI Plugin for Importing and Exporting SPSS, Stata, and SAS Datasets

rk.haven provides a robust, point-and-click graphical interface for the popular haven package. Designed for researchers working with proprietary statistical software formats, this plugin ensures flawless data migration into and out of R, automatically handling complex value labels, legacy text encodings, and large datasets without writing a single line of code.


🌟 Key Features


What's New in Version 0.0.1

🚀 Initial Release: Complete Import/Export Lifecycle


⚙️ Prerequisites

You must have RKWard installed along with the following R packages:

install.packages(c("haven", "dplyr", "janitor"))

🚀 Installation

You can install this plugin directly from GitHub using remotes inside your RKWard console:

# Install the plugin
library("remotes")
install_github("AlfCano/rk.haven")

Once installed, restart RKWard, navigate to Settings -> Configure RKWard -> Plugins, and activate rk.haven.


🛠️ Usage Workflow

This plugin integrates cleanly into RKWard's native file management menus. It adds two powerful tools located under Workspace ➔ Import and Workspace ➔ Export:

1. Professional Import (haven)

Migrate databases from SPSS, Stata, or SAS into your R Workspace.

2. Professional Export (haven)

Send your cleaned datasets back to colleagues using other software.


🌍 Internationalization (i18n)

The graphical interface automatically adapts to your RKWard language settings. Currently supported languages:


📝 License and Author

Author: Alfonso Cano (@AlfCano)
Email: alfonso.cano@correo.buap.mx

This project is licensed under the GPL (>= 3) License.