dimcli
dimcli copied to clipboard
Python client and CLI for scientometrics and research analytics using the Dimensions API.
I am working on an interface for visualizing references and citations relations using the Dimensions API and have an edge case where I can not capture an expired login token....
Documentation link: https://api-lab.dimensions.ai/cookbooks/1-getting-started/3-Working-with-dataframes.html#The-Dimcli-Python-library:-Working-with-Pandas-Dataframes Using complex search queries yields the 'DSL to dataframe magic methods work only with `search` queries' error despite being applied to a stored search query. An example...
Rewrite tests so that they use https://docs.pytest.org/en/latest/ (also: `(object)` can be removed from classes)
Antrl one used by DSL, after the DSL grammar has been made available.
Similarly to https://github.com/catherinedevlin/ipython-sql/issues/120 eg by using a `:` prefixed keyword See also https://ipython.readthedocs.io/en/stable/config/custommagics.html#accessing-user-namespace-and-local-scope
``` %%dsldf search publications return in "facets" funders return in "facets" research_orgs ``` leads to ``` --------------------------------------------------------------------------- AssertionError Traceback (most recent call last) ~/Envs/jupyterlab/lib/python3.8/site-packages/pandas/core/internals/construction.py in _list_to_arrays(data, columns, coerce_float, dtype) 495...
This will also unblock https://github.com/digital-science/dimcli/issues/30
goal * get full list of taxonomies at Dimcli top level * see taxa levels * update dynamically?
![Screenshot 2019-06-17 at 12 14 44](https://user-images.githubusercontent.com/3493663/59600605-91453880-90f9-11e9-8a25-bd96c6a5cd04.png) Docs https://docs.dimensions.ai/dsl/language.html#sorting-results