get_department_participation_data {vvcanvas}R Documentation

Get department-level participation data from the Canvas LMS API

Description

Retrieves the department-level participation data for a specific account and term from the Canvas LMS API.

Usage

get_department_participation_data(
  canvas,
  account_id,
  type = "current",
  term_id = NULL,
  per_page = 100
)

Arguments

canvas

A list containing the 'api_key' and 'base_url' for authentication.

account_id

The ID of the account for which to retrieve the participation data.

type

The type of courses to include in the data. Can be 'current', 'completed', or 'term'.

term_id

The ID of the term for which to retrieve the participation data. Only used when type is 'terms/<term_id>'.

per_page

Number of participation data to retrieve per page. Default is 100.

Value

A data frame of participation data retrieved from the Canvas LMS API.


[Package vvcanvas version 0.0.4 Index]