Description Usage Arguments Details See Also Examples
Downloads a Google sheet as text, using just the url. The Google sheet must have 'share by link' turned on.
1 | gsheet2text(url, format = "csv", sheetid = NULL)
|
url |
the google sheet url |
format |
controls the column separator used. |
sheetid |
the id of the sheet to download from. (Default |
sheetid
is the index of the sheet to be downloaded.
If you use the direct sheet URL, rather than the share by link, this will automatically be extracted.
Otherwise, the first sheet will be downloaded by default.
gsheet2text
to download as a table
1 2 3 | url <- 'docs.google.com/spreadsheets/d/1I9mJsS5QnXF2TNNntTy-HrcdHmIF9wJ8ONYvEJTXSNo'
a <- gsheet2text(url)
b <- read.csv(text=a)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.