TDM 10100: Project 13 — 2022
Motivation: This semester we took a deep dive into R and it’s packages. Lets take a second to pat ourselves on the back for surviving a long semester and review what we have learned!
Dataset(s)
The following questions will use the following dataset(s):
-
/anvil/projects/tdm/data/beer/beers.csv
Questions
ONE
Read in the dataset and into a data.frame called beer
-
What is the file size, how many rows, columns and type of data?
-
What is the average score for a
stout? (consider a stout any named beer from the columnnamewith the wordstoutin it) -
How many
Pale Ale’sare on this list? (consider a stout any named beer from the columnnamewith the wordpaleandalein it)
-
Code used to solve this problem.
-
Output from running the code.
TWO
-
Plot or Graph all the beers that are available in the summer and their ratings.
-
Code used to solve this problem.
-
Output from running the code.
THREE
-
Create a plot of the average rating of beer by country.
-
Code used to solve this problem.
-
Output from running the code.
FOUR
-
Do
limitedruns of beer have a greater median rating than all others? (consider limited to be any beer that has the wordLimitedin theavailablitycolumn) -
Use the
uniquefunction to investigate the availablity column. Why are there different labels that are technically the same?
|
Please make sure to double check that your submission is complete, and contains all of your code and output before submitting. If you are on a spotty internet connection, it is recommended to download your submission after submitting it to make sure what you think you submitted, was what you actually submitted. In addition, please review our submission guidelines before submitting your project. |