Giter Club home page Giter Club logo

google_forms_course's Introduction

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

google_forms_course's People

Contributors

seankross avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.