Skip to content

Download charts: facilitate access to data correction settings #2536

Description

@graphieros

Currently, data correction settings for the download charts are only accessible from the charts themselves:

  • chart modal (open from the button adjacent to the sparkline chart in the package page)
  • compare page

After some time, users might forget they had them modified, and might be surprised to see some differences in intermediary download values, compared to other sources (see #2510 or #3153 ) . The smoothing algorithm preserves the first and last values, but smoothens intermediate values). In this case, remembering where the inputs are located could become a challenge.

Proposed solution:

  • add a 'data correction' section in the settings page, and show a reset button, enabled if any correction was applied. It should reset default parameters to:
  chartFilter: {
    averageWindow: 0,
    smoothingTau: 0,
    anomaliesFixed: true,
    predictionPoints: 4,
  }
  • optional: add an explanation on where the data correction parameters are located, with a link to the downloads modal route.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions