Skip to content

Instantly share code, notes, and snippets.

View spgarbet's full-sized avatar

Shawn Garbett spgarbet

View GitHub Profile
@spgarbet
spgarbet / exportBulkRecords.R
Last active May 4, 2023 14:53
exportBulkRecords example interface
unlockREDCap(c(test_conn = 'TestRedcapAPI',
sandbox_conn = 'SandboxAPI'),
keyring = 'MyKeyring',
envir = globalenv(),
url = 'https://<REDCAP_URL>/api/')
# After user interaction to unlock the local encrypted keyring
# the global environment will contain the REDCap connections
# `test_conn` and `sandbox_conn`
#
@spgarbet
spgarbet / gist:753957472ad49f5de2e1a3d50f42a253
Created February 23, 2017 18:18
Simple Delay Model (Genomic abstract medical events)
################################################
# Packages Required
# Pkg.add("DifferentialEquations")
# Pkg.add("DataFrames")
# Pkg.add("Dierckx")
# Pkg.add("Plots")
# From: Christopher Rackauckas
# If the problem was stiff, I think the best option right now is the algorithm