cidgoh / DataHarmonizer

A standardized browser-based spreadsheet editor and validator that can be run offline and locally, and which includes templates for SARS-CoV-2 and Monkeypox sampling data. This project, created by the Centre for Infectious Disease Genomics and One Health (CIDGOH), at Simon Fraser University, is now an open-source collaboration with contributions from the National Microbiome Data Collaborative (NMDC), the LinkML development team, and others.
MIT License
94 stars 27 forks source link

Date unit functionality #138

Closed ddooley closed 3 years ago

ddooley commented 3 years ago

This extension allows any two consecutive fields, a [xs:date] followed by a [select] field which supplies units of "year", "month", or "day", to work together to convert the date entry to a yyyy-mm-dd (day) or yyyy-mm-01 (month) or yyyy-01-01 (year) entry. Effectively binning dates at the given resolution.