clemente-lab / mmeds-meta

A database for storing and analyzing omics data
https://mmeds.org
2 stars 1 forks source link

Improved summaries: correct recognition of dates as continuous variables #422

Open adamcantor22 opened 1 year ago

adamcantor22 commented 1 year ago

Describe the bug In the context of summaries, continuous variables expressed as dates end up being expressed as though they are discrete variables. This is obviously not what we want, and also further exacerbates the lack of clarity from #404. Here's an example of this occurring within the Puerto Rico study: Screenshot from 2022-07-26 12-11-14

Solution Discover why this is happening, check other versions of date metadata to see if this is an issue that can be reproduced on other datasets. Fix as part of the improved summaries meta-issue #322

cleme commented 1 year ago

We'd need to have a date/time variable type that captures precisely that. When generating summaries, this should be considered as a (semi)continuous variable so that we get the appropriate color grading.