do_interval_work: do_interval_work

Description Usage Arguments Value Examples

Description

**Designed to create cognostics by certain interval/ratio in the past**

Usage

1
do_interval_work(data, type, intervalLength, divide)

Arguments

data

Non-nested tibble with the following columns: * A unique identifier (usually made by a 'group_by“ call) * A continious date column * A numeric column, one observation per date per unique identifier

type

Must be one of following strings: * 'years' * 'months' * 'weeks' * 'days'

intervalLength

Must be positive integer excluding zero

divide

Must be one of following strings: * 'A' * 'R' * 'L'

Value

List that contains [nestedTibble, tibble]

Examples

1

clarkjoe/overtime documentation built on May 9, 2019, 8:13 a.m.