minor updates

This commit is contained in:
Jeremy Kidwell 2023-09-30 14:18:20 +01:00
parent baaad849e3
commit 0867183e20
5 changed files with 25 additions and 8 deletions

View file

@ -1,4 +1,6 @@
# Appendix A: how to set up a reproducible R script:
# Appendix A: how to set up a working environment and layout a reproducible R script:
Add `renv` and explanation of `here`
```
# R Setup -----------------------------------------------------------------

View file

@ -0,0 +1,16 @@
# Some other useful books and guides:
## R Data Science Books:
- [R For Data Science 2e](https://r4ds.hadley.nz/)
- [Data Science in a Box](https://datasciencebox.org/01-overview)
- [R Markdown: The Definitive Guide](https://bookdown.org/yihui/rmarkdown/)
## Python Data Science Books:
- [Intro to Cultural Analytics and Python](https://melaniewalsh.github.io/Intro-Cultural-Analytics/welcome.html)
- [The Hitchhiker's Guide to Python](https://docs.python-guide.org/)
## Reproducible Research:
- [Anna Krystalli, Putting the into Reproducible Research: Directors Cut](https://annakrystalli.me/talks/r-in-repro-research-dc.html)
# Web tools for data scientists:
- ["i want hue: colors for data scientists"](https://medialab.github.io/iwanthue/)

View file

@ -57,6 +57,9 @@ wmids_data <- select(religion_uk, no_religion:other)
In keeping with my goal to demonstrate data science through examples, we're going to move on to producing some snappy looking charts for this data.
## Making your first chart
<!--
Reference on callout box syntax here: https://quarto.org/docs/authoring/callouts.html

View file

@ -1,6 +1,8 @@
# Mapping churches: geospatial data science
Guides to geographies:
https://rconsortium.github.io/censusguide/
https://ocsi.uk/2019/03/18/lsoas-leps-and-lookups-a-beginners-guide-to-statistical-geographies/

View file

@ -46,9 +46,3 @@ There are, right now, primarily two languages that statisticians and data scient
Bearing this in mind, the first step you'll need to take is to download and install R. You can find instructions and install packages for a wide range of hardware on the The Comprehensive R Archive Network (or "CRAN"): https://cran.rstudio.com. Once you've installed R, you've got some choices to make about the kind of programming environment you'd like to use. You can just use a plain text editor like `textedit` to write your code and then execute your programs using the R software you've just installed. However, most users, myself included, tend to use an integrated development environment (or "IDE"). This is usually another software package with a guided user interface and some visual elements that make it faster to write and test your code. Some IDE packages, will have built-in reference tools so you can look up options for libraries you use in your code, they will allow you to visualise the results of your code execution, and perhaps most important of all, will enable you to execute your programs line by line so you can spot errors more quickly (we call this "debugging"). The two most popular IDE platforms for R coding at the time of writing this textbook are RStudio and Visual Studio. You should download and try out both and stick with your favourite, as the differences are largely aesthetic. I use a combination of RStudio and an enhanced plain text editor Sublime Text for my coding.
Once you have R and your pick of an IDE, you are ready to go! Proceed to the next chapter and we'll dive right in and get started!
## Other useful guides:
[R For Data Science 2e](https://r4ds.hadley.nz/)
[Intro to Cultural Analytics and Python](https://melaniewalsh.github.io/Intro-Cultural-Analytics/welcome.html)
[Data Science in a Box](https://datasciencebox.org/01-overview)