Commit Graph

1377 Commits

Author SHA1 Message Date
Mine Cetinkaya-Rundel
3ace9ce49b Draft/outline of spreadsheets (#949)
* Add draft/outline of spreadsheets

* Finish reading from Excel

* Write to Excel + consistency edits

* Add pkgs for writing Excel files

* Release the 🐧s

* Reogranize to highlight tibble/data.frame diffs

* Write again

* Add spreadsheets reference + rename_with janitor

* Move janitor to TO DO in rectangular data

* Need to load tidyverse

* Show csv file

* Add TO DO note

* Use students instead of challenge file in this chp

* Quiet down some of the redundant messages

* Add bit on reading in multiple files

* Fix up students example

* Revert back to old dataset to match spreadsheets chapter

* Fix typos

* Use US spelling

* Comments from Hadley

* Incorporate Hadley's suggestions

Co-authored-by: Hadley Wickham <h.wickham@gmail.com>
2021-10-26 15:00:33 -04:00
gabrivera
917864316d Change "with a" to "that have" for clarity (#952)
In the section 3.6 on Geometrical objects, I momentarily understood that it was saying that one line is describing the entirety of the values in the data-set through the 4 value. This is unlikely, due to the context, but it happened to me before realizing that wasn't the case. This small change could avoid that misunderstanding.
2021-09-30 12:51:20 -04:00
Mark Beveridge
280ab8b604 consistent with treatment of *alpha* ? (#964)
add emphasis, to be consistent with treatment of *alpha* ? ...

row189 : "or to the shape aesthetic" --> "or to the *shape* aesthetic"

[sorry if I've forgotten how to use github]
2021-09-30 12:48:27 -04:00
Eric Kitaif
b13b64896b Update intro.Rmd (#961)
First time reading this book - thank you!

The `,but` did not read well for me, as the statement 

>  [visualisations] don't scale particularly well because they require a human to interpret them

Does not seem to conflict with the statement

> Visualisations can surprise you

`and` appeared more appropriate as these appear to be two outcomes from visualizations; unless I am wrong about the intent of the sentence.

An alternative version, which I did not think was the intent, would read

> Visualisations can surprise you, but don't scale particularly well, because they require a human to interpret them.
2021-09-30 12:44:23 -04:00
Richard Knight
bfaa80ba44 Updating URL to the Danny Kaplan book Statistical Modelling. (#956)
Co-authored-by: rjk <rjk>
2021-05-26 12:28:04 +01:00
Jakob Krigovsky
712907fc75 Fix typos (#950) 2021-05-14 14:03:58 +01:00
Hadley Wickham
8efc22598b Add chapter status 2021-05-04 08:10:43 -05:00
Hadley Wickham
3a45ea5fc5 Little more non-English brainstorming 2021-05-01 09:15:47 -05:00
Hadley Wickham
a813ee1d84 Noodling on other writing systems 2021-04-28 08:43:44 -05:00
Hadley Wickham
a8004b94ea Try dev downlit 2021-04-27 16:12:54 -05:00
Hadley Wickham
e0f35280d1 More noodling on strings 2021-04-27 08:41:47 -05:00
Hadley Wickham
807795af45 More on strings 2021-04-26 14:49:14 -05:00
Hadley Wickham
a526bc2cc0 Specifically install stringr 2021-04-25 07:19:02 -05:00
Hadley Wickham
10b6bcaf75 Move vector-tools up
Reminder to discuss c(). Fixes #618
2021-04-24 09:27:42 -05:00
Hadley Wickham
9091a1484d Noodling on strings 2021-04-23 08:07:16 -05:00
Hadley Wickham
2505136477 More hacking of string chapter 2021-04-22 08:41:06 -05:00
Hadley Wickham
554890b0b2 Fix heading level 2021-04-22 06:51:16 -05:00
Hadley Wickham
58f7f16db1 Break up strings chapter 2021-04-21 12:30:25 -05:00
Hadley Wickham
18253a1d52 Separate regexps into own chapter 2021-04-21 08:43:31 -05:00
Hadley Wickham
5f45c33adb Continuing to rewrite data-transform 2021-04-21 08:43:31 -05:00
Mine Cetinkaya-Rundel
0c4b8dcd04 Edits to tibbles + relational data (#947)
* Make x known so ex.s are easy to follow + add pull

* Add alt text to diagrams

* Table -> data frame
2021-04-21 13:25:51 +01:00
Hadley Wickham
5ba1720b18 Use cli-powered str_view() 2021-04-20 08:32:39 -05:00
Hadley Wickham
86e98ae66e Start rewriting transform chapter 2021-04-20 07:59:47 -05:00
Hadley Wickham
d80982caa6 Supress cache & activate crayon 2021-04-20 06:49:12 -05:00
Hadley Wickham
c88a907d4a Get code working again 2021-04-19 09:31:38 -05:00
Hadley Wickham
78ab61f284 Pull content out of tidying 2021-04-19 07:59:07 -05:00
Hadley Wickham
861e27026e Break up data-transform content 2021-04-19 07:56:29 -05:00
Hadley Wickham
40d7bcb5d0 Fix thinko 2021-04-18 15:57:30 -05:00
Hadley Wickham
043d821584 More logical Boolean diagram
Fixes #764
2021-04-18 09:58:25 -05:00
Hadley Wickham
18bbea1272 Remove too early functions from an exercise
Fixes #768
2021-04-18 09:48:54 -05:00
Hadley Wickham
ef21701d2a Move exericse to better place
Fixes #792
2021-04-18 09:41:05 -05:00
Hadley Wickham
023606e9aa Use explicit ifelse
Fixes #852
2021-04-18 09:29:27 -05:00
Hadley Wickham
42bbae55d3 Update fct_lump() usage
Fixes #855
2021-04-18 09:21:59 -05:00
Hadley Wickham
4c171731e9 Remove redundant question
Fixes #836
2021-04-18 09:09:30 -05:00
Hadley Wickham
5d96dd41b9 Correct variable order
Fixes #835
2021-04-18 09:08:34 -05:00
Hadley Wickham
952d1ab4f0 Align text and code
Fixes #880
2021-04-18 09:02:33 -05:00
Hadley Wickham
47585ee920 Mention quantifier term
Fixes #898
2021-04-18 08:57:24 -05:00
Hadley Wickham
3abea6ba61 Fix typo
Fixes #934
2021-04-18 08:52:06 -05:00
Hadley Wickham
68b965e72d Add clarifying word
Fixes #938
2021-04-18 08:51:14 -05:00
Jakob Krigovsky
5785fc662c Remove dmonths() exercise (#944) 2021-04-18 08:43:06 -05:00
Mine Çetinkaya-Rundel
c15f6e5b57 Grammar suggestions from @zhaoy 2021-04-14 16:50:55 +01:00
Camille V Leonard
abb99996d8 Remove "dumb" from acknowledgements. (#943)
I was just reading through this section of the book and thought that it would be good to remove "dumb". I'm trying to remove ableist language from my every day vocabulary and thought the R team would be interested in that as well.
2021-04-14 16:43:58 +01:00
vanderlindenma
2ee3426457 str_view(), repetition at most n times yields error #807, and small typos in "Iteration chapter" (#808)
* Update and rename strings.Rmd to strings.Rmd 

Proposed fix related to this issue: https://github.com/hadley/r4ds/issues/807

A more comprehensive fix should perhaps discuss why "`{,m}`: at most m" does not work (or warn the reader that it does not)

* Typos in iteration.Rmd

Correcting two small typos

* Add missing word

* Add code example for 1,m

Co-authored-by: Mine Cetinkaya-Rundel <cetinkaya.mine@gmail.com>
2021-04-14 16:43:36 +01:00
Jakob Krigovsky
a4ac9c8db5 Remove reference to d3heatmap (#935)
d3heatmap is no longer maintained, see 5092396501/README.md.
2021-04-14 16:04:51 +01:00
Jakob Krigovsky
20b925c1ee Fix str_to_upper’s default locale (#937)
From https://stringr.tidyverse.org/reference/case.html:

> locale: Locale to use for translations. Defaults to "en" (English) to ensure consistent default ordering across platforms.
2021-04-14 16:03:48 +01:00
Mine Cetinkaya-Rundel
27db40ad65 Data transformation (#940)
* Minor edit + link to style guide

* Fix reference

* If you don't know order of operations, not clear

* Alt text + minor edits

* Add median and fix reference

* Move up mult groups up to discuss summarise msg

* Go over grouping again

* Part rename

* Chapter rename

* Clean up section labels to avoid dups

* Update comment

* Switch part order

* Move columnwise to transform
2021-03-29 14:58:27 +01:00
funkybluehen
50703875cc Update vectors.Rmd (#929)
Section 20.4.5 Subsetting
A small grammatical issue on line 329
(insert the letter 'a')
2021-03-26 13:13:34 +00:00
Jakob Krigovsky
631b93b1a4 Fix typos (#936) 2021-03-26 13:12:18 +00:00
Mine Cetinkaya-Rundel
1eee408cb6 Updates to whole game intro + dataviz chapter (#932)
* Streamline narrative for new chapters and part name

* Add to do note to add sizing for faceted plots

* Minor edits, function updates, figure alt text

* Revert references to vars() in facets, use formula

* Spell check, colo*u*r, comma after r in chunk def

* Streamline fig.alt language

* If eval = FALSE, don't need fig.alt

* Fix sentence fragment
2021-03-19 12:38:28 +00:00
Mine Cetinkaya-Rundel
588f70ac59 Merge pull request #924 from mine-cetinkaya-rundel/no-iris
Structural updates for 2e
2021-03-03 20:58:22 +00:00