Go to file
Hadley Wickham bfa06daab5
Eliminate parsing chapter (#1128)
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.
2022-11-17 09:56:08 -06:00
.github Set RUST_BACKTRACE env var 2022-06-08 11:22:11 -05:00
data Eliminate parsing chapter (#1128) 2022-11-17 09:56:08 -06:00
diagrams Tidy up unused images and dependencies (#1133) 2022-11-11 09:40:43 -06:00
images Tidy up unused images and dependencies (#1133) 2022-11-11 09:40:43 -06:00
quarto Communicate wrap up (#1136) 2022-11-12 15:08:58 -05:00
screenshots Communicate wrap up (#1136) 2022-11-12 15:08:58 -05:00
.Rbuildignore Add code of conduct and update acknowledgements 2020-10-05 17:56:27 -05:00
.gitignore Mild import/wrangling reorg 2022-06-20 10:40:11 -05:00
CODE_OF_CONDUCT.md Actually commit code of conduct 2020-10-05 17:58:33 -05:00
DESCRIPTION Tidy up unused images and dependencies (#1133) 2022-11-11 09:40:43 -06:00
EDA.qmd Improve cross-references 2022-09-29 10:49:03 -05:00
LICENSE First commit 2015-07-27 16:52:19 -05:00
README.md Update README.md 2022-11-11 16:11:00 -06:00
_common.R Convert status box to callout 2022-10-05 07:21:20 -05:00
_quarto.yml Eliminate parsing chapter (#1128) 2022-11-17 09:56:08 -06:00
base-R.qmd Fix typo 2022-11-07 08:38:11 -06:00
communicate-plots.qmd Communicate plots (#1114) 2022-10-29 22:24:35 -04:00
communicate.qmd Communicate wrap up (#1136) 2022-11-12 15:08:58 -05:00
contribute.qmd Convert to Quarto book (#1026) 2022-05-14 08:46:49 +12:00
contributors.R Thank all contributors on home page 2018-08-24 10:54:58 -05:00
contributors.csv Update welcome, intro, and contributors 2022-11-04 12:48:09 -05:00
cover.png Colour cover 2016-12-02 12:11:59 -06:00
data-import.qmd Eliminate parsing chapter (#1128) 2022-11-17 09:56:08 -06:00
data-tidy.qmd Eliminate parsing chapter (#1128) 2022-11-17 09:56:08 -06:00
data-transform.qmd New chapter on important base R functions (#1113) 2022-11-04 10:29:04 -05:00
data-visualize.qmd Rough first pass at summaries for all whole game chapters 2022-09-29 10:36:22 -05:00
databases.qmd Iterating on iteration 2022-09-20 09:14:00 -05:00
datetimes.qmd Eliminate parsing chapter (#1128) 2022-11-17 09:56:08 -06:00
factors.qmd Eliminate parsing chapter (#1128) 2022-11-17 09:56:08 -06:00
figures.R Copy for creating figures dir 2016-11-21 08:28:57 -06:00
functions.qmd Feedback on iteration chapter (#1130) 2022-11-11 08:00:44 -06:00
index.qmd Update welcome, intro, and contributors 2022-11-04 12:48:09 -05:00
intro.qmd Update welcome, intro, and contributors 2022-11-04 12:48:09 -05:00
issues.json More writing about purrr and lists 2015-11-21 08:31:32 +13:00
iteration.qmd Fix small problems 2022-11-11 09:41:59 -06:00
joins.qmd Proof read alt text 2022-10-20 14:24:19 -05:00
list-columns.qmd Convert to Quarto book (#1026) 2022-05-14 08:46:49 +12:00
logicals.qmd Fix broken links due to new base R chapter 2022-11-04 10:45:25 -05:00
missing-values.qmd Fix small problems 2022-11-11 09:41:59 -06:00
numbers.qmd Eliminate parsing chapter (#1128) 2022-11-17 09:56:08 -06:00
oreilly-colours.R Redrawing join diagrams 2022-08-30 08:11:25 -05:00
plausible.html Convert to Quarto book (#1026) 2022-05-14 08:46:49 +12:00
preface-2e.qmd Convert to Quarto book (#1026) 2022-05-14 08:46:49 +12:00
prog-strings.qmd Switch from I to we 2022-08-09 11:43:12 -05:00
program.qmd Fix broken links due to new base R chapter 2022-11-04 10:45:25 -05:00
quarto-formats.qmd Communicate wrap up (#1136) 2022-11-12 15:08:58 -05:00
quarto-workflow.qmd Communicate wrap up (#1136) 2022-11-12 15:08:58 -05:00
quarto.qmd Communicate wrap up (#1136) 2022-11-12 15:08:58 -05:00
r4ds.Rproj Always use native pipe 2022-06-08 08:15:45 -05:00
r4ds.scss Convert status box to callout 2022-10-05 07:21:20 -05:00
rectangling.qmd Fix broken links due to new base R chapter 2022-11-04 10:45:25 -05:00
regexps.qmd Feedback on iteration chapter (#1130) 2022-11-11 08:00:44 -06:00
spreadsheets.qmd Eliminate parsing chapter (#1128) 2022-11-17 09:56:08 -06:00
strings.qmd Eliminate parsing chapter (#1128) 2022-11-17 09:56:08 -06:00
students.feather Draft/outline of spreadsheets (#949) 2021-10-26 15:00:33 -04:00
transform.qmd Tweak transform introduction 2022-11-07 16:41:23 -06:00
webscraping.qmd Improve cross-references 2022-09-29 10:49:03 -05:00
whole-game.qmd Whole game feedback from O'Reilly (#1057) 2022-08-29 06:24:32 -04:00
workflow-basics.qmd Improve cross-references 2022-09-29 10:49:03 -05:00
workflow-help.qmd Rough first pass at summaries for all whole game chapters 2022-09-29 10:36:22 -05:00
workflow-pipes.qmd Simple typo fix (#1134) 2022-11-12 08:13:31 -06:00
workflow-scripts.qmd I -> we 2022-09-29 10:50:47 -05:00
workflow-style.qmd Rough first pass at summaries for all whole game chapters 2022-09-29 10:36:22 -05:00
wrangle.qmd Update transform part intro 2022-09-29 11:22:45 -05:00

README.md

R for Data Science

Render and deploy Book to Netlify

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.