Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

teaching_r_questions

A sample CSV file for demographic questions


Description

A dataset containing the prices and other attributes of almost 54,000 diamonds.

Usage

teaching_r_questions

Format

A data frame with 54 rows and 6 columns:

question:

The question to be asked.

option:

A possible response to the question. In multiple choice questions, for example, this would be the possible answers. For questions without discrete answers, such as a numeric input, this would be the default option shown on the input. For text inputs, it is the placeholder value.

input_type:

What type of response is expected? Numeric, multiple choice, text, etc...

input_id:

The input id for Shiny inputs.

dependence:

Does this question (row) depend on another? That is, should it only appear if a different question has a specific value? This column contains the input_id of whatever question this one depends upon.

dependence_value:

This column contains the specific value that the dependence question must take for this question (row) to be shown.

required:

logical TRUE/FALSE signifying if a question is required.

Source

D'Agostino McGowan Data Science Lab at Wake Forest University.


shinysurveys

Create and Deploy Surveys in 'Shiny'

v0.1.2
MIT + file LICENSE
Authors
Jonathan Trattner [aut, cre] (<https://orcid.org/0000-0002-1097-7603>), Lucy D'Agostino McGowan [aut], Paul Le Grand [ctb]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.