
Last chance! 50% off unlimited learning
Sale ends in
You can copy a spreadsheet that you own or a sheet owned by a third party that has been made accessible via the sharing dialog options. This function calls the Google Drive API.
gs_copy(from, to = NULL, verbose = TRUE)
a registered Google spreadsheet, i.e. a googlesheet
object
character string giving the new title of the sheet; if NULL
,
then the copy will be titled "Copy of ..."
logical; do you want informative messages?
# NOT RUN {
# copy the Gapminder example sheet
gap_ss <- gs_copy(gs_gap(), to = "Gapminder_copy")
gap_ss
gs_delete(gap_ss)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab