ss_column_ids {smartsheetr} | R Documentation |
List column ids for a given sheet
Description
Returns a vector of the Smartsheet internal column ids for a given sheet
Usage
ss_column_ids(ss_id)
Arguments
ss_id |
The sheetId, permalink, or name of the Smartsheet sheet to read |
Value
A numeric vector
Examples
## Not run:
ss_id = ss_sheetid(ss_write_sheet(paste0("smartsheetr-example-",random_sheet_name())))
col_names = colnames(ss_read_sheet(ss_id))
col_ids = ss_column_ids(ss_id)
setNames(col_ids, col_names)
# clean up
ss_delete_sheet(ss_id)
## End(Not run)
[Package smartsheetr version 0.1.0 Index]