View source: R/Smartsheet-R-sdk.R
replace_sheet_with_csv | R Documentation |
Replaces the data in all existing rows and then adds new rows as appropriate. Throws errors if the same columns are not present in both the the Sheet and csv to repalce it.
replace_sheet_with_csv(
sheet_name,
file_path,
never_delete = FALSE,
batch_size = 5000
)
sheet_name |
the target Smartsheet's exact sheet name |
file_path |
the path to the file that will overwrite the existing attachment |
never_delete |
prevents deleting extra rows if the replacement csv has fewer rows than target sheet |
returns nothing
## Not run:
replace_sheet_with_csv("sheet_name","a_folder/maybe_another_folder/sheet.csv")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.