All Projects → digital-science → dimcli

digital-science / dimcli

Licence: MIT license
Python client and CLI for scientometrics and research analytics using the Dimensions API.

Programming Languages

Jupyter Notebook
11667 projects
python
139335 projects - #7 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to dimcli

dimensions-api-lab
Research data analytics tutorials using the Dimensions Analytics API
Stars: ✭ 68 (+112.5%)
Mutual labels:  dimensions, scientometrics, research-analytics
fastimage
Find the type or size of an image
Stars: ✭ 31 (-3.12%)
Mutual labels:  dimensions
morton-nd
A header-only compile-time Morton encoding / decoding library for N dimensions.
Stars: ✭ 78 (+143.75%)
Mutual labels:  dimensions
LD-Connect
LD Connect is a Linked Data portal for IOS Press in collaboration with the STKO Lab at UC Santa Barbara.
Stars: ✭ 0 (-100%)
Mutual labels:  scientometrics
Image Size
Node module for detecting image dimensions
Stars: ✭ 1,539 (+4709.38%)
Mutual labels:  dimensions
term size-rs
Functions for determining terminal sizes in Rust
Stars: ✭ 41 (+28.13%)
Mutual labels:  dimensions
react-native-dimension
A React Native Dimension for Responsive Layout
Stars: ✭ 31 (-3.12%)
Mutual labels:  dimensions
Randomly-Adding-Anything
No description or website provided.
Stars: ✭ 42 (+31.25%)
Mutual labels:  dimensions
InlineDimens
Android dimension types as inline classes with easy conversions.
Stars: ✭ 54 (+68.75%)
Mutual labels:  dimensions
openeditors
Webscraping data about editors of scientific journals.
Stars: ✭ 31 (-3.12%)
Mutual labels:  scientometrics
scholia
Wikidata-based scholarly profiles
Stars: ✭ 166 (+418.75%)
Mutual labels:  scientometrics
citation-function
Measuring the Evolution of a Scientific Field through Citation Frames
Stars: ✭ 40 (+25%)
Mutual labels:  scientometrics

Dimcli

Dimcli is a Python client for accessing the Dimensions Analytics API. It makes it easier to authenticate against the API, send queries to it and process the JSON data being returned.

>>> import dimcli

>>> dimcli.login(key="private-key-here",  
                 endpoint="https://app.dimensions.ai/api/dsl/v2")
               
>>> dsl = dimcli.Dsl()

>>> res = dsl.query("""search grants for "malaria" return researchers""")

>>> print(res.json)
{'researchers': [{'id': 'ur.01332073522.49',
   'count': 75,
   'last_name': 'White',
   'first_name': 'Nicholas J'},
  {'id': 'ur.01343654360.43',
   'count': 59,
   'last_name': 'Marsh',
   'first_name': 'Kevin'},
  .............
  ],
 '_stats': {'total_count': 8735}}

CLI

Dimcli includes also a command line interface (CLI) that aims at simplifying the process of learning the grammar of the Dimensions Search Language (DSL).

dimcli_animation

Jupyter

Dimcli plays nice with Jupyter notebooks too. It comes with various magic commands for querying the API, transforming JSON data into dataframes and turning them into interactive tables with hyperlinks - so that data can be inspected further on external websites.

dimcli_animation_jupyter

More info

For more information see the Getting Started with Dimcli tutorial.

Current version: see pypi homepage. Source code hosted on github.

Downloads

Comments, bug reports

Dimcli lives on Github. You can file issues or pull requests there. Suggestions, pull requests and improvements welcome!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].