Check if time series in the panel dataset contain time gaps.
find_gaps.Rd
Check if time series in the panel dataset contain time gaps.
Examples
glob_econ <- as.data.table(tsibbledata::global_economy)
#> Error in as.data.table(tsibbledata::global_economy): could not find function "as.data.table"
find_gaps(glob_econ, 'Country', 'Year')
#> Error in setDT(data): could not find function "setDT"
glob_econ <- glob_econ[Year != 1970]
#> Error in eval(expr, envir, enclos): object 'glob_econ' not found
find_gaps(glob_econ, 'Country', 'Year')
#> Error in setDT(data): could not find function "setDT"