Create a co-citation graph from a list of papers
Project description
Co-citation graph generator
Generate a co-citation graph from an article list in two steps:
- Get the references of each article and their corresponding journals
- 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.5.tar.gz
(20.7 kB
view details)
Built Distribution
co_citation-0.5-py3-none-any.whl
(18.9 kB
view details)
File details
Details for the file co-citation-0.5.tar.gz
.
File metadata
- Download URL: co-citation-0.5.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd0acf46d6311b8210e6ef7818229e389345a8fd29038b677399187a072cdce9 |
|
MD5 | 8f7c736d41b244b645b6f3afeeaa6237 |
|
BLAKE2b-256 | 65aca04b3a144f6211e2f62cd8fd43e4fffd4a69c90840b46b2786ce3790270b |
File details
Details for the file co_citation-0.5-py3-none-any.whl
.
File metadata
- Download URL: co_citation-0.5-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6522f0529a106355b538f1b4447af413abf12d6c9a2bf4834b441de5dd103da2 |
|
MD5 | 205e39be7fd9946e268dc719a729e84a |
|
BLAKE2b-256 | 1306975b7c685018a2b6e575ca177558004d5cca148ea6a48d9d7f9ebcbb281c |