bfa06daab5
Originally the plan was to have two chapters about reading text files, a brief introduction in the whole game, and then a more detailed exploration later in the book. This organisation didn't seem to work very well because the second chapter didn't have much content, so I've removed it, integrating its content elsewhere in the book: * Column parsing types moved back into data-import * Specifics of parsing various data types (e.g. `col_number()`, `col_date()`, and `col_factor()`) moved into the corresponding data type chapters. * String encoding has moved to the strings chapter While I was in here I also removed the unused `import-other.qmd`; we had planned to survey other options but I no longer think this is worth it. |
||
---|---|---|
.github | ||
data | ||
diagrams | ||
images | ||
quarto | ||
screenshots | ||
.Rbuildignore | ||
.gitignore | ||
CODE_OF_CONDUCT.md | ||
DESCRIPTION | ||
EDA.qmd | ||
LICENSE | ||
README.md | ||
_common.R | ||
_quarto.yml | ||
base-R.qmd | ||
communicate-plots.qmd | ||
communicate.qmd | ||
contribute.qmd | ||
contributors.R | ||
contributors.csv | ||
cover.png | ||
data-import.qmd | ||
data-tidy.qmd | ||
data-transform.qmd | ||
data-visualize.qmd | ||
databases.qmd | ||
datetimes.qmd | ||
factors.qmd | ||
figures.R | ||
functions.qmd | ||
index.qmd | ||
intro.qmd | ||
issues.json | ||
iteration.qmd | ||
joins.qmd | ||
list-columns.qmd | ||
logicals.qmd | ||
missing-values.qmd | ||
numbers.qmd | ||
oreilly-colours.R | ||
plausible.html | ||
preface-2e.qmd | ||
prog-strings.qmd | ||
program.qmd | ||
quarto-formats.qmd | ||
quarto-workflow.qmd | ||
quarto.qmd | ||
r4ds.Rproj | ||
r4ds.scss | ||
rectangling.qmd | ||
regexps.qmd | ||
spreadsheets.qmd | ||
strings.qmd | ||
students.feather | ||
transform.qmd | ||
webscraping.qmd | ||
whole-game.qmd | ||
workflow-basics.qmd | ||
workflow-help.qmd | ||
workflow-pipes.qmd | ||
workflow-scripts.qmd | ||
workflow-style.qmd | ||
wrangle.qmd |
README.md
R for Data Science
This repository contains the source of R for Data Science book. The book is built using Quarto.
The R packages used in this book can be installed via
devtools::install_github("hadley/r4ds")
Images
Omnigraffle drawings
-
Font: 12pt Guardian Sans Condensed / Ubuntu mono
-
Export as 300 dpi png.
-
Website font is 18 px = 13.5 pt, so scale dpi to match font sizes: 270 = 300 * 12 / 13.5. (I also verified this empirically by screenshotting.)
#| echo: FALSE #| out.width: NULL knitr::include_graphics("diagrams/transform.png", dpi = 270)
Screenshots
-
Make sure you're using a light theme. For small interface elements (eg. toolbars), zoom in twice.
-
Screenshot with Cmd + Shift + 4.
-
Don't need to set dpi:
#| echo: FALSE #| out.width: NULL knitr::include_graphics("screenshots/rstudio-wg.png")
Code of Conduct
Please note that r4ds uses a Contributor Code of Conduct. By contributing to this book, you agree to abide by its terms.