class: center, middle, inverse, title-slide # Lab 05 ## Data wrangling & regression ### 02.13.20 --- ## Agenda 1. Lab introduction 2. Password caching --- ## Lab introduction - <font class="vocab">Data:</font> [Airbnb.com](https://www.airbnb.com/) listings in Nashville, - The data is from [insideairbnb.com](http://insideairbnb.com/) - <font class="vocab">Goals: </font> - **Data wrangling**: cleaning and transforming data so it is in a format that can be used for statistical analysis - **Regression**: Fit an interpret a model to predict the total cost to stay at an Airbnb for 3 nights. - <font class="vocab">Tips: </font> - Use the links in the lab instructions to see documentation for some of the functions needed for today's lab. - Use [Chapter 5 in *R for Data Science*](https://r4ds.had.co.nz/transform.html) as a resource for the data wrangling functions - Use the lecture notes and textbook a reference for the concepts in multiple regression. --- ## Caching your password You need to cache your password on a per-project basis: - Go to the **Terminal** within a project - Example: Type the following to cache your password for 7 days, i.e. `\(60 * 60 * 24 * 7 = 604800\)` seconds ```bash git config --global credential.helper 'cache --timeout 604800' ```