Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

gs4_get

Get Sheet metadata


Description

Retrieve spreadsheet-specific metadata, such as details on the individual (work)sheets or named ranges.

Usage

gs4_get(ss)

Arguments

ss

Something that identifies a Google Sheet: its file ID, a URL from which we can recover the ID, an instance of googlesheets4_spreadsheet (returned by gs4_get()), or a dribble, which is how googledrive represents Drive files. Processed through as_sheets_id().

Value

A list with S3 class googlesheets4_spreadsheet, for printing purposes.

See Also

Wraps the spreadsheets.get endpoint:

Examples

if (gs4_has_token()) {
  gs4_get(gs4_example("mini-gap"))
}

googlesheets4

Access Google Sheets using the Sheets API V4

v0.3.0
MIT + file LICENSE
Authors
Jennifer Bryan [cre, aut] (<https://orcid.org/0000-0002-6983-2759>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.