read files from a path and converts all its HTML into one tibble
dir2df.Rd
read files from a path and converts all its HTML into one tibble
Arguments
- folder
CHAR. The directory/folder/path to the HTML files
- recursive
BOOL. Will the . Default = TRUE
Examples
dir2df( "~/Downloads/Telegram Desktop/ChatExport_2023-12-16 (1)" )
#> # A tibble: 170,156 × 6
#> Chat_Name msg_Id date_time user_name text Audio_Video_image
#> <chr> <chr> <dttm> <chr> <chr> <chr>
#> 1 Hacker News 69 2017-01-05 04:36:10 Hacker News 'Legiti… NA
#> 2 Hacker News 70 2017-01-05 04:41:16 NA Bitcoin… NA
#> 3 Hacker News 71 2017-01-05 06:00:15 Hacker News Snapcha… NA
#> 4 Hacker News 72 2017-01-05 06:15:47 Hacker News Rumors … NA
#> 5 Hacker News 73 2017-01-05 13:41:36 Hacker News Mozilla… NA
#> 6 Hacker News 74 2017-01-05 13:41:37 NA Nvidia … NA
#> 7 Hacker News 75 2017-01-05 13:41:37 NA Easy 65… NA
#> 8 Hacker News 76 2017-01-05 13:41:38 NA Taichi … NA
#> 9 Hacker News 77 2017-01-05 13:41:38 NA .NET Co… NA
#> 10 Hacker News 78 2017-01-05 13:41:42 NA How to … NA
#> # ℹ 170,146 more rows