View source: R/student-repos.R
dl_hw_form | R Documentation |
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.
dl_hw_form(g_sheet, ...)
g_sheet |
Character; Google Sheet identifier, see
|
... |
Does nowt (currently) |
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.
Data frame
## Not run: gs_url <- 'https://docs.google.com/spreadsheets/d/...unique google sheets url...' form <- dl_hw_form(gs_url) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.