Skip to content

martynb-ccf/r_med_redcap_2023_public

 
 

Repository files navigation

Using REDCap and R to Rapidly Produce Biomedical Publications

These are slides notes for a workshop presented June 5th, 2023 at R Medicine 2023

Authors:

  • Raymond R. Balise, Belén Hervera, Daniel Maya, Anna Calderon, & Tyler Bartholomew, Univ. of Miami Miller School of Medicine
  • Stephan Kadauke, Children's Hospital of Philadelphia
  • João Pedro Carmezim Correia, IGTP
  • Will Beasley, Univ. of Oklahoma Health Sciences Center

The slides are saved as PDFs. You can browse the slides on GitHub using the links below.

Topic PDF
Introduction 01_introduction.pdf
IDEA (needle exchange) example and tidyREDCap 02_examples.pdf
REDCapDM slides REDCapDM_presentation.pdf
REDCapTidieR slides REDCapTidieR_slides.pdf
REDCapR slides write-to-server.pdf

If you would like to download a copy of the slides click the Download raw file button:

Accessing the Simulated Data

To use tidyREDCap with this project add this line to your .Renvion file:

IDEA_R_Medicine_2023_Public = "C94575BEF917A428CD9E92E5E99F0A5B"

Knitting the Slides

The slides are produced using R Markdown with Xaringan other add-on packages. If you don't have the emo package you need to get it. You will need to build emo. That code requires RTools for Windows or Xcode for Mac (it is in the Mac App Store) to be installed on your computer. After adding RTools or XCode run these three lines:

if (!requireNamespace("devtools")) install.packages("devtools")
if (!requireNamespace("remotes")) install.packages("remotes")
remotes::install_github("hadley/emo", quiet = TRUE)

Add a folder data to the project directory.

After that you will need to pull the data one time. To do that, find the two code chunks that contain # run me once and run those two code chunks.

The Video

Coming Soon

In the live class Ray mentioned his keyboard shortcuts. They are described on a post on his Derailment blog. You can read about and download his R, R Markdown and Quarto snippets from the post called Using RStudio Code Snippets Including Quarto.


Creative Commons License
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License

About

session info

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CSS 99.4%
  • Other 0.6%