Skip to content

open-sci/2020-2021-the-leftovers-20-code

Repository files navigation

Investigating Missing Citations in COCI and the Publishers Involved

In this repository you can find all the code used for our course project for the Open Science course in the academic year 2020-2021. The main purpose of this project has been to extract the publishers involved in providing invalid citation data to Crossref and the publishers whose articles receive such invalid citations. We have used a dataset created by the creators of COCI while extracting data from Crossref.

You can read a more in-depth description of our project in the related article and see our results visualized in our Github Pages website. The final output resulted from executing this code on our source dataset can be found here.

How to Run the Code

In order to avoid errors, make sure you have a version of Python 3 installed and have the lxml package on it. Here's the command that runs the code:

$ python invalid_dois.py <input_csv_address> <output_json_address> <checkpoint_threshold>

The first argument is the address to the CSV dataset you want to investigate and the second argument is the address to the desired output JSON file. Both must include the extension. The third argument represents the number of lines to read from the input file before saving the results to the cache files. You can stop the execution at any time and rerun it at a later time without losing the data processed up to that point thanks to the cache files created during the process.

Hardware Configuration

The entire execution of the code took place on a computer with the following relevant hardware specifications:

  • CPU: Intel Core i7
  • RAM: 8.00 GB
  • Storage: 2 TB HDD

See Also