Closed jdhoffa closed 3 years ago
Thanks @jdhoffa,
If I understand correctly you suggest I should add ui
components for all these questions before we connect them to the corresponding outputs in the server
.
Instead of adding all these questions and have them unconnected to outputs I would rather start by implementing only a couple and have them connected to real outputs. I think that will give me quickly a good idea of the entire process the app needs to do. Once I know that, adding new questions should be a little easier.
For example, the toy app has two types of questions -- one that picks values from a column that already exists in the (fake) source dataset "scenario_data.rds", and another one that picks values from a column (nuclear
) that I created specifically to answer a question ("has nuclear?"). Those two questions illustrate two different strategies to pick data.
Yup, I agree with that approach! I just wanted to get all of the questions in one place on github so that we can use it as a reference
Superseded by #5
I have read through the currently existing survey questions, and transcribed the "Question" and possible "Answers" for each step of the survey.
There are some questions that should only appear if the answer to a previous question is a certain value. These I have denoted with Question 1, Question 1.1, Question 1.1.1 and so on.
There are two questions for which the possible answers actually come from datasets, I will open up a separate issue explaining how these datasets can be generated.
@maurolepore once you have the general app skeleton in place, feel free to start working on getting these actual questionnaire questions included in a PR.
Created on 2021-07-15 by the reprex package (v2.0.0)