Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.

learnr recorder functions #70

Open
ntaback opened this issue Jan 12, 2021 · 0 comments
Open

learnr recorder functions #70

ntaback opened this issue Jan 12, 2021 · 0 comments

Comments

@ntaback
Copy link

ntaback commented Jan 12, 2021

@yuvipanda this learnr tutorial https://github.com/ntaback/learnr_test2/blob/main/tutorial1.Rmd has a recorder function that captures user responses in a file resp.csv.

When the tutorial is run on the Jupyterhub
https://jupyter.utoronto.ca/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fntaback%2Flearnr_test2&urlpath=shiny%2Flearnr_test2%2F&branch=main

the log file resp.csv records user_id as jovyan.

user_id,tutorial_id,event,label,answer,correct,
jovyan,my-first-tutorial,question_submission,quiz-1,tools,FALSE,
jovyan,my-first-tutorial,question_submission,quiz-2,stats,FALSE,
jovyan,my-first-tutorial,question_submission,quiz-2,tools,FALSE,
jovyan,my-first-tutorial,question_submission,quiz-2,lattice,TRUE,

I also notice that

jovyan@jupyter-3720d7b9-2dc092-2d4703-2da24b-2dd028696474a0:~$ whoami
jovyan

Is it possible to record user_id as utorid/UofT email that was used to login?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant