mozillascience/studyGroupStats

Name: studyGroupStats

Owner: Mozilla Science Lab

Description: [GSOC] Repo for our stats dashboard for study groups

Created: 2017-08-21 17:48:04.0

Updated: 2018-02-02 20:16:31.0

Pushed: 2017-08-26 13:21:24.0

Homepage: https://mozillascience.github.io/studyGroupStats/

Size: 165

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Mozilla Study Group Dashboard

The Mozilla Science Lab is a part of the Mozilla Foundation devoted to supporting a global community of scientists who want to open source their research and their learning materials. The Study Group program is a part of that initiative, and centers around a simple website that leverages Jekyll blog software and Github issues to enable the creation of a website for peer-learning groups. These groups collaborate and come together for in-person workshops and events that teach scientific programming concepts, open science practice, and scripting languages. Study Group Leads fork the Study Group Website Repository and customize the attached website (gh-page) to run meetups all over the world. They organize regular events, skill shares, co-work and create community around open science.

The Dashboard has visualizations about Study Group globally. The Event details have been added to the Mozilla Study Group Event so that members can participate in various events.

What did I do?

There are various data of study group like events, members, location and lessons. These data are scattered. Hence, to know the study group activities, I have collected data from everywhere and converted them into JSON. This JSON format is used to display Visualisation on the Dashboard. Also, I have modified the UI and added event details to Mozilla Study Group Events. Previously, sg-event script fetched only in JSON format. With the help of our contributor Hassen, we can now publish on the excel sheet and the data are displayed on Study Group Events. I have also written a script to fetch member details in plain Text format. After fetching, we use JAVA code to simplify the data into JSON format. These JSON are used in Visualisation. For Automation, We have created scripts to run it once in a week.

Work Flow

The fetching and publication of Data are done by running the scripts once in a week with the help of cron job.

Add the script in sequence:

Manual running of scripts: 1) Fetch the Study Group Events and Members with the help of sg-event and sg-members scripts. For running these scripts, refer the event README and members README.

2) The sg-event script will fetch the event details as well as publish the contents in excel sheet.

3) After fetching the data, run the Java Codes to fetch various Data in JSON format.

4) The JSON fetched by Javascript file is displayed on the Dashboard. (Visualisation : c3.js)

5) To run the Mozilla Study Group Dashboard or Mozilla Study Group Events locally:

t clone repository
kyll build
kyll serve
Come Join Us!

I would like to thank Aurelia for her guidance and support! Also, kudos to Hassen and Rahul Krishna for their contribution and feedback! For any issues, you can drop a message on gitter or contact me.

Future Work
Relevant Links

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.