ss_delete_rows {smartsheetr} | R Documentation |
Delete rows from a given sheet
Description
Delete rows from a given sheet
Usage
ss_delete_rows(ss_id, row_ids = NULL)
Arguments
ss_id |
The sheetId, permalink, or name of the Smartsheet sheet to read |
row_ids |
A vector of the smartsheet rowIds, or NULL to delete all |
Value
A list of ss_resp objects
Examples
## Not run:
df = data.frame(PK=c(1,2), FK=c("a","b"))
ss_id = ss_sheetid(ss_write_sheet(paste0("smartsheetr-example-",random_sheet_name()), data=df))
row_ids = ss_row_ids(ss_id)
ss_delete_rows(ss_id, row_ids[2])
ss_read_sheet(ss_id)
# clean up
ss_delete_sheet(ss_id)
## End(Not run)
[Package smartsheetr version 0.1.0 Index]