2 - Git, Markdown, SQL
Objectives
- Introduction to Git
- Introduction to Markdown
- Introduction to SQL
- Exercises for self-study
Topics
- Git is the version control system these days: We learn what it is and how to use it
- Plenty of simply examples for you to try
- Starting from ‘git as a time machine’ allowing access to earlier versions
of files
- Branches from simple ‘will this work’ to separating alternate work
- Next are merging, then remote operations, pull requests
- We also get to GitHub, the most promiment and visible hosting site
- GitHub enables social coding and collaboration
- Markdown is a very powerful and popular “mark-up” language for text
- We will learn about markup, separating content from style, and see examples
- Key idea here: Markup is independent of rendered output
- Excellent topic once again for self-study and experimentation
- pandoc used as universal converter to/from
- RMarkdown convenience wrapper around pandoc calls
- e.g. to Javascript/HTML for (dynamic / web) presentations
- e.g. to pdf for printable writeups, presentations, books, …
- A first look at the newer Quarto extensions to Markdown
- Embedding of code (simpler Literate Programming)
- SQL (Structured Query Language) is maybe the most common data processing
language
- We will learn the basics of relational daya and schema
- SQL commands:
select
; where
; select distinct
; select limit
- SQL command
join
and its variants for combining table
- SQL command
group by
for grouped operations
Core Material
Lecture Slides
Lecture Videos
The core videos which complement the slides are the (now captioned) versions of the 2021 course. As the captions may obstruct some of the displayed code, we also show the uncaptioned original
versions.
- Video 7 (2022): Week 3 (Box, captioned), also Video 7 (2022): Week 3 (ClassTranscribe, edited captions)
- Video 8 (2021): Git ‘first steps’ (Box, captioned) (and first_steps.sh example code), also Video 8 (2021): Git ‘first steps’ (uncaptioned)
- Video 9 (2021): Git ‘branching’ (Box, captioned) (and branching.sh example code), also Video 9 (2021): Git ‘branching’ (uncaptioned)
- Video 10 (2021): Git ‘fork and pull request’ (Box, captioned), also Video 10 (2021): Git ‘fork and pull
request’ (uncaptioned)
- Video 11 (2022): Week 4 (Box, captioned), also Video 11 (2022): Week
4 (ClassTranscribe, edited captions)
- Video 12 (2021): Markdown Intro (Box, captioned), also Video 12 (2021) (Box) (and RMarkdown example file)
- Video 13 (2021): Markdown Outputs (Box, captioned), also Video 13 (2021) (Box) (and RMarkdown example file)
- Video 14 (2021): SQL and SQLite Intro (Box, captioned), also Video 14 (2021) (Box)
- Video 15 (2021): SQL JOIN and GROUP BY (Box, captioned), also Video 15 (2021) (Box)
Further References