get_department_statistics_by_subaccount {vvcanvas}R Documentation

Get department-level statistics by subaccount from the Canvas LMS API

Description

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

Usage

get_department_statistics_by_subaccount(
  canvas,
  account_id,
  type = "current",
  term_id = NULL
)

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 statistics.

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 statistics. Only used when type is 'terms/<term_id>'.

Value

A list of department-level statistics retrieved from the Canvas LMS API.


[Package vvcanvas version 0.0.4 Index]