Learn R Programming

smartsheetr (version 0.1.0)

ss_replace_sheet: Replace the contents of a sheet with a new data frame

Description

Replace the contents of a sheet with a new data frame

Usage

ss_replace_sheet(ss_id, data)

Value

A named list of ss_resp objects

Arguments

ss_id

The sheetId, permalink, or name of the Smartsheet sheet to read

data

A data frame

Examples

Run this code
if (FALSE) {
ss_id = ss_sheetid(ss_write_sheet(paste0("smartsheetr-example-",random_sheet_name())))
ss_replace_sheet(ss_id, data=mtcars)
ss_read_sheet(ss_id)
# clean up
ss_delete_sheet(ss_id)
}

Run the code above in your browser using DataLab