livechatGetChats: Create a list that contains 4 data frames containing chat...

Description Usage Arguments Value Examples

Description

Create a list that contains 4 data frames containing chat sessions and raw chat text.

Usage

1
livechatGetChats(account, date_from)

Arguments

account

defined by the livechatCreateAccount function

date_from

pull all chats from the date in the format YYYY-MM-DD

Value

A list of 4. The being a data.table of chat sessions, messages, postchat surveys and events

Examples

1
2
3
4
5
6
7
# account <- livechatCreateAccount("email_here", "api_key_here")
# livechat_data <- livechatGetChats(account, date_from = "2016-02-23")
# str(livechat_data)
# livechat_data[[1]] %>% str # chat_sessions
# livechat_data[[2]] %>% str # messages
# livechat_data[[3]] %>% str # postchat_survey
# livechat_data[[4]] %>% str # events

Example output



livechatR documentation built on May 2, 2019, 6:11 a.m.