gs_ws_delete

0th

Percentile

Delete a worksheet from a spreadsheet

The worksheet and all of its contents will be removed from the spreadsheet.

Usage
gs_ws_delete(ss, ws = 1, verbose = TRUE)
Arguments
ss

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

ws

positive integer or character string specifying index or title, respectively, of the worksheet

verbose

logical; do you want informative messages?

Value

a googlesheet object

Aliases
  • gs_ws_delete
Examples
# NOT RUN {
gap_ss <- gs_copy(gs_gap(), to = "gap_copy")
gs_ws_ls(gap_ss)
gap_ss <- gs_ws_new(gap_ss, "new_stuff")
gap_ss <- gs_edit_cells(gap_ss, "new_stuff", input = head(iris), trim = TRUE)
gap_ss
gap_ss <- gs_ws_delete(gap_ss, "new_stuff")
gs_ws_ls(gap_ss)
gap_ss <- gs_ws_delete(gap_ss, ws = 3)
gs_ws_ls(gap_ss)
gs_delete(gap_ss)
# }
# NOT RUN {
# }
Documentation reproduced from package googlesheets, version 0.3.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.