Review our API implementation and leave only what is needed for us
Initially, when writing an openalex API client, I wanted to have a complete definition, so that later, in gargantext, we have freedom to pick fields that we want.
Maybe this wasn't the best idea -- turns out some fields still can be missing in openalex (or maybe they change their API specs from time to time) and this library throws parsing errors (which are usually easy to fix, by adding a Maybe
type to a key).
So let's fix this more: review what gargantext
needs currently and import only these fields in this library. Ignore the rest.