Skip to contents

filter dataframe to show only the last exports of each chat/group

Usage

filter_last_export(DF)

Arguments

DF

the tibble/dataframe generated with `tm_info()` function

Examples

tm_info("~/Downloads/Telegram Desktop/") |> filter_last_export()
#> Warning: no non-missing arguments to min; returning Inf
#> Warning: no non-missing arguments to max; returning -Inf
#> Warning: no non-missing arguments to min; returning Inf
#> Warning: no non-missing arguments to max; returning -Inf
#> # A tibble: 2 × 2
#>   name                             LastDate  
#>   <chr>                            <date>    
#> 1 Hacker News                      2023-12-16
#> 2 Science News Facts Updates Daily 2023-12-19