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

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.