coderxio / medication-diversification

More realistic synthetic medication data.
Other
12 stars 3 forks source link

Sort help text distributions from highest to lowest #98

Open jrlegrand opened 2 years ago

jrlegrand commented 2 years ago

Proposal

Sort distributions in the comments of the JSON and log from highest to lowest for ease of reading

Rationale

Easier to read and understand at a glance.

Example, this should be sorted from high to low (54.1% at top, 6.3% at bottom).

MEDICATION INGREDIENT TABLE TRANSITION

Ingredients in lookup table:

[ % pop ] Name

  1. [ 6.3% ] Beclomethasone
  2. [ 27.8% ] Budesonide
  3. [ 54.1% ] Fluticasone
  4. [ 11.8% ] Mometasone