Skip to content

Display metadata about metrics #100

@vingkan

Description

@vingkan

The list of metrics available to frontend features are defined in app/site/metrics.js. Currently, the metric config objects contain these fields:

  rideshare_pickups_covid: {
    name: "Rideshare Pickups Since March 2020",
    units: "trips",
    format: Formatter.numberInMillions,
    fullFormat: Formatter.numberWithCommas,
  },

In order to responsibly display data on our website, we are missing some important information:

  • Source of the data
  • Description of the metric
  • Methodological information, like sample size or other information needed to interpret the metric

We could add this information to each config object as new fields, or within a field called metadata. Any other ideas for how to design this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    appWork for frontend appenhancementNew feature or requestrefactorWork to refactor part of the codebase.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions