-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feedback Widget at the bottom of page #709
Comments
This looks promising but I'd like to know more details about how the results are stored and how easy it is to retrieve the results https://rubenarslan.github.io/formr/reference/index.html Looks like it's pretty actively under development which is good but it is pretty green it seems. (The docs are a bit sparse) https://github.com/rubenarslan/formr/issues This definitely could be an option, but do we know of any other options that might have a slightly longer, more proven track record and stability? |
@cansavvy @carriewright11 @kweav formr (mentioned in my original post) doesn't seem like the right tool for this problem. It's a tool for setting up a large scale online survey framework, but that's not what we are after here. I've done a ton of googling to see if R Markdown natively supports this, and the short answer is no. However, I do have an idea on how to hack away at this. I could have every newly created R Markdown create a Google Form using the Google Forms API. Each form would save all the responses to a master Google spreadsheet that hopefully has unique IDs for each Rmd file, the response, and maybe feedback/comments. This sounds easy in theory, but the difficult part is to code this up and integrate it into the OTTR template. The main HTTP request to call is With the help of ChatGPT, I was able to run the following code and programmatically create a new Google Form:
I created a Client ID and Client Secret in the Google Cloud Platform (GCP) and enabled the Google Forms API. (https://babichmorrowc.github.io/post/google-api-creds/) |
Let me look more detail into this code but certainly seems like we should integrate this into metricminer as a metric one can collect plus Google forms api auth is already set up there. |
Or I also have code that does this in the rgoogleclassroom r package |
Also one more thought a Google form for every single Rmd will be a bit of an organizational headache but alternatively we can use one Google form that already enters what page someone responded on. I can set up a prototype of this to show you what I mean |
I ended up making a mini shiny app for this because it seemed less intensive than making google forms. But I could use your help making it pretty
Testing this in a course here: fhdsl/GitHub_Automation_for_Scientists#17 The code is here: https://github.com/fhdsl/widget-survey |
This is done! |
At today's ITN meeting, we discussed having a "feedback widget" at the bottom of each page, asking the reader questions about the course.
Here is a possible solution: https://widgets.formr.org/ . The formr package offers several widgets (embedded in HTML pages) that contain questions/answers which the user can click.
@cansavvy @carriewright11 @kweav
The text was updated successfully, but these errors were encountered: