02:00
posit::conf(2023)
Teaching Data Science Masterclass
Log out of Posit Cloud and log back in.
02:00
We created Posit Cloud to make it easy for professionals, hobbyists, trainers, teachers, and students to do, share, teach, and learn data science using R.
When you create an account on Posit Cloud you get a workspace of your own
You can add a new workspace and control its permissions
Projects in either workspace can be public or private
A new project in Posit Cloud
is basically a new project in the RStudio IDE
Say yes to projects
If you use RStudio, use projects! Trust me, you won’t regret it. Find out more at https://r4ds.had.co.nz/workflow-projects.html.
Demo:
Create a new project in your workspace
Install all required packages and add all required files
Change permissions
Share URL – make a shortlink if you like!
Demo:
Go to the URL shared with you
Pick up the project where the instructor left off
Good!
Not so good…
You may have already done some of the steps below during my demo!
Your role: Instructor
Your role: Student
Access your neighbor’s project as if you’re the student and they’re the instructor.
05:00
Demo:
Create a new workspace and add a description
Set permissions for various roles
Set up a template, and make it the default
Set up a new assignment
Invite students via a sharing link
role | permission | course role |
---|---|---|
admin | manage users, view, edit and manage all projects | instructor |
moderator | view, edit and manage all projects | TA |
contributor | create, edit and manage their own projects | student |
viewer | view projects shared with everyone | auditor |
Good!
Not so good…
Default project template can be used, so New Project from Git Repository also has the right packages installed!
Student usage / engagement metrics
If teaching without Git and GitHub, sufficiently rich functionality for fully supporting your course
If teaching with Git and GitHub, there are some rough edges (that I hope will be ironed out soon):
You need to set a PAT for each project, which is a setup that is not a realistic GitHub workflow and requires either that you have as many PATs as projects laying around or you have a good password manager where you can store the PAT and copy it and set it in each project. Thanks to the usethis package this can be done with 2 commands without going to the Terminal, which is good if that’s not part of the course learning goals.
You need to run git config credential.helper store
in the Terminal to make sure PAT is available in that project “forever”, or until the PAT itself expires.
What models can you envision for collecting assignments and providing feedback when teaching with Posit Cloud?
03:00
So far we’ve demonstrated and discussed computational infrastructure options where students are “in the IDE”, where they can do data science
Another approach, with the opportunity for even more immediate hands-on interaction, is running code in the browser, to quickly experience data science
🔗 pos.it/teach-ds-conf23 / Module 3