dl_hw_form: Download homework submission form

View source: R/student-repos.R

dl_hw_formR Documentation

Download homework submission form

Description

Download a GoogleSheets spreadsheet from the given link. The columns are renamed to make them less unwieldy in a data frame. The original names are preserved as an attribute.

Usage

dl_hw_form(g_sheet, ...)

Arguments

g_sheet

Character; Google Sheet identifier, see read_sheet for details.

...

Does nowt (currently)

Details

The first time this is called, you should be taken to the Google sign in page, where it will be necessary to enter authenticate. RStudio should then offer to allow the credentials to persist across sessions - your choice.

Value

Data frame

Examples

## Not run: 
gs_url <- 'https://docs.google.com/spreadsheets/d/...unique google sheets url...'
form <- dl_hw_form(gs_url)

## End(Not run)


jmcvw/ccmisc documentation built on July 27, 2022, 1:48 a.m.