rk.stringr: String Manipulation Tools for RKWard

This repository contains the source code for rk.stringr, an RKWard plugin package that provides a user-friendly graphical interface for the powerful stringr package. This plugin brings modern, consistent, and intuitive string manipulation directly into your RKWard workflow.

It is designed for common data cleaning and preparation tasks, allowing you to perform a wide range of text transformations without writing code. A key design feature is that all operations are vectorized and preserve the length of the input data, making them safe and predictable to use when transforming columns in a data frame.

🌍 Internationalization

As of version 0.1.1, this plugin is fully localized. The interface automatically adapts to the language settings of your RKWard installation.

Supported Languages:

Features

The plugin is organized into several modules accessible from the RKWard menu, each targeting a specific category of string operations:

Detect & Locate Matches

Use regular expressions to find patterns within your text.

Mutate Strings

Easily change the case of your text for standardization.

Extract from Strings

Pull out specific pieces of your strings.

Split Strings

Break strings into multiple pieces based on a delimiter.

Manage String Length

Standardize the length and padding of your strings.

Installation

With remotes (Recommended)

You can install this plugin directly from the repository using the remotes package in R.

local({
## Preparar
require(remotes)
## Computar
  install_github(
    repo="AlfCano/rk.stringr"
  )
## Imprimir el resultado
rk.header ("Resultados de Instalar desde git")
})

Manual Installation

  1. Download this repository as a .zip file.
  2. In RKWard, go to Settings -> R Packages -> Install package(s) from local zip file(s) and select the downloaded file.
  3. Restart RKWard.

Usage

Once installed, the plugin components can be found in the RKWard menu under:

Data > String Manipulation (stringr)

From there, you can select the desired operation (e.g., "Mutate Strings", "Split Strings", etc.) to open its dialog window.

Dependencies

Author & License