-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added function to update rows #9
Conversation
@bleonard314 I'm a fan of this change! I like that you can update specific cells without having to specify the whole row. This actually makes me think this might be better named as I do see a couple issues that need fixing:
Also, I prefer to use |
Thank you for the prompt review. I've implemented the suggested changes and enhanced the function with additional error checking for improved robustness. Additionally, the documentation now includes an example demonstrating the use of Regarding the function naming, I've aligned it with the corresponding API method, "Update Rows". This decision is based on its direct interaction with the rows path, distinct from the sheets path. You can refer to the Smartsheet API documentation here for more details: Update Rows API. Although there is an update method for sheets, it primarily addresses updates to an individual user's sheet settings, not the content itself. Hence, I believe renaming the function to I'm open to further suggestions or discussions on this matter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@bleonard314 thank you! This looks great. I am putting this in the develop branch. I have another change I hope to release this month.
Added function to update rows based on the Smartsheet API documents. This function has the ability to match dataframe column names with Smartsheet column ids which may be useful for other functions. I also added '.Renviron' to the '.gitignore' to store project specific API keys (for dev only).