GithubHelp home page GithubHelp logo

03b8 / ads2gephi Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 2.0 84 KB

A command line tool for querying and modeling citation networks from the Astrophysical Data System (ADS) in a format compatible with Gephi

License: MIT License

Python 100.00%
gephi citation-network network-visualization bibliometric-analysis

ads2gephi's Introduction

PyPI version CI License: MIT

ads2gephi

is a command line tool for querying and modeling citation networks from the Astrophysical Data System (ADS) in a format compatible with Gephi, a popular network visualization tool. ads2gephi has been developed at the history of science department of TU Berlin as part of a research project on the history of extragalactic astronomy financed by the German Research Foundation DFG (PI Karin Pelte).

You can install ads2gephi from PyPI:

pip install ads2gephi

Usage

When using the tool for the first time to model a network, you will be prompted to enter your ADS API key. Your key will then be stored in a configuration file under ~/.ads2gephi.

In order to sample an initial citation network, you need to provide ads2gephi with a plain text file with bibcodes (ADS unique identifiers), one per line, as input. The queried network will be output in a SQLite database stored in the current directory:

ads2gephi -c bibcodes_example.txt -d my_fancy_netzwerk.db

Afterwards you can extend the queried network by providing the existing database file and using the additional sampling options. For example, you can extend the network by querying all the items cited in every publication previously queried:

ads2gephi -s ref -d my_fancy_netzwerk.db

Finally you might want to also generate the edges of the network. There are several options for generating edges. For example you can use a semantic similarity measure like bibliographic coupling or co-citation:

ads2gephi -e bibcp -d my_fancy_netzwerk.db

You can also do everything at once:

ads2gephi -c bibcodes_example.txt -s ref -e bibcp -d my_fancy_netzwerk.db

All other querying and modelling options are described in the help page:

ads2gephi --help

Once you've finished querying and modeling, the database file can be directly imported in Gephi for network visualization and analysis.

Special thanks to

  • Edwin Henneken

ads2gephi's People

Contributors

03b8 avatar ehenneken avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ads2gephi's Issues

Zotero import

As an alternative to the text file with bibcodes: Take a Zotero export file (CSV) as input, parse URL column for bibcodes (usually in ADS URL) and use those to sample the initial network.

Additional metadata

Add language, publication name and author affiliation to queried metadata.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.