ss_column_ids {smartsheetr} | R Documentation |
Returns a vector of the Smartsheet internal column ids for a given sheet
ss_column_ids(ss_id)
ss_id |
The sheetId, permalink, or name of the Smartsheet sheet to read |
A numeric vector
## 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)