View source: R/process_responses.R
ensure_data_in_responses | R Documentation |
A responses table isn't very useful without some basic information: the class the response was elicited in, the student it was elicited from, and the prompt that elicited the response (but not necessarily the response – a missing response is a response in itself). This function ensures that the columns exist in the data frame (failing with an error message if not) and filters out rows that are missing required data (emitting a warning if so).
ensure_data_in_responses(responses)
responses |
A CourseKata responses table (e.g. from responses.csv). |
If no problems are found, the original object is returned. When problems are found, the corresponding rows are removed from the output table.
process_responses
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.