Learn R Programming

googlesheets4 (version 0.3.0)

gs4_browse: Visit a Sheet in a web browser

Description

Visits a Google Sheet in your default browser, if session is interactive.

Usage

gs4_browse(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

The Sheet's browser URL, invisibly.

Examples

Run this code
# NOT RUN {
gs4_example("mini-gap") %>% gs4_browse()
# }

Run the code above in your browser using DataLab