Skip to contents

Write only chat history to csv file. Does not include other information contained in the full chat data. To save the full chat data, use `write_to_json()`.

Usage

write_to_csv(chatdata, output_file)

Arguments

chatdata

Chat data from parse_users_chat_data.

output_file

Output file name. Must end with '.csv'.

Value

TRUE if successful

Examples

if (FALSE) { # \dontrun{
write_to_csv(chatdata, "chatdata.csv")
} # }