openclimatedata / unfccc-detailed-data-by-party

UNFCCC Emissions data from the Detailed Data By Party interface
7 stars 4 forks source link

Numerical accuracy #11

Open rgieseke opened 4 years ago

rgieseke commented 4 years ago

Robbie Andrew pointed out that direct CSV downloads from the interface have fewer digits than the one provided in this dataset.

This is due to the raw original JSON data having these extra digits, e.g.

"data":[{"id":3,"name":"Australia","rows":[{"id":8787,"name":"2.A.1  Cement Production","unitId":5,"cells":[{"column":0,"numberValue":3462.87171200000010},

https://github.com/JGuetschow/unfccc-detailed-data-by-party/blob/master/archive/annex-one/2.A%20Mineral%20Industry___2.A.1%20Cement%20Production___CO%E2%82%82.json

Should maybe rounded as in the downloadable CSVs.

cc @JGuetschow

rgieseke commented 4 years ago

Apparently confusion came from looking at the JSON files, maybe add explanation about archive and data dir more prominently to the Readme -- or move CSVs to root of directory.

Still confusing why they get rounded down in the process.