replace_date: Modify a date if it was programmed incorrectly

Description Usage Arguments Examples

View source: R/replaceDate.R

Description

Modify a date if it was programmed incorrectly

Usage

1
replace_date(data, new_date)

Arguments

data

The output of read_flight_data or channels_merge.

new_date

String representation of the replacement date. The date should be formatted as "%m/%d/%y" (eg: "12/25/20").

Examples

1
2
3
head(raw_data[[16]])
raw_data[[16]] <- replace_date(raw_data[[16]], new_date ="10/17/19")
head(raw_data[[16]])

jBernardADFG/telprep documentation built on July 26, 2020, 2:17 a.m.