Skip to content

A swirl course that demonstrates how to use swirl with Google Forms

Notifications You must be signed in to change notification settings

retaoliveira/Google_Forms_Course

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

swirl & Google Forms

This course demonstrates how to use the new logging feature in swirl with Google Forms. This is a simple way for course instructors to monitor how their students are performing in swirl courses.

Install this Course

# install.packages("swirl")
library(swirl)
install_course_github("seankross", "Google_Forms_Course")
swirl()

Use Google Forms in Your Course

Follow these steps in order to set up a Google Form that can collect student's swirl progress:

  1. Create a new form by clicking "New" on https://drive.google.com
  2. Name your form something memorable.
  3. Your form should have only one question which should be a paragraph type question.
  4. In the upper right corner of the form there should be three vertical white dots. Click on that icon and then click "Get pre-filled link." This will open a new window.
  5. Click "Submit" and copy the generated link.
  6. Paste the generated link into customTests.R where indicated, so that a string containing the link is assigned to the pre_fill_link variable in the function submit_log().

Key Points in this Repo:

  • swirl logging is disabled by default. Add the line swirl_options(swirl_logging = TRUE) to initLesson.R in order to enable logging.
  • Copy my customTest.R file and edit the assignment of pre_fill_link as described above.
  • The last question of the lesson should look very similar to the last question in this lesson.yaml. Of course you should feel free to edit the output.
  • dependson.txt must at least contain base64enc.

Decoding the Google Forms Submission

  1. Install swirlify. You must use a version of swirlify later than 0.4.1.
  2. Download the csv results from Google Forms.
  3. Run swirlify::google_form_decode() and select the csv you downloaded.
  4. google_form_decode() will return a data frame containing how each of your students performed on every question.

Help

Open an issue here or email us: [email protected]


License

CC0

About

A swirl course that demonstrates how to use swirl with Google Forms

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • R 100.0%