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

nest_append_interval(nestTib, rawData, type, interval)

Arguments

nestTib

Nested tibble with `AccountNumber`` as identifier

rawData

Tibble/Data Frame with the following columns:

  • Account Number (unique identifier)

  • Date

  • Count

type

Must be one of following strings:

  • years

  • months

  • weeks

  • days

interval

Must be positive integer excluding zero

Value

nested tibble

Examples

test
#> Error in eval(expr, envir, enclos): object 'test' not found