digital-science / dimcli

Python client and CLI for scientometrics and research analytics using the Dimensions API.
https://digital-science.github.io/dimcli/getting-started.html
MIT License
43 stars 6 forks source link

Add method to fill in missing values #32

Closed lambdamusic closed 4 years ago

lambdamusic commented 5 years ago

So that JSON is more regular and dataviz tools can handle it better.

fill missing vslues for all columns.png

lambdamusic commented 5 years ago

Maybe it can also be reused in a wrapper for pandas json_normalize - if you pass a key, first it ensures that the key is always present in all records..

lambdamusic commented 4 years ago

https://github.com/lambdamusic/dimcli/releases/tag/v0.5.4

utils.normalize_key()