csb_canceled: Remove Canceled Calls for Service

Description Usage Arguments Value Examples

Description

Subsets data to remove any call with a date and time canceled.

Usage

1

Arguments

.data

A tibble or data frame

var

Name of the column containing cancellation timestamps

drop

A logical scalar; if TRUE, removes the now empty column that had contained cancellation date and time, otherwise if FALSE the empty column is retained.

Value

Returns a tibble with the rows containing dates and times for the given variable removed.

Examples

1
2
csb_canceled(january_2018, var = "datecancelled")
csb_canceled(january_2018, var = "datecancelled", drop = FALSE)

stlcsb documentation built on May 2, 2019, 4 a.m.