Klimatbyran / garbo

1 stars 5 forks source link

`GET /companies` returns `company.wikidata.emissions` as an array. Should be normalized to align with the format for `company.emissions` #168

Open Greenheart opened 2 weeks ago

Greenheart commented 2 weeks ago

Ideally, we should keep company.wikidata.emissions in sync with company.emissions as much as possible. In other words, either make both fields arrays or objects with a key/val structure. Important to keep this as consistent and simple as possible to ensure verified data displays correctly.

This inconsistency also applies for company.facit which is also an object.