Question
Please show R code for questions below: Part2) Data Wrangling Use the tidyverse library for the following: Download the following csv file, http://people.bu.edu/kalathur/usa_daily_avg_temps.csv locally first
Please show R code for questions below:
Part2) Data Wrangling
Use the tidyverse library for the following: Download the following csv file, http://people.bu.edu/kalathur/usa_daily_avg_temps.csv
locally first and use read.csv to load the data into a data frame.
a) Convert the data frame into a tibble and assign it to the variable usaDailyTemps.
b) What are the maximum temperatures recorded for each year? Show the values and also the appropriate plot for the results. c) What are the maximum temperatures recorded for each state? Show the values and also the appropriate plot for the results. d) Filter the Boston data from usaDailyTemps and assign it to the variable bostonDailyTemps.
e) What are the average monthly temperatures for Boston? Show the values and also the appropriate plot for the results. Use the bostonDailyTemps.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started