Skip to content

Latest commit

 

History

History
55 lines (38 loc) · 4.62 KB

epionboard.md

File metadata and controls

55 lines (38 loc) · 4.62 KB

tiny.cc/epionboard

1. GitHub

Introduction to GitHub free short course

One platform to store data (with PHI caveats), track code changes and version control, share code and results, write equations and papers, publish websites, share data and results, do project management, provide/request tech support, clone other's research, and even more.

Version control examples

Demo code change
Demo data table change

2. Jupyter Notebooks

Examples

  1. Equations on how to calculate milligrams of morphine equivalents
  2. Dix Asylum historical ledger data cleaning and basic descriptives (HTML version)
  3. ICPE abstract: Do Early Prescribers Of New Drugs Have Different Risk Management Practices? ipynb | HTML
  4. Submitted manuscript on COVID social distancing using smartphone movement data

Pre-requisite: Python

While Jupyter runs code in many programming languages, Python is a requirement (Python 3.3 or greater, or Python 2.7) for installing the JupyterLab or the classic Jupyter Notebook. Download here

Download and install Jupyter

Install from a terminal window. Check the Installation Guide if you get stuck.

R and Python

You're good to go!

SAS

SAS installation overview and instructions
SAS remote server documentation. Step-by-step instructions. We have not yet tested this with the MarketScan data on the protected server, but if you're interested in exploring it, please let us know (nab@unc.edu).

Once you get the general hang of things, you can also configure Jupyter to connect to remote server SAS, allowing you to keep data in secure environments.

Stata

Standard installation uses the Stata kernel. But, if you want to run Python and Stata both in the same notebook, try the ipystata kernel.

Markdown

Markdown is a very simple syntax to help you generate text content without getting distracted by formatting. The text you generate is easily transferable to word processors and websites. Here's a cheat sheet.

MathJax for Equations

MathJax is a standardized syntax for generating equations that can be displayed in web browsers, text documents, etc. All the syntax is here. These will work in Jupyter Notebooks.

Alternative Notebook Platforms

Google Colaboratory is very easy if you are Python, and lets you run live code within the browser. R Markdown Notebook built into RStudio detailed guide Apache Zeppelin popular in cloud-based very big data settings using Spark, PostgreSQL, Angular, etc.

FAQ

What's the difference between JupyterLab versus Jupyter Notebook? Short answer: Go with JupyterLab because it is newer and easier to use, though a touch more complex to start with.

3. Containers

Containers are a key reproducibility tool. Here is a plain language Docker startup guide.