# 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
Run the code above in your browser using DataLab