gs_rename: Rename a spreadsheet

Description Usage Arguments Value Examples

Description

Give a spreadsheet a new name. Note that file names are not necessarily unique within a folder on Google Drive.

Usage

1
gs_rename(ss, to, verbose = TRUE)

Arguments

ss

a registered Google spreadsheet, i.e. a googlesheet object

to

character string for new title of spreadsheet

verbose

logical; do you want informative messages?

Value

a googlesheet object

Examples

1
2
3
4
5
6
7
8
## Not run: 
ss <- gs_gap() %>% gs_copy(to = "jekyll")
gs_ls("jekyll")                  ## see? it's there
ss <- ss %>% gs_rename("hyde")
gs_ls("hyde")                    ## see? it's got a new name
gs_delete(ss)

## End(Not run)

googlesheets documentation built on May 2, 2019, 1:57 p.m.