Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rrrlw/retract-cardiac

Code to generate figure from https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2782170.
https://github.com/rrrlw/retract-cardiac

cardiology cardiovascular-medicine medicine retractions

Last synced: about 9 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

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

[![Hits](https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Frrrlw%2Fretract-cardiac&count_bg=%2379C83D&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false)](https://github.com/rrrlw/retract-cardiac)

## 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](https://doi.org/10.1001/jamanetworkopen.2021.18263).

[Link to article](https://jamanetwork.com/journals/jamanetworkopen/fullarticle/2782170).

## How to reproduce results

We do not have permission to share the underlying dataset (kindly shared by [Retraction Watch](https://retractionwatch.com/)).
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](https://www.r-project.org/) on your computer along with the [`tidyverse`](https://CRAN.R-project.org/package=tidyverse), [`lubridate`](https://CRAN.R-project.org/package=lubridate), and [`cowplot`](https://CRAN.R-project.org/package=cowplot) packages.