Giter Site home page Giter Site logo

aggregate-attendance-records-obtained-from-google-form's Introduction

Aggregate Attendance Records Obtained From Google Form

Overview

Are you a teacher? Do you have your students fill up a Google Form every class to record their attendance? Do you wish you could aggregate all the form data into one place? Then, you've found a script that does exactly that. The script in this repository updates a pre-existing Google sheets file (preferrably one containing the list of all the students enrolled in a particular course) with 0/1s based on whether students filled up a corresponding (attendance) form or not. However, before you can use this, you must enable Google Drive and Google Sheets API, alongside certain access privileges. Click here to see a video tutorial on how to do that followed by a short demo.

Demo:

Requirements

User Defined Parameters

The following parameters need to be set according to your requirements.

  • cred_file_name: This is the name of your credential file that you downloaded as shown in the tutorial. Make sure the file is in the same directory as the script.
  • form_file_name: This is the name of the sheets file that contains your form responses. If you click on Response tab of any Google Form, you will see an Sheets logo on the top right that reads View responses in Sheets. Clicking on that will produce a Sheets file titled FormName (Responses). Then, share that file with the client_email present in the credentials.json file.
  • form_ws_title: This is the name of the workshet in your responses sheets file. By default it will be Form Responses 1.
  • info_file_name: This is the name of your sheets file which contains a list of all the students (ID required) for a particular course. You need to share this file with the client_email from the credentials file as well.
  • info_ws_title: This is the name of the worksheet in your student list sheets file that will be used to keep attendance.
  • non_class_col_count: This is the number of columns present in your aforementioned worksheet that contains non attendance related columns. For instance, if you have only ID and Name as such columns, the value for this variable should be 2.
  • id_separator: The IDs for each section are displayed as output. You can use commas, spaces, etc. as separators.
  • update_worksheet: If this is set to True, your previously specificed attendance worksheet will be updated with your form responses. Set this to False if you only want to see a list of IDs ordered by course code.

Additional Notes

  • The student IDs are extracted from the emails used to submit the form. Therefore, institutional mails containing their IDs must be used to submit the form. This has been done to eliminate the possibility of a student missing out on their attendance because they typed their ID wrong in a form field.
  • If you have multiple sections in one class, you must use the keyword Course Code in your form or modify the script. Otherwise, in the console, student IDs won't by shown by order of course code.

aggregate-attendance-records-obtained-from-google-form's People

Contributors

mastermueez 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.