EdwinTh / padr

Padding of missing records in time series
https://edwinth.github.io/padr/
Other
132 stars 12 forks source link

warning and omitting when start_val and end_val are out of range #24

Closed EdwinTh closed 7 years ago

EdwinTh commented 7 years ago

When start_val is after the last observation in a group, it will break because we try to apply seq.Date or seq.POSIXt from higher to lower. Rather we omit these groups and give a warning.

Same goes for the end_val that is before the first observation in a group.