Examples: visualization, C++, networks, data cleaning, html widgets, ropensci.

Found 237 packages in 0.04 seconds

jsonNormalize — by Stéphane Laurent, 3 years ago

Normalization of 'JSON' Strings

Provides a function allowing to normalize a 'JSON' string, for example by adding double quotes around the keys when they are missing. Also provides 'RStudio' addins for the same purpose.

fuzzywuzzyR — by Lampros Mouselimis, 8 months ago

Fuzzy String Matching

Fuzzy string matching implementation of the 'fuzzywuzzy' < https://github.com/seatgeek/fuzzywuzzy> 'python' package. It uses the Levenshtein Distance < https://en.wikipedia.org/wiki/Levenshtein_distance> to calculate the differences between sequences.

GrpString — by Hui Tang, 2 months ago

String Patterns and Statistical Differences Between Two Groups of Strings

Methods include converting series of event names to strings, finding common patterns in a group of strings, discovering "unique" patterns when comparing two groups of strings as well as the number and starting position of each pattern in each string, obtaining transition matrix, computing transition entropy, statistically comparing the difference between two groups of strings, and clustering string groups. Event names can be any action names or labels such as events in log files or areas of interest (AOIs) in eye tracking research. An R Shiny application is available on GitHub.

charcuterie — by Jonathan Carroll, 2 years ago

Handle Strings as Vectors of Characters

Creates a new chars class which looks like a string but is actually a vector of individual characters, making 'strings' iterable. This class enables vector operations on 'strings' such as reverse, sort, head, and set operations.

strs — by Garrett Shipley, 2 years ago

'Python' Style String Functions

A comprehensive set of string manipulation functions based on those found in 'Python' without relying on 'reticulate'. It provides functions that intend to (1) make it easier for users familiar with 'Python' to work with strings, (2) reduce the complexity often associated with string operations, (3) and enable users to write more readable and maintainable code that manipulates strings.

acss — by Henrik Singmann, a year ago

Algorithmic Complexity for Short Strings

Main functionality is to provide the algorithmic complexity for short strings, an approximation of the Kolmogorov Complexity of a short string using the coding theorem method (see ?acss). The database containing the complexity is provided in the data only package acss.data, this package provides functions accessing the data such as prob_random returning the posterior probability that a given string was produced by a random process. In addition, two traditional (but problematic) measures of complexity are also provided: entropy and change complexity.

rprintf — by Kun Ren, 11 years ago

Adaptive Builder for Formatted Strings

Provides a set of functions to facilitate building formatted strings under various replacement rules: C-style formatting, variable-based formatting, and number-based formatting. C-style formatting is basically identical to built-in function 'sprintf'. Variable-based formatting allows users to put variable names in a formatted string which will be replaced by variable values. Number-based formatting allows users to use index numbers to represent the corresponding argument value to appear in the string.

clustringr — by Dan S. Reznik, 7 years ago

Cluster Strings by Edit-Distance

Returns an edit-distance based clusterization of an input vector of strings. Each cluster will contain a set of strings w/ small mutual edit-distance (e.g., Levenshtein, optimum-sequence-alignment, Damerau-Levenshtein), as computed by stringdist::stringdist(). The set of all mutual edit-distances is then used by graph algorithms (from package 'igraph') to single out subsets of high connectivity.

pudu — by Mauricio Vargas Sepulveda, a year ago

C++ Tools for Cleaning Strings

Provides function declarations and inline function definitions that facilitate cleaning strings in C++ code before passing them to R.

llmjson — by Dyfan Jones, 2 months ago

Repair Malformed JSON Strings

Repairs malformed JSON strings, particularly those generated by Large Language Models. Handles missing quotes, trailing commas, unquoted keys, and other common JSON syntax errors.