Question: Answer the following questions from the betweenthepipes intro tutorial: Exploring Our Data https://github.com/meghall06/betweenthepipes Exploring Our Data count(hockey_data, game_id) is equivalent to Answer %>% count( Answer)

Answer the following questions from the betweenthepipes intro tutorial: Exploring Our Data

https://github.com/meghall06/betweenthepipes

Exploring Our Data

count(hockey_data, game_id) is equivalent to

Answer %>% count( Answer)

Game_id 2019020384 has Answer events

How many event_type have GOALs in them? Answer

Run the following code.

hockey_data %>% filter(event_type == "GOAL" | event_type == "SHOT") %>% group_by(event_team, game_id) %>% summarize(shots_on_goal = n()) %>% arrange(desc(shots_on_goal)) 

The highest number of shots on goal in a game is Answer by event_team Answer in game_id Answer.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!