Extract the file id from Sheet metadata
This method implements googledrive::as_id() for the class used here to hold
metadata for a Sheet. It just calls as_sheets_id(), but it's handy in case
you forget that exists and hope that as_id() will "just work".
## S3 method for class 'googlesheets4_spreadsheet' as_id(x, ...)
x |
An instance of |
... |
Other arguments passed down to methods. (Not used.) |
A character vector bearing the S3 class drive_id.
if (gs4_has_token()) {
ss <- gs4_get(gs4_example("mini-gap"))
class(ss)
googledrive::as_id(ss)
}Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.