Skip to content
KIHeartFailurePublic

About

R code for the data managment and statistical analyses for Use of Sodium-Glucose Co-transporter 2 Inhibitors in Patients with Heart Failure and Type 2 Diabetes Mellitus: Data from the Swedish Heart Failure Registry

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

R code for the project Use of the inhibitors of sodium-glucose cotransporter 2 in patients with heart failure and type 2 diabetes mellitus

The aim of this R code is to be transparant and document the data handling and statistical analyses performed for the project.

Language

English.

Data

The data consists of Swedish individual patient data and is not public, and therefore no data is stored in this repository.

Instructions

The project uses the R package projectTemplate, http://projecttemplate.net/ and is structured (and run) accordingly. Renv, https://rstudio.github.io/renv/articles/renv.html, is used for management of package dependencies.

Since the data is not available the code can not be run as is.

Workflow:

  1. Run src/load_munge_cache.R or set loading and munging options in ProjectTemplate::reload.project() to TRUE in reports/Statistical_report_XX.Rmd

  2. Knit reports/Statistical_report_XX.Rmd

Publication

https://onlinelibrary.wiley.com/doi/10.1002/ejhf.2131

About

R code for the data managment and statistical analyses for Use of Sodium-Glucose Co-transporter 2 Inhibitors in Patients with Heart Failure and Type 2 Diabetes Mellitus: Data from the Swedish Heart Failure Registry

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages