Open lukenoaa opened 2 months ago
@baydenwillms As we discussed this morning.
@baydenwillms As we discussed this morning.
@lukenoaa The closest matches to 'projectContact' I could find in DarwinCore terms (from a CSV file that also includes deprecated DwC terms) are the following: recordedBy, identifiedBy, georeferencedBy, measurementDeterminedBy, bibliographicCitation, and references. Unfortunately none of them are really for contact info. 'references' is used as a citation to a publication. The other terms are related to the physical collection of the data or for citations.
As for the JSON of contact info, we likely cannot attach it directly to a cell as we can with other types of data (for example, the RGB color value of a cell's fill color is an attribute of the cell itself (attribute name backgroundColor), that can be accessed via Gspread):
# Determine the background color based on the presence of '*'
if actual_term.startswith('*'):
bgcolor = Color(0.0, 1.0, 0.0) # Google sheets Green
else:
bgcolor = Color(1.0, 1.0, 0.0) # Google Sheets yellow
format_requests.append((**cell, **CellFormat(backgroundColor=bgcolor**)))
but we could easily 'stringify' the JSON to a single line which can be parsed easily, and add that as a comment/note to the cell or as the data value of a cell.
The project contact information will be covered by Miwa's new checklist terms (should be DwC-compatible):
New issue:
Every field should have a note that gives enough information to fill out that field. Suggested format with example:
Issues: