You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implement date_expand(), calendar_expand(), and time_point_expand() #279
calendar_expand() works with year/quarter/month precision inputs
time_point_expand() works with week...nanosecond precision inputs
Both powered by seq() methods
date_expand() uses day precision for Date and second precision for POSIXt, powered by the above
Good handling of size zero inputs
Probably needs good definitions of min() and max() for all calendar / time-point types. In particular, min() and max() of empty calendar / time-point objects, which should return the max and min allowed values respectively, which are currently a little hard to define right now and are precision specific
Activity
DavisVaughan commentedon Dec 22, 2021
Something like this
Uncertain if expand is the right name for this -
tidyr::expand()expands on all combinations. It doesn't fill in implicitly missing values.