Scan a tsibble for implicit missing observations

scan_gaps(.data, .full = FALSE)

Arguments

.data

A tbl_ts.

.full

FALSE to find gaps for each series within its own period. TRUE to find gaps over the entire time span of the data.

See also

Other implicit gaps handling: count_gaps, fill_gaps, has_gaps

Examples

scan_gaps(pedestrian)
#> # A tsibble: 3,011 x 2 [1h] <Australia/Melbourne> #> # Key: Sensor [4] #> Sensor Date_Time #> <chr> <dttm> #> 1 Birrarung Marr 2015-04-05 02:00:00 #> 2 Birrarung Marr 2015-05-07 00:00:00 #> 3 Birrarung Marr 2015-05-07 01:00:00 #> 4 Birrarung Marr 2015-05-07 02:00:00 #> 5 Birrarung Marr 2015-05-07 03:00:00 #> 6 Birrarung Marr 2015-05-07 04:00:00 #> 7 Birrarung Marr 2015-05-07 05:00:00 #> 8 Birrarung Marr 2015-05-07 06:00:00 #> 9 Birrarung Marr 2015-05-07 07:00:00 #> 10 Birrarung Marr 2015-05-07 08:00:00 #> # … with 3,001 more rows