View source: R/google_sheets.R
| googlesheet_csv_url | R Documentation |
Turns a link-shared Google Sheets URL (or a bare spreadsheet ID) into its CSV export endpoint, which works for any sheet shared as "Anyone with the link can view" – no OAuth, no credential storage.
googlesheet_csv_url(url, gid = NULL)
url |
The pasted Google Sheets link (several shapes accepted, e.g.
|
gid |
Optional worksheet gid. If |
A character scalar, the CSV export URL.
googlesheet_csv_url("https://docs.google.com/spreadsheets/d/abc123/edit#gid=456")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.