powered by
Retrieve spreadsheet-specific metadata, such as details on the individual (work)sheets or named ranges.
gs4_get() complements googledrive::drive_get(), which returns metadata that exists for any file on Drive.
gs4_get()
googledrive::drive_get()
gs4_get(ss)
Something that identifies a Google Sheet:
its file id as a string or drive_id
drive_id
a URL from which we can recover the id
a one-row dribble, which is how googledrive represents Drive files
dribble
an instance of googlesheets4_spreadsheet, which is what gs4_get() returns
googlesheets4_spreadsheet
Processed through as_sheets_id().
as_sheets_id()
A list with S3 class googlesheets4_spreadsheet, for printing purposes.
Wraps the spreadsheets.get endpoint:
spreadsheets.get
https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets/get
# NOT RUN { if (gs4_has_token()) { gs4_get(gs4_example("mini-gap")) } # }
Run the code above in your browser using DataLab