Skip to main content

Create a co-citation graph from a list of papers

Project description

Co-citation graph generator

REUSE status pipeline status PyPI version

Generate a co-citation graph from an article list in two steps:

  1. Get the references of each article and their corresponding journals
  2. Generate the co-citation pairs and add them the graph. The weights are the number of times the journals are co-cited.

Example

from co_citation import CoCitation

cites = CoCitation(
    [
        "https://arxiv.org/abs/1602.05112",
    ],
    data_type="journal", # or "article", "institution"
    wait=None # None or the time to wait between requests (in seconds)
    retries=None # None or the number of retries for HTTPS requests
)
cites.write_graph_edges("graph")
cites.plot_graph(display=False, k=10)

Documentation

See the documentation.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

co-citation-0.4.tar.gz (20.7 kB view details)

Uploaded Source

Built Distribution

co_citation-0.4-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file co-citation-0.4.tar.gz.

File metadata

  • Download URL: co-citation-0.4.tar.gz
  • Upload date:
  • Size: 20.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for co-citation-0.4.tar.gz
Algorithm Hash digest
SHA256 a732ce128943e246ba037ea50ef456e8421d56e05d4cc7e50763e6844268c424
MD5 cd9f33acb532b3af877e85383ff5d01d
BLAKE2b-256 d7b0cdabdf7acd9b5c974749b5297c73e1fbf1fe90a623fadf5c86ca77359e67

See more details on using hashes here.

File details

Details for the file co_citation-0.4-py3-none-any.whl.

File metadata

  • Download URL: co_citation-0.4-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

File hashes

Hashes for co_citation-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b3479eb8146b182e8714b2746ec96db39ec3de35983df7a8f073c3adb321d119
MD5 7a4f877100bd85ca2e6f5570e170ea54
BLAKE2b-256 23d493e777c08845154bbd124dad4efa1250e519520a7afc257b25ff518b213b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page