# dataRetainer.R
#
# Purpose: Stores and loads data inputted by the user on the select page.
#
# Author: Roberto Lentini (rlentini@research.baycrest.org)
#
# Date: 2020-07-20ยค
#
# ==========================================================================================
# Store data for the current session
saveData <- function(data) {
responses <<- data
}
loadData <- function() {
if (exists("responses")) {
responses
}
}
#[END]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.