Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please use R to answer the following questions. Include comments so I can follow along and learn more easily library(tidyverse) data(storms) storms %>% glimpse() Q1.

Please use R to answer the following questions. Include comments so I can follow along and learn more easily

library(tidyverse)

data(storms)

storms %>% glimpse()

Q1. When and where (in latitude and longitude) did Hurricane Sandy start, according to the dataset?

Q2. During Hurricane Sandy, what was the maximum wind speed (in knots), and when did the wind speeds peak?

Q3. Which year has the most storms? (Hints: chain group_by with summarize(n = n_distinct(name)))

Q4. Which storm has the highest average wind speed? (Hint: storm name can be reused, so group by name, year)

Q5. What are the top 3 hurricanes in terms of the average area of impact (i.e., average hu_diameter)? (Hint: make sure you filter storms that are hurricanes)

In your submission, you must:

Use dplyr to find the answers.

Use complete sentences to describe your answers.

Comment on your code if necessary.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Learning PostgreSQL

Authors: Salahaldin Juba, Achim Vannahme, Andrey Volkov

1st Edition

178398919X, 9781783989195

More Books

Students also viewed these Databases questions

Question

1. What are the major sources of stress in your life?

Answered: 1 week ago