build_drive_url: Construct a URL Path to Content on Google Drive

View source: R/build_drive_url.R

build_drive_urlR Documentation

Construct a URL Path to Content on Google Drive

Description

Makes it simple to access content hosted on Google Drive in output from R Markdown and friends

Usage

build_drive_url(id)

Arguments

id

Character. Unique Google Drive ID, easily obtained with googledrive::as_id() from the googledrive package.

Value

Character vector with boilerplate url and ID

References

Blog post by P. Aboyi

Examples

## Not run: 
\# save url as a variable
baseball <- build_drive_url("1lKrIWe3QaotbHZ0eJSC57UNf2mJTRAoh")
\# display in default browser
browseURL(baseball)
## End(Not run)






evanmascitti/ecmfuns documentation built on April 5, 2025, 1:52 a.m.