Closed EmilHvitfeldt closed 3 years ago
These steps would answer the question such as
The reference point should be able to be a vector of date-times or a recurrent event generated with almanac (hopefully, haven't prototyped yet)
There should additionally be a decay argument to modify how "n periods before x" are returned. Exponential and logarithmic are prime candidates
Maybe a step_time_period() which I see as a combination of before + after
Add unit argument that specifies how the number is calculated, days, weeks, months. Etc etc
These steps would answer the question such as
The reference point should be able to be a vector of date-times or a recurrent event generated with almanac (hopefully, haven't prototyped yet)
There should additionally be a decay argument to modify how "n periods before x" are returned. Exponential and logarithmic are prime candidates
Maybe a step_time_period() which I see as a combination of before + after