ipa - Convert Between Phonetic Alphabets
Converts character vectors between phonetic representations. Supports IPA (International Phonetic Alphabet), X-SAMPA (Extended Speech Assessment Methods Phonetic Alphabet), and ARPABET (used by the CMU Pronouncing Dictionary).
Last updated 4 years ago
5.44 score 9 stars 1 dependents 41 scripts 184 downloadsand - Construct Natural-Language Lists with Internationalization
Construct language-aware lists. Make "and"-separated and "or"-separated lists that automatically conform to the user's language settings.
Last updated 1 years ago
i18ninternationalizationtranslation
4.76 score 19 stars 2 dependents 6 scripts 690 downloadscrossmap - Apply Functions to All Combinations of List Elements
Provides an extension to the 'purrr' family of mapping functions to apply a function to each combination of elements in a list of inputs. Also includes functions for automatically detecting output type in mapping functions, finding every combination of elements of lists or rows of data frames, and applying multiple models to multiple subsets of a dataset.
Last updated 2 years ago
functional-programmingtidyverse
4.60 score 20 stars 2 scripts 283 downloadsfracture - Convert Decimals to Fractions
Provides functions for converting decimals to a matrix of numerators and denominators or a character vector of fractions. Supports mixed or improper fractions, finding common denominators for vectors of fractions, limiting denominators to powers of ten, and limiting denominators to a maximum value. Also includes helper functions for finding the least common multiple and greatest common divisor for a vector of integers. Implemented using C++ for maximum speed.
Last updated 3 years ago
cpp
4.54 score 23 stars 1 dependents 3 scripts 212 downloadsfauxnaif - Convert Values to NA
Provides a replacement for dplyr::na_if(). Allows you to specify multiple values to be replaced with NA using a single function.
Last updated 2 years ago
4.36 score 2 stars 23 scripts 413 downloadsplu - Dynamically Pluralize Phrases
Converts English phrases to singular or plural form based on the length of an associated vector. Contains helper functions to create natural language lists from vectors and to include the length of a vector in natural language.
Last updated 1 years ago
natural-languageplural
3.95 score 6 stars 1 dependents 2 scripts 196 downloadsincase - Pipe-Friendly Vector Replacement with Case Statements
Offers a pipe-friendly alternative to the 'dplyr' functions case_when() and if_else(), as well as a number of user-friendly simplifications for common use cases. These functions accept a vector as an optional first argument, allowing conditional statements to be built using the 'magrittr' dot operator. The functions also coerce all outputs to the same type, meaning you no longer have to worry about using specific typed variants of NA or explicitly declaring integer outputs, and evaluate outputs somewhat lazily, so you don't waste time on long operations that won't be used.
Last updated 5 months ago
magrittrmagrittr-pipesrecode-valuestidyverse
3.85 score 7 stars 9 scripts 275 downloadsnombre - Number Names
Converts numeric vectors to character vectors of English number names. Provides conversion to cardinals, ordinals, numerators, and denominators. Supports negative and non-integer numbers.
Last updated 3 years ago
natural-language
3.81 score 13 stars 4 scripts 197 downloadsstringstatic - Dependency-Free String Operations
Provides drop-in replacements for functions from the 'stringr' package, with the same user interface. These functions have no external dependencies and can be copied directly into your package code using the 'staticimports' package.
Last updated 1 years ago
3.48 score 6 stars 1 scripts 185 downloadstwenty48 - Play a Game of 2048 in the Console
Generates a game of 2048 that can be played in the console. Supports grids of arbitrary sizes, undoing the last move, and resuming a game that was exited during the current session.
Last updated 2 years ago
3.30 score 4 stars 177 downloads