Provide cell coloring in curation templates (...and beyond)#29
Draft
allenbaron wants to merge 4 commits into
Draft
Provide cell coloring in curation templates (...and beyond)#29allenbaron wants to merge 4 commits into
allenbaron wants to merge 4 commits into
Conversation
gs_col2rgb() recognizes a subset of the standard Google Sheets colors by name (as seen by hover in Google Sheets) or hex code and converts these values to RGB. RGB is needed for googlesheets4 to set fill color. See examples of googlesheets4::range_flood(). Only a subset of Google Sheets colors are included in gs_color.
- Allow all hex color codes... not sure why I chose to limit them in the first place. - Drop naming of output... not all hex codes will have names and the names could be added in the wrong order anyway.
To set fill color of cells. Intended for use in curation_template() when .data is provided.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal: Support cell coloring in Google Sheets, particularly for curation templates.
Cell background formatting might really only be useful for adding a visual indicator on where term data stanzas/groups begin.
This should work as is but shouldn't be implemented until data being written into a curation template is ordered in a deterministic way.