Skip to content

Dalphi/interface-questionnaire

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Questionnaire interface for Dalphi

This interface can be used to annotator questionnaires within the annotation process. A supporting iterate service can incude questionnaire documents into the generated annotation documents to let the annotators answer a custom questionnaire between the annotations. Integrate it to your DALPHI project by copy'n'pasteing the HTML / CoffeeScript / SCSS source codes.

![screen shot 17-01-31](Bildschirmfoto vom 2017-01-31 um 15.59.17.png)

How to use

A supporting iteration service generates questionnaire documents of the following structure. The interface renders the correct input fields autonomous. Just include this interface to your project and adjust your iteration service to generate documents fo the questionnaire type.

Expected payload

{
  "title": "Questions",
  "description": "Please answer the following questions:",
  "questions": [
    {
      "title": "How is your cognitive load?",
			"mandatory": true,
      "scale": "interval",
      "id": "stress",
      "values": [
        { "value": 0, "label": "not stressed" },
        { "value": 1 },
        { "value": 2 },
        { "value": 3 },
        { "value": 4 },
        { "value": 5, "label": "very stressed" }
      ],
      "selected": -1
    },
    {
      "title": "How old are you?",
      "mandatory": false,
      "id": "age",
      "scale": "ratio",
      "value_unit": "years",
      "bounds": {
				"lower": {
					"value": 0,
					"label": "just born"
				},
				"upper": {
					"value": 120,
					"label": "very old"
				}
			},
      "selected": -1
    }
  ]
}

A selection of a question will set the selected attribute of each question.

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Added awesome feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

License

See LICENSE.

About

This interface as well as DALPHI is maintained and funded by Implisense.

We love open source software and are hiring!

About

Questionnaire interface for Dalphi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published