delete_var_pattern: Delete Variables of Alias Matching Pattern

Description Usage Arguments Value

Description

Remove from dataset ds and variables whose alias match regex pattern.

Usage

1
delete_var_pattern(ds, pattern, confirm = FALSE)

Arguments

ds

A CrunchDataset

pattern

A character regular expression matching the variable aliases to delete.

confirm

A boolean - if TRUE, user will be prompted to confirm the deletion in the console.

Value

Invisibly returns the original dataset.


domjarkey/crunchscripts documentation built on June 6, 2019, 7:43 p.m.