-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
The "Preview data", "Plot data", and "Export data" functionality on the individual signal pages work well for data with a time_type
of "day
", but not for signals that have a "week
" type...
-
for "preview data" and "export data" modes,
startDate
andendDate
should be converted to a corresponding EpiWeek value (with formatYYYYWW
, like "200051" for the 51st week of the year 2000)delphi_utils
uses theepiweeks
package for this
-
for "plot data" mode, this should use "day" or "week" as appropriate for the signal:
var urlParamsEncoded = btoa(`{"datasets":[{"color":"#415742","title":"value","params":{"_endpoint":"covidcast","data_source":"${dataSource}","signal":"${dataSignal}","time_type":"day","geo_type":"${geographicType}","geo_value":"${geographicValue}"}}]}`); var timeType = document.getElementById('time_type').value;
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working