Your collaborators and future you will thank you:
Easier to jump into someone else’s project
Easier to share code
Feel more confident about your results
Which script did I run to import the data?
If I update the data, how do I re-run the processing?
Which script do I tweak to make an adjustment?
Where did I get the data from in the first place?
Jump into our Google Doc whiteboard.
Use common folder names to put things in a consistent place
Never overwrite your source data
Document your process with code or words
If you have multiple scripts, use 00_
, 01_
, etc. to indicate the order they should run.
Project Template Starter
Create a new project and use it to complete the following task.
Data Request: The PI would like to know the number of injections by drug that each patient received for injections given starting in 2010.
Use the data from our Excel sheets of diagnsoses and therapies.
https://git.io/fpez6
Import Data Starter Script
MRN | CHEMOCAT | n |
---|---|---|
161623 | BELIMUMAB | 2 |
105705 | LEUCOVORIN | 1 |
106355 | ABARELIX | 1 |
133111 | CARFILZOMIB | 1 |
161623 | ALEMTUZUMAB | 1 |