Science Score: 44.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (3.3%) to scientific vocabulary
Last synced: 9 months ago · JSON representation ·

Repository

Basic Info
  • Host: GitHub
  • Owner: agolder3
  • Language: Python
  • Default Branch: main
  • Size: 0 Bytes
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created about 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme Citation

README.md

Repository to find citations of works

Install jq (Example : Ubuntu):

sudo apt-get update sudo apt install dos2unix sudo apt-get install jq

Install doi2bib

sudo pip install doi2bib

Create Publication List and Get all citations

echo "<publication_name> , <DOI>" > publication_list.txt python3 generate_bib.py

Get citation info for a specific author:

python3 citations_by_author.py <author_name> > <author_name.txt>

Owner

  • Login: agolder3
  • Kind: user

Citation (citations_by_author.py)

import glob
import sys

author = sys.argv[1]

for filename in glob.glob("*.bib"):
    
    f     = open(filename, "r")
    lines = f.readlines()
    cited = False

    for line in lines:
        if author in line:
            cited = True
            break
    
    if cited:
        print("Cited Paper :", filename.strip(".bib").replace("-citations","").replace("_", " "))
        print("Citing Papers : ")
        i = 0    
        for line in lines:
            if author in line:
                line_contents = line.split(",")
                for j in range(len(line_contents)):
                    if "title" in line_contents[j] and not "booktitle" in line_contents[j]:
                        print(str(i + 1), line_contents[j].split("=")[1].strip("{").replace("}",""))
        
                i = i + 1

        print("\n")

GitHub Events

Total
  • Push event: 1
Last Year
  • Push event: 1