Visualizing & Analyzing Data with R: Methods & Tools

Hult University Student Repository

This repo does not replace the University system of record. Please submit work and review policy at Canvas

Course Topics:

  1. Intro to R, R environment, installing libraries and loading packages
  2. Basic objects in R, different data types, testing and changing types, importing data into the R environment
  3. Basic data mining in R
  4. Creating Frequency histograms, analyzing different distributions, visualizing data
  5. Creating automated reports using R markdown, report streamlining

Course Learning Outcomes:

  • CLO1: Understand programming and problem solving in R
  • CLO2: Perform data cleaning, data visualization in R, and design a data science process
Date Lecture Lab Time
Mon Feb 27, 2023 Intro & Admin 1:30pm to 4:30pm
Thu Mar 2, 2023 Analytics & EDA 1:30pm to 4:30pm
Mon Mar 6, 2023 Reporting Fake Customer Lab 3pm to 5pm
Tue Mar 7, 2023 Geo-temporal McBroken Lab 3pm to 5pm
Thu Mar 9, 2023 Regression & Log.Reg 2pm to 4pm
Mon Mar 13, 2023 Decision Tree Modeling Lab 2:30pm to 5:30pm
Tue Mar 14, 2023 Time Series & NLP 2pm to 4pm
Tue Mar 21, 2023 Data Sources & Ethics 1:30pm to 4:30pm
Date Lecture Lab Time
Tue Mar 21, 2023 TBD 5pm to 8pm
Wed Mar 22, 2023 TBD 1:30pm to 4:30pm
Mon Mar 27, 2023 TBD 5pm to 8pm
Tue Mar 28, 2023 TBD 5pm to 8pm
Mon Apr 3, 2023 TBD 5pm to 8pm
Tue Apr 4, 2023 TBD 5pm to 8pm
Thu Apr 6, 2023 TBD 5pm to 7pm

R Packages to install

# Individually you can use 
# install.packages('packageName') such as below:
install.packages('ggplot2')

# or 
install.packages('pacman')
pacman::p_load(officer, flextable, qcc, ggplot2, ggdark, ggthemes, ggdark, rbokeh, maps, 
               ggmap, leaflet, radiant.data, DataExplorer,
               vtreat, dplyr, ModelMetrics, pROC,
               MLmetrics, caret, e1071, plyr, 
               rpart.plot, randomForest, forecast, dygraphs,
               lubridate, jsonlite, tseries, ggseas,
               arules,fst, recommenderlab,reshape2,
               TTR,quantmod, htmltools,
               PerformanceAnalytics,rpart, data.table,
               pbapply, rbokeh, stringi, tm, qdap, readr,
               dendextend, wordcloud, RColorBrewer,
               tidytext, radarchart, RCurl, openNLP, xml2, stringr,
               devtools, flexdashboard, rmarkdown, httr, tidyverse,ROSE)

For Mac users trying to install git, you need to install BREW first from here

Brew Terminal code: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Once downloaded you will need to copy paste two lines that are printed in console and execute them. then you have to type brew install git in terminal.