fetch: Download assignments from moodle

View source: R/moodle.R

fetchR Documentation

Download assignments from moodle

Description

fetch downloads student submissions for a given assignment from a moodle server.

Usage

fetch(
  assign_id,
  targ_dir = paste0("assign_", assign_id),
  overwrite = FALSE,
  url = NULL,
  user = NULL
)

Arguments

assign_id

assignment id number; digits only

targ_dir

subdirectory in which to store downloaded submissions; if NULL will be downloaded to a subdirectory of the working directory named assign_id

overwrite

overwrite the subdirectory if it exists (default FALSE)

url

URL of moodle server (if not specified in credential file)

user

name of moodle user (if not specified in credential file)

Value

a tibble containing information about contents of the downloaded directory (see list_submissions)

See Also

login, rmdassess::describe


dalejbarr/assessr documentation built on Jan. 25, 2024, 10:47 p.m.