We need to update the Target class's fields to support the new visualization as documented in Zoltar CovidHub Visualization Integration. New field values for current targets are shown here. Summary:
Target.name: NO CHANGE
Target.type: NO CHANGE
Target.is_step_ahead: NO CHANGE
Target.unit: RENAME to outcome_variable: Human-readable string naming the target variable, e.g. "Incident cases".
Target.step_ahead_increment: RENAME to numeric_horizon: Integer number of steps in the units of this target, e.g., 1.
Target.reference_date_type: NEW: Indicates which algorithm (hard-coded) should be used to calculate reference_dates and target_end_dates (see the f() function above). Limited to a fixed set of choices, initially “DAY”, various “WEEK” ones (e.g., for covidhub: "WEEK_REFERENCE_SATURDAY_LAST_TIMEZERO_MONDAY"), "BIWEEK", "MONTH", etc.
We need to update the
Target
class's fields to support the new visualization as documented in Zoltar CovidHub Visualization Integration. New field values for current targets are shown here. Summary:outcome_variable
: Human-readable string naming the target variable, e.g. "Incident cases".numeric_horizon
: Integer number of steps in the units of this target, e.g., 1.