2. Data Work Flow
• Workflow of data analysis
• An organized, well-documented, step-by-step process from design to publica)on
• Basic steps:
• Data collec)on/organiza)on/cleaning
• Analyses
• Dissemina)on/publica)on
• Data/materials storage
• Facilitates “easy” replica)on
• Can use GitHub to track
changes to code in workflow
2016-10-17 | UC Berkeley
Alasdair Cohen | Lecture for Publich Health 250B
75
hkps://www.dezyre.com/ar)cle/data-analysis-workflow-with-r-packages/259
3. Data & Code
Organiza(on/Storage:
Recommenda(ons
• Use annotated text files for your code (or similar for other programs)
• Both for self, colleagues, and replica)on
• For example
• Do Files in Stata
• R Markdown
• GitHub (www.github.com)
• Transparently report & share your code
• Use for collabora)on & version control
• Can link to OSF
• Other )ps
• Use coding loops (vs copy-paste)
• Use func)ons/variables for constants (in case need to change later)
• Ideally, once finish analysis, have a colleague run analysis using different sojware
2016-10-17 | UC Berkeley
Alasdair Cohen | Lecture for Publich Health 250B
76
4. Cita(on Management
• Many op)ons…
• Pros & Cons
• Cost (one )me, annual?)
• Offline or online?
• Compatability
• Flexiblity (eg, for SRs)
• Also, new-ish: PaperPile (useful for online collabora)ons, poten)al SR issue)
2016-10-17 | UC Berkeley
Alasdair Cohen | Lecture for Publich Health 250B
77
hkp://guides.library.upenn.edu/cita)onmgmt
5. Ethics & IRB Process
• Commiaee for ProtecNon of Human Subjects (CPHS)
• UC Berkeley’s InsNtuNonal Review Board (IRB) [actually two of them]
2016-10-17 | UC Berkeley
Alasdair Cohen | Lecture for Publich Health 250B
78
hkp://cphs.berkeley.edu/about.html
“The primary mission of the IRB is to ensure the protec)on of the rights and welfare of all human
par)cipants in research conducted by university faculty, staff and students.”
hkp://cphs.berkeley.edu/about.html