Datawheel / canon-stats

Reusable statistical and complexity calculations using NodeJS and Express
1 stars 1 forks source link

check pci values retuned by eci api #10

Closed ffigueroal closed 4 years ago

ffigueroal commented 4 years ago

I found a strange behavior in the calculations of the pci through the eci's endpoint that returns contrary values to those existing in the legacy tables.

i.e.

ECI endpoint results:

Disc Chemicals for Electronics (-2.15) Tin Foil (-2.11) Photo Lab Equipment (-2.11) Machinery Having Individual Functions (-2) Other Esters (-1.84)

Legacy results:

image

Probably will be necessary an specific endpoint to pci calculations or check the current eci endpoint.

cnavarreteliz commented 4 years ago

I created an endpoint called /pci for these purposes.