Automation

Several Text Processing Functions for Taking Notes

function newlog() { ################## # SETTINGS ################## text_editor_of_choice=vim location_of_files="/path/to/Research_and_Project_Log_Notes" file_extension_for_new_files="mkd" # Do not put a dot (.) in front of this. This can be txt, md, mkd, etc. ################## # END OF SETTINGS ################## cd "$location_of_files" current_date=$(date +%F) # This will produce a date in YYYY-MM-DD format current_date_filename=$current_date.$file_extension_for_new_files if [ -n "$1" ] # If an argument (a filename is expected) was given… then previous_todo_entries=$(grep -ir "^Todo:.*$" "$1") else previous_todo_entries="" fi echo -e "—\nDate: $current_date\n$previous_todo_entries\n—\n\n" >> "$current_date_filename" # ‘\n’ is a newline.

A Turnkey Solution for Graphing Qualtrics Data for Participants

Qualtrics is a point-and-click survey application that has many features but does not allow graphing data for participants after they click “Submit.” I’ve developed a ready-to-go script in PHP for doing just that.

Automating Quiz Grading (for Qualtrics Data) with R

I’ve written an R script to automate the grading process for short multiple-choice quizzes, and am releasing it for others who are teaching and using online data-collection methods.