| CSVConnection | R Documentation |
CSVConnection R6 Class
CSVConnection R6 Class
An R6 class representing a connection to a CSV file for the chat module.
The full dataset
Save a message to data source
csv_pathThe path to the CSV file.
nlastThe number of messages to be read in and displayed.
Initialize the R6 Object
new()CSVConnection$new(csv_path, nlast = NULL)
csv_pathThe path to the csv file.
nlastThe number of messages to be read-in.
get_data()Reads the full dataset
CSVConnection$get_data()
insert_message()CSVConnection$insert_message(message, user, time)
messageThe message to be stores
userThe user who entered the message
timeThe time when message was submitted
clone()The objects of this class are cloneable with this method.
CSVConnection$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.