#' Read and Customize Survey Questions
#'
#' @param survey_info
#'
#' @return
#' @export
#'
#' @examples
customize_survey_questions <- function(
survey_info
) {
readr::read_csv(
paste0("www/", survey_info$question_file)
) %>%
rowwise() %>%
dplyr::mutate(
question = glue::glue_data(
survey_info,
question
)
) %>%
ungroup()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.