get_keys: Filters a table by key values

Description Usage Details

View source: R/misc.R

Description

get_keys is a specialized filter operation with additional checks. Given a table, a set of keys and a key column, get_keys will keep lines in which keys correspond to values in the key column, and check that:

Usage

1
get_keys(.tbl, keys, key_col, unique = FALSE)

Details

1. no values are missing; 2. there is only one row per key (optional).

Keys are assumed to be strings, and are case-insensitive.


gmega/playaxdata documentation built on April 4, 2021, 5:21 a.m.