Go to file
Mine Cetinkaya-Rundel 8fec043d5f
Tidy data edit (#914)
* No need to load ggplot2, tidyverse is loaded

* Add motivation for why to pivot + minor edits

* Add an exercise on making a contingency table

* Use index.Rmd instead of rmd to make the build work

* Case study should be sentence case

* Make figure more legible and don't rely on color alone

* Streamline example + names_transform

* Potential pathway for more advanced pivot_wider

* Pivot even wider example + new unite exercise

* Update case study to use full feature pivot_wider

* Change the pregnancy exercise

* Fix chapter reference

* Remove century example since first 2 digits is not century

* Add caption to floating figure

* Align parens

* Fix referencing

* Add alt text to all chunks with plots or figures

* Remove unused figure (related to year -> century)

* Make subparts of exercises alphabetical

* Remove references to names_transform, use mutate()

* Fix code style

* Few more chp/sec reference fixes

* Put line break back
2021-02-05 10:44:17 -06:00
.github Start on 2nd edition 2021-02-04 15:23:41 -06:00
data Updates data set for model chapter to BLS NLS cross-section. 2016-01-07 13:25:25 -05:00
diagrams Fix incorrect argument name in diagram. 2017-05-03 08:34:22 -05:00
extra More on model building 2016-07-26 11:13:43 -05:00
images Tidy data edit (#914) 2021-02-05 10:44:17 -06:00
rmarkdown Fix typos (#437) 2016-10-03 08:23:43 -05:00
screenshots R markdown proof editing 2016-08-25 16:44:14 -05:00
.Rbuildignore Add code of conduct and update acknowledgements 2020-10-05 17:56:27 -05:00
.gitignore Actually commit code of conduct 2020-10-05 17:58:33 -05:00
CODE_OF_CONDUCT.md Actually commit code of conduct 2020-10-05 17:58:33 -05:00
DESCRIPTION Move packages to suggests 2020-11-05 14:30:23 -06:00
EDA.Rmd Typo fix (#629) 2018-06-20 11:01:51 +02:00
LICENSE First commit 2015-07-27 16:52:19 -05:00
README.md Add code of conduct and update acknowledgements 2020-10-05 17:56:27 -05:00
_bookdown.yml Use index.Rmd instead of rmd to make the build work (#916) 2021-01-31 10:34:35 -06:00
_common.R Bump digits (and flush cache) 2020-10-04 15:40:48 -05:00
_output.yaml Use bookdown::bs4_book 2020-11-05 14:27:59 -06:00
communicate-plots.Rmd Fixes a quite bad link (#849) 2020-05-08 15:58:10 -05:00
communicate.Rmd Fix typos (#437) 2016-10-03 08:23:43 -05:00
contribs.txt Add code of conduct and update acknowledgements 2020-10-05 17:56:27 -05:00
contribute.rmd Drop jekyll markdown 2016-02-17 16:26:32 +11:00
contributors.R Thank all contributors on home page 2018-08-24 10:54:58 -05:00
contributors.csv Thank all contributors on home page 2018-08-24 10:54:58 -05:00
cover.png Colour cover 2016-12-02 12:11:59 -06:00
datetimes.Rmd Added missing word in datetimes.Rmd (#848) 2020-10-03 09:40:07 -05:00
explore.Rmd Suggestions from Marie 2016-10-04 11:21:04 -05:00
factors.Rmd update tidyverse loadings (#754) 2020-01-15 12:40:22 -06:00
figures.R Copy for creating figures dir 2016-11-21 08:28:57 -06:00
functions.Rmd Add equations to 19.2 Ex 4. (#749) 2020-01-15 12:41:22 -06:00
ga_script.html Add google analytics (#745) 2019-01-08 07:45:50 -06:00
hierarchy.Rmd Remove extra pipe 2020-10-04 16:05:58 -05:00
import.Rmd Fixed text to correspond with code output (#784) 2020-01-15 12:31:10 -06:00
index.Rmd Start on 2nd edition 2021-02-04 15:23:41 -06:00
intro.Rmd Dictation and grammar corrections for chapters 1-4 (#776) 2020-10-03 09:49:58 -05:00
issues.json More writing about purrr and lists 2015-11-21 08:31:32 +13:00
iteration.Rmd Consistent function names 2020-10-04 16:08:10 -05:00
model-assess.Rmd Update model-assess.Rmd (#602) 2018-06-20 10:56:46 +02:00
model-basics.Rmd Update model-basics.Rmd (#765) 2020-01-15 12:37:06 -06:00
model-building.Rmd top_n to slice_max (#870) 2020-10-03 09:34:50 -05:00
model-many.Rmd Replace deprecated summarise_each() for summarise_all() (#824) 2020-10-03 09:43:52 -05:00
model.Rmd Manually integrate changes 2016-10-03 07:39:53 -05:00
pipes.Rmd Fix typos and formatting (#670) 2018-06-20 11:12:02 +02:00
program.Rmd fix typos (#462) 2016-10-10 16:53:47 -05:00
r4ds.Rproj Use new RStudio book building tools 2016-04-21 08:18:10 -05:00
r4ds.css Tweak appearance of index 2016-04-21 08:07:47 -05:00
relational-data.Rmd Fix typo 2020-10-04 16:12:56 -05:00
rmarkdown-formats.Rmd Minor typos. (#588) 2018-06-20 09:59:31 +02:00
rmarkdown-workflow.Rmd Minor typos. (#588) 2018-06-20 09:59:31 +02:00
rmarkdown.Rmd A spelling fix (#891) 2020-11-05 13:28:10 -06:00
strings.Rmd update tidyverse loadings (#754) 2020-01-15 12:40:22 -06:00
tibble.Rmd Remove duplicate id 2020-01-15 12:40:02 -06:00
tidy.Rmd Tidy data edit (#914) 2021-02-05 10:44:17 -06:00
transform.Rmd one_of() is retired (#867) 2020-10-03 09:35:04 -05:00
vectors.Rmd Remove mention of scalar functions 2020-10-04 15:57:45 -05:00
visualize.Rmd Update stat_summary args for ggplot2 3.3.0 (#839) 2020-10-03 09:41:36 -05:00
workflow-basics.Rmd Dictation and grammar corrections for chapters 1-4 (#776) 2020-10-03 09:49:58 -05:00
workflow-projects.Rmd Fix typo. Fixes #547 2017-05-03 08:29:40 -05:00
workflow-scripts.Rmd Rename "Practice" sections to "Exercises" (#750) 2020-01-15 12:40:59 -06:00
wrangle.Rmd Fixes from @schuess 2016-10-03 08:37:07 -05:00

README.md

R for Data Science

Travis build status

This repository contains the source of R for Data Science book. The book is built using bookdown.

The R packages used in this book can be installed via

devtools::install_github("hadley/r4ds")

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.