Publications by Heather Lin

first

28.01.2021

this is the title this is the subtitle this is the text To create a chunk: shortcut (cmmd + opt + i) # my students are letting me know how much longer they can stand being in this zoom class minutes <- c(35, 30, 44, 28, 30, 60, 35, 45, 30, 60, 45, 120, 60, 50, 60, 30, 30) mean(minutes) ## [1] 46.58824 sd(minutes) ## [1] 22.5307 median(minutes) #...

196 sym R (262 sym/7 pcs) 1 img

Data110_AirqualityAssignment

09.02.2021

Loading in the Dataset pacman:: p_load(tidyverse) #library(tidyverse) Showing the Data datasets::airquality ## Ozone Solar.R Wind Temp Month Day ## 1 41 190 7.4 67 5 1 ## 2 36 118 8.0 72 5 2 ## 3 12 149 12.6 74 5 3 ## 4 18 313 11.5 62 5 4 ## 5 NA NA 14.3 56 ...

689 sym R (9915 sym/27 pcs) 6 img

Week9_Assignment_Webscraping

07.04.2021

Intall Packages # install.packages('rvest') library('rvest') #Specifying the url for desired website to be scraped url <- 'http://www.imdb.com/search/title?count=100&release_date=2016,2016&title_type=feature' #Reading the HTML code from the website webpage <- read_html(url) Rank Data #Using CSS selectors to scrape the rankings section rank_dat...

1057 sym R (10777 sym/41 pcs) 3 img

Week7Assignment

13.03.2021

library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, setequal, union library(ggplot2) library(tidyverse) ## ── Attaching packages ────────────────�...

99 sym R (3020 sym/18 pcs) 2 img

COVID-19 Global Vaccinations

10.03.2021

#install.packages("lubridate") library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ── ## ✓ ggplot2 3.3.3 ✓ purrr 0.3.4 ## ✓ tibble 3.1.0 ✓ dplyr 1.0.4 ## ✓ tidyr 1.1.2 ✓ stringr 1.4.0...

2871 sym R (8106 sym/33 pcs) 3 img

Data110_nycflights13

03.03.2021

library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ── ## ✓ ggplot2 3.3.3 ✓ purrr 0.3.4 ## ✓ tibble 3.1.0 ✓ dplyr 1.0.4 ## ✓ tidyr 1.1.2 ✓ stringr 1.4.0 ## ✓ readr 1.4.0 ✓ f...

31 sym R (4019 sym/14 pcs) 1 img

Data110_Week4Assignment

03.03.2021

Load packages #install.packages("treemap") #install.packages("RColorBrewer") Load libraries library(treemap) library(tidyverse) ## ── Attaching packages ─────────────────────────────────────── tidyverse 1.3.0 ── ## ✓ ggplot2 3.3.3 ✓ purrr 0.3.4 ## ✓...

895 sym R (22282 sym/42 pcs) 7 img

Week8_DSLabs

31.03.2021

Retrieving Data from DSLabs library("dslabs") data(package = 'dslabs') list.files(system.file("script", package = "dslabs")) ## [1] "make-admissions.R" ## [2] "make-brca.R" ## [3] "make-brexit_polls.R" ## [4] "make-death_prob.R" ## [5] "make-divorce_margarine.R" ...

660 sym R (3021 sym/13 pcs) 1 img

Visualizing Different Factors Influencing Happiness

14.05.2021

Importing CSV File setwd("~/Desktop/DATA110/Datasets") # each year had its own dataset, so import each separatly data2015 <- read.csv("2015.csv") data2016 <- read.csv("2016.csv") data2017 <- read.csv("2017.csv") data2018 <- read.csv("2018.csv") data2019 <- read.csv("2019.csv") data2020 <- read.csv("2020.csv") Importing Libraries library(dplyr) ...

4002 sym R (10721 sym/52 pcs) 3 img

Immunization Rate in California Elementary Schools from 2001-2015

21.04.2021

Loading in the Dataset setwd("~/Desktop/DATA110/Datasets") data <- read.csv("kindergarten_CA.csv") Install Needed Libraries library(dplyr) ## ## Attaching package: 'dplyr' ## The following objects are masked from 'package:stats': ## ## filter, lag ## The following objects are masked from 'package:base': ## ## intersect, setdiff, seteq...

2493 sym R (6284 sym/35 pcs) 3 img