This is a book about foundational data skills, tentatively titled Telling Stories With Data. It was accepted for publication by CRC Press in May 2021. Much of the content is still in draft form, and I would appreciate comments, suggestions, or pull requests.
Removed the gt examples in Ch 6 because it doesn't seem to work with Quarto. In May they said there will be updates to gt coming to make it play nicely with Quarto PDFs, so can probably add this back in at some point.
Issue with the dataverse. So have commented out:
library(jsonlite)
politics_datasets <-
fromJSON("https://demo.dataverse.org/api/search?q=politics")
Need to add an example of differential privacy.
Logistic regression is getting flipped at some point. Need to trace through Biden/Trump and work out where it is.
- Check about installing
tidyversepackages unnecessarily. And similarly, loadingtidyverseunnecessarily.
Remove:
- "it is clear that"
- "easily"
- "In particular, "
- "just"
Change:
- "folks" -> "people"
- one particular -> one
- and also -> and
- a large number of -> many
- take advantage of -> use
- 'tidyverse' -> 'the tidyverse'
- "we will" -> "we" (sometimes)
So there are a lot of unnecessary "So " at the start of sentences that can just be removed.
- https://github.com/gadenbuie/grkstyle
- https://styler.r-lib.org/articles/styler.html
- Use build from here because of Quarto: https://issuehint.com/issue/r-lib/styler/913