Generating a random order for students to select their internships (or anything really)

R script to generate random numbers merged with a list of student names retrieved from Canvas My students have to choose where they want to have their internship in societal psychology. Since some internships seems to be more popular, I make a random list of numbers from 1:number of students which I then merge with the list of student names retrieved from Canvas. This then becomes the order in which the students select their internships.

Connecting to canvas lms from R

I often use information from canvas (in my case this is the University of Bergen version mitt.uib.no) when I prepare assignments and tasks for my students. I use Shiny and R as tools to manage my course, so I need data in formats that can readily be processed by R. It can be a pain to export information, like student names and emails etc. from within the web-interface in canvas, so I have been looking for better ways to gain access.