This repository has been archived by the owner on Aug 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.Rmd
80 lines (68 loc) · 2.74 KB
/
index.Rmd
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
title: "R for Data Engineers"
subtitle: "A Brief Introduction for People Who Count From Zero"
author: "Greg Wilson"
date: "`r Sys.Date()`"
documentclass: krantz
cover-image: "machu-picchu.jpg"
citation-package: biblatex
biblio-style: ieee
link-citations: yes
bibliography: book.bib
github-repo: gvwilson/tidynomicon
site: bookdown::bookdown_site
---
\mainmatter
# Introduction
```{r setup, include=FALSE}
source("etc/common.R")
```
Years ago,
Patrick Burns wrote *[The R Inferno][r-inferno]*,
a guide to R for those who think they are in hell.
Upon first encountering the language after two decades of using Python,
I thought Burns was an optimist—after all,
hell has rules.
I have since realized that R does too,
and that they are no more confusing or contradictory than those of other programming languages.
They only appear so because R draws on a tradition unfamiliar to those of us raised with derivatives of C.
Counting from one,
copying data rather than modifying it,
lazy evaluation:
to quote [the other bard][pratchett],
these are not mad, just differently sane.
Welcome, then, to a universe where the strange will become familiar,
and everything familiar, strange.
Welcome, thrice welcome, to R.
## Who are these lessons for? {#s:index-personas}
Andrzej
: completed a Master's in library science five years ago
and has done data analysis for various school boards since then.
He learned Python doing data science courses online,
but has no formal training in programming.
He just joined team that uses R and R Markdown to generate reports,
and these lessons will show him how to translate his understanding of Python to R.
Padma
: has been building dashboards for a logistics company using Django and D3
while also doing systems administration and managing deployments.
The company has just hired some data scientists
who would like to rebuild some of her dashboards in Shiny.
Padma isn't a statistician,
but would like to learn enough about R to help the analysts
and get their code into production.
## How do I get started? {#s:index-install}
You will learn as much or more from the exercise in this book as from the lessons themselves.
To start,
you can create an account on [rstudio.cloud][rstudio-cloud],
clone [the tidynomicon project][tidynomicon-project],
and work in that.
If you prefer to work on your own computer,
you must [install R][r-install] and then [install RStudio][rstudio-install].
We recommend that you do *not* use [conda][conda],
[brew][brew],
or other platform-specific package managers to do this,
as they sometimes only install part of what you need.
You will need additional software packages as we go along;
each shall be named and summoned in due course.
```{r links, child="etc/links.md"}
```