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

gs4_example

File IDs of example Sheets


Description

googlesheets4 ships with static IDs for some world-readable example Sheets for use in examples and documentation. These functions make them easy to access by their nicknames.

Usage

gs4_example(matches)

gs4_examples(matches)

Arguments

matches

A regular expression that matches the nickname of the desired example Sheet(s). This argument is optional for gs4_examples() and, if provided, multiple matches are allowed. gs4_example() requires this argument and requires that there is exactly one match.

Value

  • gs4_example(): a single sheets_id object

  • gs4_examples(): a named vector of all built-in examples, with class drive_id

Examples

gs4_examples()
gs4_examples("gap")
gs4_example("gapminder")

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.