rk.data.wrangling: Tidy Data Manipulation for RKWard

rk.data.wrangling brings modern, "tidy" data manipulation tools to the RKWard GUI. It provides a user-friendly interface for the powerful dplyr package, allowing users to perform complex batch operations—transformations, recoding, and scoring—on multiple variables simultaneously without writing complex code.


✨ Features

1. Batch Transform Variables

2. Batch Recode Variables

3. Create Composite Score


🚀 What's New in Version 0.1.6

🚀 What's New in Version 0.1.5

🚀 What's New in Version 0.1.4

🚀 What's New in Version 0.1.3

🚀 What's New in Version 0.1.2

This maintenance release focuses on stability and code generation accuracy:

🚀 What's New in Version 0.1.1


🛡️ Universal Features

📦 Installation

This plugin is not yet on CRAN. To install it, use the remotes or devtools package in RKWard.

  1. Open RKWard.

  2. Run the following command in the R Console:

    # If you don't have remotes installed:
    # install.packages("remotes")
    
    local({
      require(remotes)
      install_github("AlfCano/rk.data.wrangling", force = TRUE)
    })
    
  3. Restart RKWard to load the new menu entries.

💻 Usage

Once installed, the tools are organized under:

Data -> Data Wrangling

  1. Batch Transform
  2. Batch Recode
  3. Create Composite Score

🛠️ Dependencies

This plugin relies on the following R packages:

Troubleshooting: Errors installing devtools or missing binary dependencies (Windows)

If you encounter errors mentioning "non-zero exit status", "namespace is already loaded", or requirements for compilation (compiling from source) when installing packages, it is likely because the R version bundled with RKWard is older than the current CRAN standard.

Workaround: Until a new, more recent version of R (current bundled version is 4.3.3) is packaged into the RKWard executable, these issues will persist. To fix this:

  1. Download and install the latest version of R (e.g., 4.5.2 or newer) from CRAN.
  2. Open RKWard and go to the Settings (or Preferences) menu.
  3. Run the "Installation Checker".
  4. Point RKWard to the newly installed R version.

This "two-step" setup (similar to how RStudio operates) ensures you have access to the latest pre-compiled binaries, avoiding the need for RTools and manual compilation.

✍️ Author & License