rrrlw / retract-cardiac

Code to generate figure from https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2782170.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Temporal Trends, Characteristics, and Citations of Retracted Articles in Cardiovascular Medicine

Hits

Purpose

Share code that was used to generate the figure in the following open-access research letter:

Wadhwa RR, Rasendran C, Popovic Z, Nissen SE, Desai MY. Temporal Trends, Characteristics, and Citations of Retracted Articles in Cardiovascular Medicine. JAMA Network Open. 2021; 4(7): e2118263. doi: 10.1001/jamanetworkopen.2021.18263.

Link to article.

How to reproduce results

We do not have permission to share the underlying dataset (kindly shared by Retraction Watch). Thus, the code will not run unless you acquire the dataset from the Retraction Watch yourself. Keep in mind that to generate the same figure, you should filter out newer additions to the database.

To preserve the goal of reproducibility as best as we can, we have shared an R markdown document (boxplot.Rmd) that explicitly shows the code used to generate the single figure in the original article. Additionally, we have shared the HTML output of the R markdown document; if you download this HTML document (boxplot.html) and open it in a browser on your local machine, you can view the boxplot generated by the R markdown code.

Dependencies

If you are able to obtain the Retraction Watch dataset and would like to generate the figure with your (possibly newer/updated) copy of the dataset, you will need to install the R programming language on your computer along with the tidyverse, lubridate, and cowplot packages.

About

Code to generate figure from https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2782170.

License:MIT License


Languages

Language:HTML 100.0%