class: center, middle, inverse, title-slide # Methods With Others in Mind
.hl[
Cooperative Tools and Workflow
] ### Christopher R. Dishop
www.christopherdishop.com ### Slides and code:
github.com/Cdishop/methods_with_others
Template: Garrick Aden-Buie ‘Gentle-GGplot2’ --- class: inverse, center, middle # What I Study --- layout: false # What I Study .left-column[ ### .hl[Performance] ] -- .right-column[ <img src="images/performance.jpg" width="80%" height="80%" /> ] --- layout: false # What I Study .left-column[ ### .hl[Performance] ### .hl[Cooperation] ] .right-column[ <img src="images/climbing.jpg" width="100%" /> ] --- layout: false # What I Study .left-column[ ### .hl[Performance] ### .hl[Cooperation] ] <img src="images/science.jpg" width="75%" /> --- # Today --- # Today <img src="images/rubrics.png" width="100%" style="display: block; margin: auto;" /> --- # Today .left-column[ ### Data Management ### .font200.center[+] ### General Programming ### .font200.center[=] - Productive - Effective - Helpful ] -- .right-column[ - # Your collaborators] -- .right-column[ - # Your future self] -- .right-column[ # .hlb[Methods With Others in Mind]] --- class: inverse, center, middle # Your Future Self --- layout: false # Your Future Self - Understand -- ## Your Understanding <img src="index_files/figure-html/gplot-ex-1.png" width="50%" height="35%" style="display: block; margin: auto;" /> --- # Your Future Self - Understand ## Your Understanding <img src="index_files/figure-html/gplot2-ex-1.png" width="50%" height="35%" style="display: block; margin: auto;" /> --- # Your Future Self - Understand --- # Your Future Self - Understand .left-code[ ```r Performance ``` ] --- # Your Future Self - Understand .left-code[ ```r Performance <- simulate_random_walk() ``` ] --- # Your Future Self - Understand .left-code[ ```r Performance <- simulate_random_walk( time_steps = 55 ) ``` ] --- # Your Future Self - Understand .left-code[ ```r Performance <- simulate_random_walk( time_steps = 55 ) ``` ] .right-plot[ <img src="index_files/figure-html/aplotg-1.png" width="100%" /> ] --- # Your Future Self - Understand --- # Your Future Self - Understand ```r Performance[t] <- Performance[t-1] ``` --- # Your Future Self - Understand ```r Performance[t] <- Performance[t-1] + noise[t] ``` --- # Your Future Self - Understand ```r Performance[t] <- Performance[t-1] + rnorm(1, 0, 1) ``` --- # Your Future Self - Understand .font200.center[Compare] ```r simulate_process() ``` .font200.center[to] ```r variable[t] <- "specify process" ``` --- # Your Future Self - Understand ## .font200.center[.hlb["But I Don't Have Any Data"]] --- # Your Future Self - Speed --- # Your Future Self - Speed ![](images/dirty_df.gif) --- # Your Future Self - Speed ![](images/nice_data.png) --- # Your Future Self - Speed --- # Your Future Self - Speed ![](images/gross_data.png) --- # Your Future Self - Speed --- # Your Future Self - Speed .right-code[ ## cleaning_script.R ```r read_data("ugly_qualtrics_df.csv") select_columns() filter_rows() change_names() ``` ] -- .left-code[ ```r execute( "cleaning_script.R" ) ``` ] --- # Your Future Self - Speed <img src="images/clean_script.gif" width="70%" height="70%" style="display: block; margin: auto;" /> --- # Your Future Self - Clarity --- # Your Future Self - Clarity ### .font200.center[College Student Career Interests Project] <img src="images/folder_icon.jpg" width="60%" height="60%" style="display: block; margin: auto;" /> --- # Your Future Self - Clarity ### .font200.center[College Student Career Interests Project] <img src="images/project_ugly.png" width="70%" height="70%" style="display: block; margin: auto;" /> --- # Your Future Self - Clarity ### .font200.center[College Student Career Interests Project] <img src="images/project_clean.png" width="60%" height="60%" style="display: block; margin: auto;" /> --- # Your Future Self - Clarity <img src="images/gandrud.png" width="30%" height="30%" style="display: block; margin: auto;" /> .footnote[Christopher Gandrud, 2013. <https://www.amazon.com/Reproducible-Research-Studio-Chapman-Hall/dp/1466572841>] --- layout: false # Methods With Others In Mind - Your Future Self -- .font200.center[**Understand**] -- .font200.center[**Speed**] -- .font200.center[**Clarity**] --- class: inverse, center, middle # Your Collaborators --- <img src="images/network.gif" width="70%" height="70%" style="display: block; margin: auto;" /> --- # Your Collaborators - Execute --- # Your Collaborators - Execute <img src="images/usd.jpg" width="33%" /><img src="images/depaul.jpeg" width="33%" /><img src="images/australia.jpg" width="33%" /> -- <br> <br> .font200.center[Data] .font200.center[Code] --- # Your Collaborators - Execute -- .font200.center[.hlb[analysis.dat]] -- <br> <br> <br> <br> <br> ```r read_data("/Users/christopherdishop/Desktop/project/mplus_data.csv") # rest of the code... ``` --- # Your Collaborators - Execute <img src="images/employees.png" width="60%" height="60%" style="display: block; margin: auto;" /> <br> ```r read_data("/Users/christopherdishop/Desktop/project/mplus_data.csv") # rest of the code... ``` --- # Your Collaborators - Execute <img src="images/employees_bad.png" width="60%" height="60%" style="display: block; margin: auto;" /> <br> ```r read_data("/Users/christopherdishop/Desktop/project/mplus_data.csv") # rest of the code... ``` --- # Your Collaborators - Execute .font200.center[.hlb[analysis.dat]] <br> .font200.center[Not with others in mind...] ```r read_data("/Users/christopherdishop/Desktop/project/mplus_data.csv") ``` -- .font200.center[With others in mind...] ```r read_data("../data/mplus_data.csv") # rest of the code... ``` --- # Your Collaborators - Execute <img src="images/employees_good.png" width="60%" height="60%" style="display: block; margin: auto;" /> <br> ```r read_data("../data/mplus_data.csv") # rest of the code... ``` --- # Your Collaborators - Learn -- .left-column[ ![](images/word.png) ![](images/excel.png) ![](images/powerpoint.png) ] .img-right[![](images/spss.png)] ![](images/onenote.png) --- # Your Collaborators - Learn .font200.center[.hlb[Markdown!]] -- <img src="images/markdown.gif" width="70%" height="70%" style="display: block; margin: auto;" /> --- class: inverse, center, middle # Methods With Others in Mind --- # Methods With Others in Mind ## Data management and programming to cooperate with .hl[others]... -- .font200.center[.hlb[Your future self]] -- <br> <br> <br> .font200.center[.hlb[Your collaborators]] --- # Methods With Others in Mind ## Data management and programming to cooperate with .hl[others]... .font200.center[.hlb[Your future self]] .font120.center[Understand] .font120.center[Speed] .font120.center[Clarity] .font200.center[.hlb[Your collaborators]] .font120.center[Execute] .font120.center[Learn] --- # Methods With Others in Mind <img src="images/spec_small.png" width="30%" height="30%" style="display: block; margin: auto;" /> --- # Methods With Others in Mind <img src="images/universe.png" width="100%" height="100%" style="display: block; margin: auto;" /> --- class: inverse, center, middle # Thanks! <br> # Questions?