Skip to content

Commit 5061a65

Browse files
committed
two new images
1 parent 7c21dd7 commit 5061a65

File tree

6 files changed

+140
-145
lines changed

6 files changed

+140
-145
lines changed

docs/slides/index.html

Lines changed: 38 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,12 +62,14 @@
6262

6363
Use Git to manage version control
6464

65-
Pull • Commit • Push • Branch • Merge • Revert
65+
Add • Commit • Branch • Merge • Revert
66+
67+
(Pull • Push • Clone • Fork • Collaborate)
6668

6769
---
6870
class: middle, center
6971

70-
## Reproducible Research (Literate Code)
72+
## Reproducible Research<br>(Literate Code)
7173

7274
## Collaborative
7375

@@ -80,7 +82,7 @@
8082

8183
- **Reproducibility** is a Top Priority
8284

83-
- Seamless operation with Markdown
85+
- Seamless operation with [Markdown](https://rmarkdown.rstudio.com/)
8486

8587
- **Git for Version Control**
8688

@@ -136,6 +138,7 @@
136138

137139
RStudio will manage the most commonly used Git commands
138140
---
141+
exclude: true
139142
class: middle, center
140143

141144
## Version Control
@@ -168,7 +171,7 @@
168171

169172
5. Integrate Excel Table into **Word > PDF**
170173
---
171-
174+
exclude: true
172175
## Outline
173176

174177
.pull-left[1. Git
@@ -223,6 +226,8 @@
223226

224227
- Track changes in any file set
225228

229+
- Add • Commit • Branch • Merge • Revert
230+
226231
]
227232

228233
.pull-right[
@@ -247,6 +252,7 @@
247252

248253

249254
---
255+
exclude: true
250256
class: center, middle, softblue
251257

252258
## Social **git Repositories**
@@ -262,7 +268,7 @@
262268
- even if you are only **sharing with yourself**
263269

264270
---
265-
271+
exclude: true
266272
.pull-left[
267273
<figure><img src="images/The_Bookworm_-_Grohmann_Museum.jpg"><figcaption> Image Credit: Der Bücherwurm (The Bookworm) by Carl Spitzweg <br><a href="https://commons.wikimedia.org/wiki/File:The_Bookworm_-_Grohmann_Museum.jpg">Wikimedia Commons</a></figcaption></figure>
268274
]
@@ -288,6 +294,7 @@
288294
Library ~= Repository
289295

290296
---
297+
exclude: true
291298
class: bottom
292299
background-image: url(images/Edit-a-thon_lrg.jpg)
293300

@@ -355,6 +362,7 @@
355362
Effective collaboration extends the diversity of input and feedback available to you.
356363

357364
---
365+
exclude: true
358366
class: center
359367
.pull-left[ ![](images/gitlab.png) ]
360368
.pull-right[ ![](images/github.png) ]
@@ -371,6 +379,7 @@
371379

372380

373381
---
382+
exclude: true
374383
class: green, middle, center
375384

376385

@@ -394,17 +403,19 @@
394403

395404

396405
---
406+
exclude: true
397407
## Duke's GitLab v Public Hubs
398408

399409

400410

401411

402-
<div id="htmlwidget-ddc602756d762c8a7951" style="width:100%;height:auto;" class="datatables html-widget"></div>
403-
<script type="application/json" data-for="htmlwidget-ddc602756d762c8a7951">{"x":{"filter":"none","data":[["Private Repo","Public Repo","Duke NetId","User Community"],["by Default","Yes","Yes","Duke University -- &lt;br&gt;can syncronize &lt;br&gt;to public hubs"],["$$ @ GitHub","by Default","No","Largest Available"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th>Category<\/th>\n <th>Duke's GitLab<\/th>\n <th>Public Hubs<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"t","order":[],"autoWidth":false,"orderClasses":false,"rowCallback":"function(row, data) {\nvar value=data[2]; $(this.api().cell(row, 2).node()).css({'background-color':'lightblue'});\nvar value=data[1]; $(this.api().cell(row, 1).node()).css({'font-weight':'bold','color':'silver','background-color':'navy'});\n}"}},"evals":["options.rowCallback"],"jsHooks":[]}</script>
412+
<div id="htmlwidget-a6d0766a8c6ec4c7ab15" style="width:100%;height:auto;" class="datatables html-widget"></div>
413+
<script type="application/json" data-for="htmlwidget-a6d0766a8c6ec4c7ab15">{"x":{"filter":"none","data":[["Private Repo","Public Repo","Duke NetId","User Community"],["by Default","Yes","Yes","Duke University -- &lt;br&gt;can syncronize &lt;br&gt;to public hubs"],["$$ @ GitHub","by Default","No","Largest Available"]],"container":"<table class=\"display\">\n <thead>\n <tr>\n <th>Category<\/th>\n <th>Duke's GitLab<\/th>\n <th>Public Hubs<\/th>\n <\/tr>\n <\/thead>\n<\/table>","options":{"dom":"t","order":[],"autoWidth":false,"orderClasses":false,"rowCallback":"function(row, data) {\nvar value=data[2]; $(this.api().cell(row, 2).node()).css({'background-color':'lightblue'});\nvar value=data[1]; $(this.api().cell(row, 1).node()).css({'font-weight':'bold','color':'silver','background-color':'navy'});\n}"}},"evals":["options.rowCallback"],"jsHooks":[]}</script>
404414

405415
Public Hubs are defined as GitHub, BitBucket, and the public GitLab.
406416

407417
---
418+
exclude: true
408419
class: softblue, middle, center
409420

410421
## Markdown
@@ -415,7 +426,15 @@
415426

416427
Turn scripts into reproducible reports
417428

429+
430+
---
431+
class: softblue, middle, center
432+
433+
## Markdown
434+
418435
---
436+
437+
419438
class: bottom
420439
background-image: url(images/rmarkdown.png)
421440

@@ -483,6 +502,7 @@
483502
]
484503

485504
---
505+
exclude: true
486506
class: orange, middle, center
487507

488508
## **Literate Code**
@@ -503,6 +523,7 @@
503523

504524

505525
---
526+
exclude: true
506527
class: softblue, middle, center
507528

508529
## RStudio &amp; Git
@@ -515,7 +536,7 @@
515536
- Version Control, via Git, orchestrated by RStudio
516537

517538
---
518-
539+
exclude: true
519540
## Orchestrating with RStudio
520541

521542
- Masks the CLI
@@ -538,6 +559,14 @@
538559
slide: 8, (9), 27
539560

540561
---
562+
class: middle, center
563+
564+
## Hands-on
565+
566+
[Excercise](../handson.html)
567+
568+
---
569+
exclude: true
541570
class: orange
542571
## R/RStudio
543572

@@ -559,6 +588,7 @@
559588
## Why R
560589

561590
---
591+
exclude: true
562592
class: orange
563593
## Reproducibility
564594

docs/slides/libs/remark-css-0.0.1/example.css

Lines changed: 0 additions & 83 deletions
This file was deleted.

slides/images/git_add_commit.png

57.9 KB
Loading

slides/images/git_push_pull.png

1.81 KB
Loading

slides/index.Rmd

Lines changed: 50 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,19 @@ class: middle
8383
- Alternative: GitKracken (if you have the [GitHub Student](https://education.github.com/pack) Pack)
8484
- Alternative: [SourceTree](https://www.sourcetreeapp.com/) (defaults with [BitBucket](https://bitbucket.org/))
8585

86+
---
87+
class: middle
88+
89+
# Part 2: Social Coding
90+
91+
- GitHub (especially with Student Pack)
92+
- GitLab (OIT instance)
93+
- Bitbucket.org or GitLab.com
8694

87-
- **Social Coding**
95+
---
96+
class: middle, center, softblue
8897

89-
- GitHub (especially with Student Pack)
90-
- GitLab (OIT instance)
91-
- Bitbucket.org or GitLab.com
98+
# Reproducibility
9299

93100
---
94101
class: middle
@@ -117,6 +124,38 @@ The most basic aspect of **reproducible research** is that **everything you do**
117124

118125
Goal: Compose a Reproducible Document **in RStudio**
119126

127+
---
128+
class: middle, center
129+
130+
Avoid
131+
132+
## Idiosyncratic Critical Steps
133+
134+
so your processes **are not** reduced to
135+
136+
## Weird Bits of Undocumented Manual Magic
137+
138+
???
139+
140+
For Example...
141+
142+
1. Create Summary **Table in STATA**
143+
144+
2. **Copy** Table to MS **Excel**
145+
146+
3. **Format Table** for readability in Excel
147+
148+
4. Generate **Visualizations** in Excel
149+
150+
5. Integrate Excel Table into **Word > PDF**
151+
152+
153+
---
154+
class: middle, center, softblue
155+
156+
# Version Control
157+
158+
120159
---
121160
class: middle, center
122161

@@ -135,30 +174,20 @@ class: middle, center
135174
![](images/git_workflow_adv.png)
136175
???
137176
Collaboration adds complexity the but the basic git commands are the same.
138-
---
139-
class: middle, center
140-
141-
Avoid
142-
143-
## Idiosyncratic Critical Steps
144-
145-
so your processes **are not** reduced to
146-
147-
## Weird Bits of Undocumented Manual Magic
148177

149-
???
150178

151-
For Example...
179+
---
180+
class: middle, center
152181

153-
1. Create Summary **Table in STATA**
182+
![](images/git_push_pull.png)
154183

155-
2. **Copy** Table to MS **Excel**
156184

157-
3. **Format Table** for readability in Excel
185+
---
186+
class: middle, center
187+
background-size: contain
158188

159-
4. Generate **Visualizations** in Excel
189+
![](images/git_add_commit.png)
160190

161-
5. Integrate Excel Table into **Word > PDF**
162191
---
163192
exclude: true
164193
## Outline
@@ -235,11 +264,6 @@ By this I simply mean **version control on a personal level**. Once can "branch
235264

236265
**Git** can be used to **track any files**.
237266

238-
---
239-
class: bottom, right
240-
background-image: url(images/git_push_pull.png)
241-
242-
243267
---
244268
exclude: true
245269
class: center, middle, softblue

0 commit comments

Comments
 (0)