Skip to content

Commit

Permalink
finished day 1 case study
Browse files Browse the repository at this point in the history
  • Loading branch information
bradleyboehmke committed Jan 2, 2019
1 parent 93845dd commit d7d29ab
Show file tree
Hide file tree
Showing 70 changed files with 16,276 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ following is an outline of the material covered in this training:
| Lunch | 12:00 - 1:00 |
| [Workflow](https://uc-r.github.io/Intermediate-R/day-1d-workflow.html) | 1:00 - 2:30 |
| Break | 2:30 - 2:45 |
| Case study | 2:45 - 4:00 |
| [Case study](https://uc-r.github.io/Intermediate-R/day-1e-case-study.html) | 2:45 - 4:00 |
| Q\&A | 4:00 - 4:30 |

**Day 2**
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ training:
| Lunch | 12:00 - 1:00 |
| [Workflow](https://uc-r.github.io/Intermediate-R/day-1d-workflow.html) | 1:00 - 2:30 |
| Break | 2:30 - 2:45 |
| Case study | 2:45 - 4:00 |
| [Case study](https://uc-r.github.io/Intermediate-R/day-1e-case-study.html) | 2:45 - 4:00 |
| Q\&A | 4:00 - 4:30 |

**Day 2**
Expand Down
2 changes: 1 addition & 1 deletion docs/case-study/01-case-study-exercises.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ library(dplyr)

## Prerequisites

Download this folder and save it as "Intermediate-R-Case-Study-Day-1" (I know,
Download [this folder](http://bit.ly/2BTQ3gr) and save it as "Intermediate-R-Case-Study-Day-1" (I know,
I couldn't think of a longer name). This folder will contain a "data" subfolder
that contains all the data required for this case study and a .Rmd file with
the exercises.
Expand Down
9 changes: 5 additions & 4 deletions docs/case-study/01-case-study-exercises.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,11 @@ Day 1 Case Study Exercises

## Prerequisites

Download this folder and save it as “Intermediate-R-Case-Study-Day-1” (I
know, I couldn’t think of a longer name). This folder will contain a
“data” subfolder that contains all the data required for this case
study and a .Rmd file with the exercises.
Download [this folder](http://bit.ly/2BTQ3gr) and save it as
“Intermediate-R-Case-Study-Day-1” (I know, I couldn’t think of a
longer name). This folder will contain a “data” subfolder that contains
all the data required for this case study and a .Rmd file with the
exercises.

## Exercise 1

Expand Down
44 changes: 44 additions & 0 deletions docs/day-1e-case-study.Rmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
title: "Day 1 Case Study"
output:
xaringan::moon_reader:
css: ["scrollable.css", "mtheme_max.css", "fonts_mtheme_max.css"]
self_contained: false
lib_dir: libs
chakra: libs/remark-latest.min.js
nature:
ratio: '16:9'
highlightStyle: github
highlightLines: true
countIncrementalSlides: false
seal: false
---

```{r setup, include=FALSE, cache=FALSE}
# Set global R options
options(htmltools.dir.version = FALSE, servr.daemon = TRUE)
# Set global knitr chunk options
knitr::opts_chunk$set(
fig.align = "center"
)
```


# Case Study

<br><br><br><br><br><br>
.center.font200.bold[http://bit.ly/2F7lyal]

---

# Day 1...done `r anicon::faa("check", animate = "pulse", speed = "slow", colour = "red")`

<br>

```{r questions-end-of-day1, echo=FALSE, out.height="450", out.width="450"}
knitr::include_graphics("images/exhausted.png")
```



79 changes: 79 additions & 0 deletions docs/day-1e-case-study.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
<!DOCTYPE html>
<html>
<head>
<title>Day 1 Case Study</title>
<meta charset="utf-8">
<link href="libs/font-awesome-animation/font-awesome-animation-emi.css" rel="stylesheet" />
<script src="libs/fontawesome/js/fontawesome-all.min.js"></script>
<link rel="stylesheet" href="scrollable.css" type="text/css" />
<link rel="stylesheet" href="mtheme_max.css" type="text/css" />
<link rel="stylesheet" href="fonts_mtheme_max.css" type="text/css" />
</head>
<body>
<textarea id="source">





# Case Study

&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;
.center.font200.bold[http://bit.ly/2F7lyal]

---

# Day 1...done <span>&lt;i class="fas fa-check faa-pulse animated faa-slow " style=" color:red;"&gt;&lt;/i&gt;</span>

&lt;br&gt;

&lt;img src="images/exhausted.png" width="450" height="450" style="display: block; margin: auto;" /&gt;
</textarea>
<script src="libs/remark-latest.min.js"></script>
<script>var slideshow = remark.create({
"ratio": "16:9",
"highlightStyle": "github",
"highlightLines": true,
"countIncrementalSlides": false
});
if (window.HTMLWidgets) slideshow.on('afterShowSlide', function (slide) {
window.dispatchEvent(new Event('resize'));
});
(function() {
var d = document, s = d.createElement("style"), r = d.querySelector(".remark-slide-scaler");
if (!r) return;
s.type = "text/css"; s.innerHTML = "@page {size: " + r.style.width + " " + r.style.height +"; }";
d.head.appendChild(s);
})();</script>

<script>
(function() {
var i, text, code, codes = document.getElementsByTagName('code');
for (i = 0; i < codes.length;) {
code = codes[i];
if (code.parentNode.tagName !== 'PRE' && code.childElementCount === 0) {
text = code.textContent;
if (/^\\\((.|\s)+\\\)$/.test(text) || /^\\\[(.|\s)+\\\]$/.test(text) ||
/^\$\$(.|\s)+\$\$$/.test(text) ||
/^\\begin\{([^}]+)\}(.|\s)+\\end\{[^}]+\}$/.test(text)) {
code.outerHTML = code.innerHTML; // remove <code></code>
continue;
}
}
i++;
}
})();
</script>
<!-- dynamically load mathjax for compatibility with self-contained -->
<script>
(function () {
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-MML-AM_CHTML';
if (location.protocol !== 'file:' && /^https?:/.test(script.src))
script.src = script.src.replace(/^https?:/, '');
document.getElementsByTagName('head')[0].appendChild(script);
})();
</script>
</body>
</html>
Binary file added docs/images/exhausted.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions docs/libs/font-awesome-animation-1.0/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.fa-empty:before {
content: "";
}
11 changes: 11 additions & 0 deletions docs/libs/font-awesome-animation-1.0/custom.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
$('img').each(function() {
var deg = $(this).data('rotate') || 0;
var rotate = 'rotate(' + deg + 'deg)';
$(this).css({
'-webkit-transform': rotate,
'-moz-transform': rotate,
'-o-transform': rotate,
'-ms-transform': rotate,
'transform': rotate
});
});
Loading

0 comments on commit d7d29ab

Please sign in to comment.