You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In ETL, we sometimes work with time series with dates (not years). However, Grapher uses 'number of days since zeroDay' under the hood, and is not able to select dates in the Timeline selection.
Proposed solution
It'd be nice if we could render a date selector there. Or support date-like strings.
Context
For Grapher to support date format, we have been using a hack:
Before adding indicator data with dates to Grapher, convert to 'a number of days passed since [day of reference].'
This conversion was done manually by computing DATE_REFERENCE - date in days. Then, we filled the metadata fields yearIsDay=True and zeroDay=DATE_REFERENCE.
Core problem
In ETL, we sometimes work with time series with dates (not years). However, Grapher uses 'number of days since zeroDay' under the hood, and is not able to select dates in the Timeline selection.
Proposed solution
It'd be nice if we could render a date selector there. Or support date-like strings.
Context
For Grapher to support date format, we have been using a hack:
DATE_REFERENCE - date
in days. Then, we filled the metadata fieldsyearIsDay=True
andzeroDay=DATE_REFERENCE.
DATE_REFERENCE
, we are using the minimum date appearing in the time series. However, this field is exposed in ETL and hence can be changed by the user. So, we it could be any date.The text was updated successfully, but these errors were encountered: