paste0(letters,1:5,collapse=":")
paste()
function.Name
includes the word “coffee” (in any case!)stringr
function!Inspection_Score
by
business (Name
) and Year
.City
variable so that it is in
title case. Then, modify your plot from 2.1 such that each city has a
different color.qmplot
function in the gmap
packagegeom_label_repel
load(url("https://pearce790.github.io/CSSS508/Lectures/Lecture8/restaurants.Rdata"))
paste0(letters,1:5,collapse=":")
# YOUR CODE HERE
paste()
function.ANSWER:
Name
includes the word “coffee” (in any case!)# YOUR CODE HERE
# YOUR CODE HERE
stringr
function!# YOUR CODE HERE
# YOUR CODE HERE
Inspection_Score
by
business (Name
) and Year
.# YOUR CODE HERE
# YOUR CODE HERE
# YOUR CODE HERE
City
variable so that it is in
title case. Then, modify your plot from 2.1 such that each city has a
different color.# YOUR CODE HERE
qmplot
function in the gmap
package# YOUR CODE HERE
Filter to coffee shops in Bellevue first!!
# YOUR CODE HERE
Hint: Use the select
, filter
, and
distinct
functions (in that order). Within
filter
, you’ll use str_detect
.
# YOUR CODE HERE
geom_label_repel
# YOUR CODE HERE