This page was last updated on July 21st, 2016.
The commit this reflects the code from is: 82af5
Line 35, R/results_generation.R is where we begin.
mc_single_answer_results <- function(question) {
This page was last updated on July 21st, 2016.
The commit this reflects the code from is: 82af5
Line 35, R/results_generation.R is where we begin.
mc_single_answer_results <- function(question) {
This page was last updated on July 21st, 2016.
The commit this reflects the code from is: 82af5
Line 92, R/results_generation.R is where we begin.
mc_multiple_answer_results <- function(question) {
This page was last updated on July 21st, 2016.
The commit this reflects the code from is: 82af5
Matrix questions use "choice" to indicate a horizontal question component and "answer" to indicate a vertical option. For example, if a matrix questions options were formatted like the following table, the "choices" would be the list of "apple", "orange" and "banana". Similarly, the
library(readxl) | |
#' Turn a Directory into a list of Coded Comment Data Frames (unprocessed) | |
directory_get_coded_comment_sheets <- function(directory) { | |
# ask for directory if not provided | |
if (missing(directory)) directory <- choose.dir() | |
# we only want to look at Excel or CSV files in the given directory | |
files_list <- list.files(path=directory, full.names=TRUE) | |
files_list <- files_list[lapply(files_list, function(x) grepl("*.xlsx$|*.xls$|*.csv$", x)) == TRUE] |
library(QualtricsTools) | |
source("Q:/Student Work/Emma's Student Work/Report Generation/Comment Coding/comment-coding.R") | |
get_setup( | |
qsf_path = "Q:/Student Work/Emma's Student Work/Report Generation/Comment Coding/examples/fletcher/Fletcher_Continuing_and_Exiting_Student_Survey_2016.qsf", | |
csv_path = "Q:/Student Work/Emma's Student Work/Report Generation/Comment Coding/examples/fletcher/Fletcher_Continuing_and_Exiting_Student_Survey_2016.csv", | |
headerrows=2) |
library(QualtricsTools) | |
source("Q:/Student Work/Emma's Student Work/Report Generation/Comment Coding/comment-coding.R") | |
get_setup( | |
qsf_path = "Q:/Student Work/Emma's Student Work/Report Generation/Comment Coding/examples/grad admissions/grad_admissions.qsf", | |
csv_path = "Q:/Student Work/Emma's Student Work/Report Generation/Comment Coding/examples/grad admissions/grad_admissions.csv", | |
headerrows=3) |
library(QualtricsTools) | |
source("comment_coding.R") | |
get_setup(headerrows=2) | |
comments_dir <- "C:/path/to/coded_comments/here/" | |
coded_comments <- directory_coded_comments(comments_dir) | |
blocks <- insert_coded_comments(blocks, original_first_rows, coded_comments) | |
questions <- questions_from_blocks(blocks) | |
flow <- flow_from_survey(survey) | |
text_appendices <- text_appendices_table(blocks, original_first_rows, flow) | |
html_2_pandoc(html = c(blocks_header_to_html(blocks), text_appendices), file_name = "coded_text_appendices.docx", format = "docx", output_dir = "C:/output/directory/here/") |
This is a list of writings about mathematics that I think are accessible to a mathematically interested audience, as well as quite worth the read. I have read many of these multiple times, and will be quite happy if somebody finds something they enjoy on this list.
# Let's try and find out what parameters are undocumented in my package QualtricsTools. | |
# July 2017 | |
# Christian Testa | |
# This uses some internals (such as parse_rd and .Rd_get_argument_names) from the tools package | |
# with the .Rd files generated by Roxygen with the args function to get arguments of functions | |
# loaded from the QualtricsTools in order to approximately tell which parameters are undocumented | |
# in the package. | |
# The script below seems to be prone to false-positives where the documentation for a parameter does |