-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
paytonk
authored and
paytonk
committed
Dec 24, 2024
0 parents
commit 512360e
Showing
163 changed files
with
11,331 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
# MacOS artifacts | ||
.DS_Store | ||
|
||
# History files | ||
.Rhistory | ||
.Rapp.history | ||
|
||
# Session Data files | ||
.RData | ||
.RDataTmp | ||
|
||
# User-specific files | ||
.Ruserdata | ||
|
||
# Example code in package build process | ||
*-Ex.R | ||
|
||
# Output files from R CMD build | ||
/*.tar.gz | ||
|
||
# Output files from R CMD check | ||
/*.Rcheck/ | ||
|
||
# RStudio files | ||
.Rproj.user/ | ||
|
||
# produced vignettes | ||
vignettes/*.html | ||
vignettes/*.pdf | ||
|
||
# OAuth2 token, see https://github.com/hadley/httr/releases/tag/v0.3 | ||
.httr-oauth | ||
|
||
# knitr and R markdown default cache directories | ||
*_cache/ | ||
/cache/ | ||
|
||
# Temporary files created by R markdown | ||
*.utf8.md | ||
*.knit.md | ||
|
||
# R Environment Variables | ||
.Renviron | ||
|
||
# pkgdown site | ||
docs/ | ||
|
||
# translation temp files | ||
po/*~ | ||
|
||
# RStudio Connect folder | ||
rsconnect/ | ||
|
||
/.quarto/ |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
This is the GitHub repository for the workshop series called **Demystifying R and RStudio**, given at the Children's Hospital of Philadelphia (CHOP) by Arcus Education. | ||
|
||
## About This Workshop Series | ||
|
||
Welcome to Demystifying R and RStudio! | ||
|
||
This series is intended to be a gentle introduction to R and RStudio for people who interact with data and want to work in the R statistical programming language (or just understand what it is and why it matters). This course is geared towards beginners who are comfortable doing basic tasks with data that comes in rows and columns (for example, organizing data in Excel) but have no programming background. | ||
|
||
The series will cover why and how to get started using the R statistical programming language in your work. We'll talk the definition of R (a programming language), RStudio (a software environment useful for working with the R language), how to access and use these tools, and next steps for learning how to use them. What we won't do is show you how to get started writing code or analyzing data using R. So if you just want to get an overall idea of what R and RStudio are all about, without actually doing hands-on coding, this is the perfect workshop series for you! | ||
|
||
## Workshop Sessions | ||
|
||
Material in later sessions does build on work done in earlier sessions, but don't let missing a session keep you away from attending later sessions. We try to overlap material to help keep everyone caught up! | ||
|
||
- **Session 1: Introduction to R/RStudio** | ||
|
||
* R is a programming language created for statistical data analysis | ||
* Why scripts? Reproducibility and open source data science | ||
* RStudio is one (of many possible) ways to work with R | ||
* Considerations for working with R and RStudio at CHOP | ||
* Posit.Cloud | ||
|
||
- **Session 2: Literate Statistical Programming** | ||
|
||
* Review of R and RStudio | ||
* Literate programming is a programming paradigm | ||
* Research reproducibility reminders | ||
* Quarto documents | ||
* Next steps | ||
|
||
## License | ||
|
||
All of the material in this GitHub repository is copyrighted under the [Creative Commons BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/) copyright to make the material easy to reuse. | ||
We encourage you to reuse it and adapt it for your own teaching as you like! |
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
_freeze/quarto_slides/session_1/libs/clipboard/clipboard.min.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
144 changes: 144 additions & 0 deletions
144
_freeze/quarto_slides/session_1/libs/countdown-0.4.0/countdown.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,144 @@ | ||
.countdown { | ||
background: inherit; | ||
position: absolute; | ||
cursor: pointer; | ||
font-size: 3rem; | ||
line-height: 1; | ||
border-color: #ddd; | ||
border-width: 3px; | ||
border-style: solid; | ||
border-radius: 15px; | ||
box-shadow: 0px 4px 10px 0px rgba(50, 50, 50, 0.4); | ||
-webkit-box-shadow: 0px 4px 10px 0px rgba(50, 50, 50, 0.4); | ||
margin: 0.6em; | ||
padding: 10px 15px; | ||
text-align: center; | ||
z-index: 10; | ||
-webkit-user-select: none; | ||
-moz-user-select: none; | ||
-ms-user-select: none; | ||
user-select: none; | ||
} | ||
.countdown { | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
.countdown .countdown-time { | ||
background: none; | ||
font-size: 100%; | ||
padding: 0; | ||
} | ||
.countdown-digits { | ||
color: inherit; | ||
} | ||
.countdown.running { | ||
border-color: #2A9B59FF; | ||
background-color: #43AC6A; | ||
} | ||
.countdown.running .countdown-digits { | ||
color: #002F14FF; | ||
} | ||
.countdown.finished { | ||
border-color: #DE3000FF; | ||
background-color: #F04124; | ||
} | ||
.countdown.finished .countdown-digits { | ||
color: #4A0900FF; | ||
} | ||
.countdown.running.warning { | ||
border-color: #CEAC04FF; | ||
background-color: #E6C229; | ||
} | ||
.countdown.running.warning .countdown-digits { | ||
color: #3A2F02FF; | ||
} | ||
|
||
.countdown.running.blink-colon .countdown-digits.colon { | ||
opacity: 0.1; | ||
} | ||
|
||
/* ------ Controls ------ */ | ||
.countdown:not(.running) .countdown-controls { | ||
display: none; | ||
} | ||
|
||
.countdown-controls { | ||
position: absolute; | ||
top: -0.5rem; | ||
right: -0.5rem; | ||
left: -0.5rem; | ||
display: flex; | ||
justify-content: space-between; | ||
margin: 0; | ||
padding: 0; | ||
} | ||
|
||
.countdown-controls > button { | ||
font-size: 1.5rem; | ||
width: 1rem; | ||
height: 1rem; | ||
display: inline-block; | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
justify-content: center; | ||
font-family: monospace; | ||
padding: 10px; | ||
margin: 0; | ||
background: inherit; | ||
border: 2px solid; | ||
border-radius: 100%; | ||
transition: 50ms transform ease-in-out, 150ms opacity ease-in; | ||
--countdown-transition-distance: 10px; | ||
} | ||
|
||
.countdown .countdown-controls > button:last-child { | ||
transform: translate(calc(-1 * var(--countdown-transition-distance)), var(--countdown-transition-distance)); | ||
opacity: 0; | ||
color: #002F14FF; | ||
background-color: #43AC6A; | ||
border-color: #2A9B59FF; | ||
} | ||
|
||
.countdown .countdown-controls > button:first-child { | ||
transform: translate(var(--countdown-transition-distance), var(--countdown-transition-distance)); | ||
opacity: 0; | ||
color: #4A0900FF; | ||
background-color: #F04124; | ||
border-color: #DE3000FF; | ||
} | ||
|
||
.countdown.running:hover .countdown-controls > button, | ||
.countdown.running:focus-within .countdown-controls > button{ | ||
transform: translate(0, 0); | ||
opacity: 1; | ||
} | ||
|
||
.countdown.running:hover .countdown-controls > button:hover, | ||
.countdown.running:focus-within .countdown-controls > button:hover{ | ||
transform: translate(0, calc(var(--countdown-transition-distance) / -2)); | ||
box-shadow: 0px 2px 5px 0px rgba(50, 50, 50, 0.4); | ||
-webkit-box-shadow: 0px 2px 5px 0px rgba(50, 50, 50, 0.4); | ||
} | ||
|
||
.countdown.running:hover .countdown-controls > button:active, | ||
.countdown.running:focus-within .countdown-controls > button:active{ | ||
transform: translate(0, calc(var(--coutndown-transition-distance) / -5)); | ||
} | ||
|
||
/* ----- Fullscreen ----- */ | ||
.countdown.countdown-fullscreen { | ||
z-index: 0; | ||
} | ||
|
||
.countdown-fullscreen.running .countdown-controls { | ||
top: 1rem; | ||
left: 0; | ||
right: 0; | ||
justify-content: center; | ||
} | ||
|
||
.countdown-fullscreen.running .countdown-controls > button + button { | ||
margin-left: 1rem; | ||
} |
Oops, something went wrong.