-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.Rmd
More file actions
45 lines (30 loc) · 2.56 KB
/
Copy pathindex.Rmd
File metadata and controls
45 lines (30 loc) · 2.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
title: "Programming Logic for Non-Programmers"
author: "Kat Koziar and Stephanie Labou"
date: "`r Sys.Date()`"
site: bookdown::bookdown_site
output: bookdown::gitbook
documentclass: book
bibliography: [book.bib, packages.bib]
biblio-style: apalike
link-citations: yes
github-repo: kekoziar/programming-logic
description: "This is a programming logic for non-programmers workshop, with a target audience of data librarians and related data professionals."
always_allow_html: yes
---
# Preface {-}
```{asis, echo=identical(knitr:::pandoc_to(), 'html')}
**Note**: The online version of this book is free to read here, and licensed under the [Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License](http://creativecommons.org/licenses/by-nc-sa/4.0/) CC-BY-NC-SA.
**Preferred citation**:
Koziar, K. and Labou, S. (2025). Programming Logic for Non-Programmers. GitHub. https://kekoziar.github.io/programming-logic/index.html.
```
# About
`BEGIN pitch()`
Have you ever wondered how some of your colleagues can look at a computer programming script, with little prior knowledge of the language, and not only read it, but help fix the code? It’s not because they know all programming languages, but because most programming languages use the same concepts and logic.
`STRUCTURE(workshop)`
In this interactive workshop, attendees will gain hands-on experience to understand and interpret programming logic. We will cover fundamental topics in programming including: conditional statements, loops, order of operations and logical flow, functions and arguments, and data types. Attendees will practice formulating programming arguments to accomplish common tasks, such as subsetting data based on a set of conditions.
`WHERE prior_experience == FALSE`
No coding experience required! Programming logic is transferable across specific languages, so learners will focus on concepts, rather than specific syntax from a specific language. Attendees will learn to interpret programming logic and build confidence to apply their understanding to various programming languages they may encounter.
`FOR (x in example1:example5) {annotate(x)}`
To provide real world examples of programming logic in practice, the workshop will integrate hands-on work time with examples of sample code written in R, Python, SQL, Stata, and other languages. Attendees will practice annotating code in human understandable language and discuss the process, and any pitfalls, with their peers and the instructors.
`IF attendee_need == “learn_programming_logic”: print(“register for this workshop!”)`