Fills gaps in time series data of years that might occur due to missing
data or dates in task lists.
Usage
complete_years(dfr, year_col = year)
Arguments
- dfr
A data frame with a column for year numbers.
- year_col
A bare column name (defaults to year) to expand to a full
sequence of year numbers.
Value
The expanded dfr
with a column variable year_col
that contains
a full sequence of year numbers.