zip_to_drive: Takes a downloaded zip of submissions from CourseWorks and...

Description Usage Arguments Examples

View source: R/submissions.R

Description

Gets group number (or name) from file name, title from h1 tag, and content from p tags. Name of Google Sheet is determined by zip file name.

Call only when creating a new sheet on GoogleDrive.

Usage

1
zip_to_drive(path = "~/Downloads", pattern = "test")

Arguments

path

folder where student files are stored

pattern

pattern to match in filenames

Examples

1
2
nss <- zip_to_drive("~/Downloads", "Final_Project_Groups.zip")
drive_browse(nss)

jtr13/cworks documentation built on Nov. 11, 2019, 7:09 p.m.