daranzolin / rcanvas

R Client for Canvas LMS API
Other
90 stars 43 forks source link

add rudimentary group functions #9

Closed stillmatic closed 7 years ago

stillmatic commented 7 years ago

these functions deal with groups, and specifically determining which users belong to which group.

if a user is not in any group they are handed an NA. the final output looks like:

id sortable_name group_id group_name
07 A, S 35 Group 2
34 A, R 56 Group 23
37 A, P 93 Group 31
02 B, E 694 Group 32
90 B, F 249 Group 16
91 B, J NA NA

reference: https://canvas.instructure.com/doc/api/groups.html

this may not be in shape to merge yet, but is working for my use case.

daranzolin commented 7 years ago

My institution has never utilized groups, but this looks good.