grapes-like-grapes: SQL like filtering in data tables

Description Usage Details

Description

allow a sql like syntax in data tables. N.b. conflict with data.table's definition of like which is based on regex.

Usage

1
vector %like% like

Details

_ Represents a single character h_t finds hot, hat, and hit [] Represents any single character within the brackets h[oa]t finds hot and hat, but not hit ^ Represents any character not in the brackets h[^oa]t finds hit, but not hot and hat - Represents a range of characters c[a-b]t finds cat and cbt TODO: escaped sql


terminological/uk-covid-datatools documentation built on June 24, 2021, 8:16 p.m.