Skip to contents

Get ids whose data have failed to parse

Usage

get_failed_ids(chatdata)

Arguments

chatdata

Chat data from parse_users_chat_data.

Value

A vector of user ids.

Examples

csv_file <- file.path(system.file("extdata", package = "chatlogr"), "mtcars.csv")
chatdata <- parse_users_chat_data(csv_file, idcol = "user_id", nrows = 5)
#> Sampling 5 rows...
#> Processing 5 rows...
#> Chat columns: chathistory1, chathistory2
#> Parsing summary
#>    total  success   errors warnings 
#>        5        0       32        0 
get_failed_ids(chatdata)
#> [1]  4  6  9 15 32