Learn R Programming

searchable (version 0.3.3.1)

Tools for Custom Searches / Subsets / Slices of Named R Objects

Description

Provides functionality for searching / subsetting and slicing named objects using 'stringr/i'-style modifiers by case (in)sensitivity, regular expressions or fixed expressions; searches uses the standard '[' operator and allows specification of default search behavior to either the search target (named object) and/or the search pattern.

Copy Link

Version

Install

install.packages('searchable')

Monthly Downloads

28

Version

0.3.3.1

License

GPL-2

Issues

Pull Requests

Stars

Forks

Last Published

April 7th, 2015

Functions in searchable (0.3.3.1)

Pattern-class

Defines or extract a search pattern
detect

detect
std

Use/revert to standard matching
is.string

Test if an object is a string
coll

coll
[,Searchable,PatternOrCharacter,missing-method

Extraction operators for Searchable object
searchable-package

searchable
stri_detect_std

Use standard matching
boundary

Define boundary for pattern matching
ignore.case

Turn on/off case sensitivity for Searchable and Pattern objects
fixed

fixed
reverse.lookup

Perform a reverse lookup on searchables
Searchable-class

Searchable
regex

regex
invert

Invert a structure by swapping keys and values