Learn R Programming

snakecase (version 0.11.1)

Convert Strings into any Case

Description

A consistent, flexible and easy to use tool to parse and convert strings into cases like snake or camel among others.

Copy Link

Version

Install

install.packages('snakecase')

Monthly Downloads

249,497

Version

0.11.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Malte Grosser

Last Published

August 27th, 2023

Functions in snakecase (0.11.1)

check_design_rule

Internal helper to test the design rules for any string and setting of to_any_case()
to_any_case

General case conversion
caseconverter

Specific case converter shortcuts
replace_special_characters_internal

Internal helper to replace special characters.
to_parsed_case_internal

Internal parser, which is relevant for preprocessing, parsing and parsing options
abbreviation_internal

Internal abbreviation marker, marks abbreviations with an underscore behind. Useful if parsing_option 1 is needed, but some abbreviations need parsing_option 2.
relevant

Internal helper for "lower_upper", "upper_lower". This helper returns a logical vector with TRUE for the first and every second string of those which contain an alphabetic character
parsing_helpers

Parsing helpers
preprocess_internal

Internal function that replaces regex matches with underscores