Code to Replicate Analsis for: "And, not Or: Quantity, Quality in Scientific Publishing"
Matthew J. Michalska-Smith and Stefano Allesina
A python script for extracting publication records associated with Scopus IDs is
Code_Analysis/Retrieve_papers.py. This Script requires only a
;-delimited file containing columns labeled 'scopus1', 'scopus2', and 'scopus3'
containing the (up to three) synonymous Scopus IDs affiliated with each author
to be included in the analysis, and a Scopus API Key. The latter can be obtained
This script will produce a series of files (one for each author) in the
folder to be utilized in the further analysis. Each of these files will be a
;-delimited file with the header:
In order to facilitate replication, we also provide the actual data used in our
analysis with the author and paper identifiers anonymized. These files have six
digit codes replacing the ScopusIDs of the authors and the PaperIDs of each of
their publications and do not include journal information, but are otherwise
identical to the output of
Basic Pairwise Analysis
This part of the analysis involves running the script
in the folder
Code_Analysis. There are several global parameters set at the
beginning of the file:
|INTERVAL_START||1980||earliest year to consider publications from|
|INTERVAL_END||2006||latest year to consider publications from|
|MINPAPERS||20||the minimum number of publications an author must have within the interval to be included|
|QUALITY_TRANS||"log"||the transformation (if any) to perform on citations to make them a quality metric|
This will produce a data file located at
to be used in the figure generation scripts.
Figure and Table generation
Figures and tables associated with the analysis can be found in the
folder. These two scripts
KStestPlot.Rmd plot the density
distributions of the concordance values and statistical comparisons between the
distributions, respectively. The latter also produces the tables found in the text.