Giter Site home page Giter Site logo

thefragebogen / thefragebogen Goto Github PK

View Code? Open in Web Editor NEW
9.0 4.0 5.0 1.05 MB

A standalone questionnaire system that only requires a HTML5-capable web browser.

Home Page: http://www.TheFragebogen.de

License: MIT License

Makefile 0.15% JavaScript 88.53% HTML 11.32%
questionnaire subjective-tests crowdsourcing experiments

thefragebogen's Introduction

TheFragebogen

TheFragebogen: logo

TheFragebogen is a HTML5 framework for creating stand-alone questionnaires, i.e., running a web browser alone.
Questionnaires are implemented as single-page applications and thus can be loaded from a local file or from a web server. The collected data can be downloaded to the executing machine or uploaded to a web server.

The Features

  • Provides a large, extendable set of scales (e.g., Likert scale).
  • Requires only web browser while a web server is optional.
  • Supports playback of audio and video.
  • Support for free-hand writing or drawing (exported as PNG).
  • Supports interaction with other systems via AJAX or WebSockets.

Data is exported as CSV: either as local download or by sending it to a HTTP-server.

Most important TheFragebogen is implemented completely in JavaScript.
It can thus be easily extended and modified while no infrastructure is mandatory (e.g., web server, database, and network connectivity).

Requirements are:

ATTENTION: Some features might not be available/usable depending on the web browser features.

Getting started

Install required software:

  1. Install NodeJS to get npm: https://nodejs.org/en/download/
  2. Install grunt via npm: npm install -g grunt-cli
  3. Install git as command-line interface: https://git-scm.com/download/

Build TheFragebogen:

  1. Clone git repository: git clone https://github.com/TheFragebogen/TheFragebogen
  2. Enter repository: cd TheFragebogen
  3. Install dependencies via npm: npm install
  4. Build TheFragebogen: grunt
  5. Check out the included examples to see how to get started using TheFragebogen: see examples/.
  6. Check out the included feasibility studies that show how TheFragebogen could be extended: see examples_feasibility/. ATTENTION: Please note that the feasibility studies are not ready for use.

Build the documentation:

  1. Build documentation: grunt doc.
  2. Open documentation in your favorite web browser doc/index.html.

The Concept

TheFragebogen follows the paper metaphor, i.e., a paper-based questionnaire is actually a sequence of paper sheets, which each consists of several items. Items consist, in fact, of a question and a scale.
Sheets are represented in TheFragebogen by so-called Screens and items by so-called QuestionnaireItems. In TheFragebogen, a questionnaires consists of one or more Screens while only one Screen is shown at a time. A Screen encapsulates a specific functionality, such as presenting of items, waiting for some time, or exporting data. For presenting items or HTML content, TheFragebogen provides ScreenUIElements that can present generic HTML content (UIElementHTML) or items (QuestionnaireItems).

The lifecycle of a questionnaire is handled by the ScreenController, which organizes the presentation of all Screens and also data export.

TheFragebogen is completely implemented using OOP.

DEVELOPERS: Information for developers can be found in CODING.md.

The Data

The data is exported as CSV while each element is wrapped in quotation marks.

The data consists of five columns.

For each row:

  • Column 1 contains the index of the screen.
  • Column 2 contains the name of the class (for QuestionnaireItems or Screens).
  • Column 3 contains the question (might be empty or a generic identifier).
  • Column 4 contains the answer options (might be empty).
  • Column 5 contains the answer(s) (might contain an array). Might contain text/numbers, JSON, or a data URI (i.e., multimedia content).

The data files can be opened using any compatible program (e.g., text editor, spreadsheet editor). TheFragebogen-csv-viewer.html is a viewer application that also decodes images encoded as data URI.

License

TheFragebogen is licensed under MIT License.

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.