Skip to contents

Retrieves study materials including user notes and synonyms for subjects.

Usage

wk_study_materials(
  ids = NULL,
  subject_ids = NULL,
  subject_types = NULL,
  updated_after = NULL,
  all_pages = FALSE
)

Arguments

ids

Vector of study material IDs to retrieve.

subject_ids

Vector of subject IDs to filter study materials by.

subject_types

Vector of subject types to filter by.

updated_after

POSIXct datetime to filter study materials updated after this time.

all_pages

Logical indicating whether to fetch all pages (default: FALSE).

Value

A list containing study materials data and pagination information.

Examples

if (FALSE) { # \dontrun{
# Get all study materials
study_materials <- wk_study_materials(all_pages = TRUE)

# Get study materials for specific subjects
subject_materials <- wk_study_materials(subject_ids = c(1, 2, 3))
} # }