2DegreesInvesting / tiltIndicator

Implement the core business logic of the tilt indicators
https://2degreesinvesting.github.io/tiltIndicator/
GNU General Public License v3.0
1 stars 1 forks source link

Remove padding from `emissions_profile_any_at_product_level()`? #635

Closed maurolepore closed 11 months ago

maurolepore commented 11 months ago

Since v0.0.0.9107 the column *isic_4digit can now have values of any length. However emissions_profile_any_at_product_level() still calls sanitize_co2(), which padas isic* to 4 characters. Investigate and make sure there is a test.

maurolepore commented 11 months ago

It turns out that titlIndicator doesn't use *isic* in any way to it does not pad it.