Learn R Programming

googlesheets4 (version 0.3.0)

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

Run this code
# NOT RUN {
gs4_examples()
gs4_examples("gap")
gs4_example("gapminder")
# }

Run the code above in your browser using DataLab