class: center, middle, inverse, title-slide # Mini-Lecture 9 ## MP1 workshop 2 ### Ben Baumer ### SDS 192Feb 14, 2020(
http://beanumber.github.io/sds192/lectures/09-mp1_workshop_2.html
) --- class: center, middle, inverse # Announcements --- ## Setup - Install [`sds192` package](https://github.com/baumer-lab/sds192) (once) - Windows users [need `Rtools`](https://cran.r-project.org/bin/windows/Rtools/index.html) ```r # install.packages("devtools") devtools::install_github("benmarwick/wordcountaddin") devtools::install_github("hadley/requirements") devtools::install_github("baumer-lab/sds192") ``` - Open **New Project...** (upper right corner of RStudio): - New Directory -> New Project - Use SDS 192 template: - File -> New File -> R Markdown -> From Template -> SDS 192 assignment --- ## DataFest info session .footnote[http://www.science.smith.edu/datafest/] .pull-left[ - Wednesday, Feb 19th McConnell 103, 7-8pm - 7th ASA Five College DataFest March 27-29 UMass ] .pull-right[ ![](http://www.science.smith.edu/datafest/wp-content/uploads/sites/12/2019/04/a_super_nova-768x682.png) ] --- ## The Two Codes Your Kids Need to Know > Of all the skills and knowledge that we test young people for that we know are correlated with success in college and in life, which is the most important? Their answer: the ability to master “two codes” — *computer science* and the *U.S. Constitution*. - https://www.nytimes.com/2019/02/12/opinion/college-board-sat-ap.html -- - Take CSC 111 --- class: center, middle, inverse # Reading the book --- ## Online version vs. hard copy > I got the book cheap from a past student, so **I read a hard copy**, as it is difficult for me to absorb readings on computers. The book is definitely very helpful. > I definitely **read and comprehend better with a physical copy**, but it limits my ability to try things online. -- > I've used the **online version** of the book, and it's been helpful > Being able to **search the PDF book** has helped when I’m stuck during a lab. --- ## How to read > It is especially helpful to **run sample code as I read along**. > I use an e-book version of it because I prefer to have it on the computer, and I usually read it after class since I have found that that works best for me. **I follow along/play with the code** that is presented in the book. > I use the online version and **refer to it when I have a question** while working on homework or a lab and the lecture slides or my notes won't suffice. --- ## When to read - Before... > It's helpful for me to **do the reading before class**, so class can be a time for solidifying material rather than being exposed to it for the first time. -- - ...or after > I usually **review the chapters after class** to get a more comprehensive understanding of the topics covered. --- ## When to read - or both! > I use a hardback copy of the book and I find it most complementary to **skim over the concepts before class**, and then **read more in depth after class** once we have discussed the concepts together. --- ## Hands-on learning > I find that the **labs are the most influential** in my learning because I really enjoy hands-on/practical learning. > I think that **doing the actual coding** is the most useful part to me because I tend to learn best through trying things out myself. > **Labs and lecture** are much more effective learning methods for me. > textbook reading is always one of the least natural ways for me to learn - I do much better with **in-person, auditory, hands-on work** that lecture & labs help with. --- ## Consider a world map puzzle... .center[![](https://www.wikihow.com/images/thumb/1/1f/Memorise-the-Locations-of-Countries-on-a-World-Map-Step-8.jpg/aid75917-v4-1200px-Memorise-the-Locations-of-Countries-on-a-World-Map-Step-8.jpg)] --- ## Big picture vs. small picture > The book helps me as a framework; it helps me learn about the **big picture**, while I find DataCamp more useful for the details. This combination is really useful because to me it's essential to have a blueprint (from the book) and then the tools and materials (from DataCamp) I need. -- - narrative form of book vs. coding details via DataCamp - read [Andrew Bray's review](https://amstat.tandfonline.com/doi/abs/10.1080/00031305.2018.1496649?journalCode=utas20#.XGQ24MZ7kUE) - see also [*R for Data Science*](https://r4ds.had.co.nz/) --- ## Depth .pull-left[ ![](https://media.giphy.com/media/PeleRtSdQUpjy/giphy.gif) ] .pull-right[ > Not only does the reading go **more in depth** into what is introduced in lecture, but it also provides many **examples and application** to data science in action in the real world. ] --- ## You lose some... .pull-left[ > I do **not find it very helpful**, because it is hard for me to read about code and read code; there is **not enough context** and engagement for my brain to process the information well. > Thus far I have found the textbook to **not be very helpful** > So far the book has been the **least helpful** method of content delivery. ] .pull-right[ ![](https://media.giphy.com/media/Pd8Bf06Sas4yQ/giphy.gif) ] --- ## ...you win some .pull-left[ ![](https://media.giphy.com/media/y8Mz1yj13s3kI/giphy.gif) ] .pull-right[ > The book is **very good at conveying conceptual ideas** and creating a better understanding of them versus lecture. > I **really like** how the textbook is structured, it is very simple to understand. > By now, I have found the book **helpful and interesting** to read. > Overall, I am **very satisfied/impressed** with the layout of this course ] --- class: inverse # Work on... 1. Mini-project \#1