R & GitHub sitting in a tree… mine-cetinkaya-rundel [email protected] @minebocek mine çetinkaya-rundel university of edinburgh & rstudio bit.ly/r-git-tree
bit.ly/r-git-tree students with little to no background in computing, data science, or statistics (but with enthusiasm to learn!) Intro to Data Science students ready to tackle real life data science problems using modern computational tools
bit.ly/r-git-tree fundamentals of data & data viz, confounding variables, Simpson’s paradox tidy data, data frames vs. summary tables, recoding & transforming, web scraping & iteration building & selecting models, visualizing interactions, prediction & validation, inference via simulation data science ethics, interactive viz & reporting, text analysis, Bayesian inference modern computing reproducibility collaboration communication
bit.ly/r-git-tree language integrated development environment literate programming version control collaboration, publishing, course management # student
bit.ly/r-git-tree one organization per class one repo per assignment per student / team weekly labs [team] bi-weekly homework assignments [individual] two take-home exams [individual] two-phase project [team]
bit.ly/r-git-tree ghclass > Functions are prefixed with either org, repo, team, github, or local_repo to indicate what they operate on. > Functions are vectorized over their parameters, to allow related operations to be grouped. > Functions the unix design philosophy when possible, work towards simple & composable functions. > Functions are verbose to communicate what’s happening, but they can be quieted down. > Actions are non-destructive and/or backed by Git, the handful of dangerous operations throw warnings.
bit.ly/r-git-tree #> ✔ Created repo 'ghclass-demo/hw-05-collegemajor-team-01'. #> ✔ Created repo 'ghclass-demo/hw-05-collegemajor-team-02'. #> ✔ Added 'ghclass-anya' to team 'team-01'. #> ✔ Added 'ghclass-bruno' to team 'team-01'. #> ✔ Added 'ghclass-celine' to team 'team-01'. #> ✔ Added 'ghclass-diego' to team 'team-02'. #> ✔ Added 'ghclass-elijah' to team 'team-02'. #> ✔ Added 'ghclass-francis' to team 'team-02'. #> ✔ Added team 'team-01' to repo 'ghclass-demo/hw-05-collegemajor-team-01'. #> ✔ Added team 'team-02' to repo 'ghclass-demo/hw-05-collegemajor-team-02'. #> ✔ Cloned 'ghclass-demo/hw-05-collegemajor'. #> ✔ Pushed (mirror) 'hw-05-collegemajor' to repo 'ghclass-demo/hw-05-collegemajor-team-01'. #> ✔ Pushed (mirror) 'hw-05-collegemajor' to repo 'ghclass-demo/hw-05-collegemajor-team-01'. #> ✔ Pushed (mirror) 'hw-05-collegemajor' to repo 'ghclass-demo/hw-05-collegemajor-team-01'. #> ✔ Pushed (mirror) 'hw-05-collegemajor' to repo 'ghclass-demo/hw-05-collegemajor-team-02'. #> ✔ Pushed (mirror) 'hw-05-collegemajor' to repo 'ghclass-demo/hw-05-collegemajor-team-02'. #> ✔ Pushed (mirror) 'hw-05-collegemajor' to repo 'ghclass-demo/hw-05-collegemajor-team-02'. #> ✔ Removed local copy of 'ghclass-demo/hw-05-collegemajor' org_create_assignment(org = "ghclass-demo", repo = paste0("hw-05-collegemajor-", roster$team), user = roster$ghname, team = roster$team, source_repo = "ghclass-demo/hw-05-collegemajor") teams
R & GitHub sitting in a tree… mine-cetinkaya-rundel [email protected] @minebocek mine çetinkaya-rundel university of edinburgh & rstudio bit.ly/r-git-tree rundel.github.io/ghclass