You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a program to assign students to groups. Assign a type of card and a color (clubs, spades, hearts, diamonds) to each student. Make sure to have equally sized groups as much as possible.
Create a reproducible example to show how your code works.
Bonus: Use the GitHub API to get usernames from github.
If you submit your work before the next session, it will help to give you feedback and discuss the code.
Note: This task is a little harder and a bit less of a Mickey Mouse example in the sense that splitting up actually makes sense. Someone on the team could read through the github documentation and figure out how to extract usernames from the API. 1-2 others could think of the problem itself.
Hint:
The following ingredients can be handy to implement the above in R:
sample function sample()
length function length()
names function names()
rounding functions like ceiling or floor. ceiling(), floor()
lists list()
for loops
The text was updated successfully, but these errors were encountered:
mbannert
changed the title
Task 5: Create a Program to Assign Students to Groups
Block 1, Task 5: Create a Program to Assign Students to Groups
Sep 29, 2021
mbannert
changed the title
Block 1, Task 5: Create a Program to Assign Students to Groups
Block 2, Task 1: Create a Program to Assign Students to Groups
Oct 19, 2022
Create a program to assign students to groups. Assign a type of card and a color (clubs, spades, hearts, diamonds) to each student. Make sure to have equally sized groups as much as possible.
Create a reproducible example to show how your code works.
Bonus: Use the GitHub API to get usernames from github.
If you submit your work before the next session, it will help to give you feedback and discuss the code.
Note: This task is a little harder and a bit less of a Mickey Mouse example in the sense that splitting up actually makes sense. Someone on the team could read through the github documentation and figure out how to extract usernames from the API. 1-2 others could think of the problem itself.
Hint:
The following ingredients can be handy to implement the above in R:
sample()
length()
names()
ceiling(), floor()
list()
The text was updated successfully, but these errors were encountered: