Skip to contents

Creates a step that removes one or more variables from the survey data when baked.

Usage

step_remove(
  svy = survey_empty(),
  ...,
  vars = NULL,
  use_copy = use_copy_default(),
  comment = "Remove variables",
  lazy = lazy_default(),
  record = TRUE
)

Arguments

svy

A Survey or RotativePanelSurvey object

...

Unquoted variable names to remove, or a character vector

vars

Character vector of variable names to remove.

use_copy

Whether to operate on a copy (default: use_copy_default())

comment

Optional description for the step

lazy

Logical, whether to delay execution.

record

Logical, whether to record the step.