csb_canceled: Remove Canceled Calls for Service

View source: R/csb_canceled.R

csb_canceledR Documentation

Remove Canceled Calls for Service

Description

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

Usage

csb_canceled(.data, var, drop = TRUE)

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

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


slu-openGIS/stlcsb documentation built on Jan. 28, 2024, 12:10 p.m.