Question: I am trying to clean this date by using the unite, filter, and arrange functions in R. Something keeps going wrong. I explain in the

 I am trying to clean this date by using the unite, I am trying to clean this date by using the unite, filter, and arrange functions in R. Something keeps going wrong. I explain in the photo below what I am trying to do. The beginning of dataset "NFLStandings" is shown above. Can someone please help, I am struggling.

filter, and arrange functions in R. Something keeps going wrong. I explain

I started by combining team (city) and team name together because there was no reason to have two seperate columns. Then I narrowed down the data to only showing 2015 to 2019 because I got into football around 2015 and I want to see which teams were the best and worst during that time period. Lastly I put the teams in order of decreasing wins, so the teams with the most wins were at the top for each year. {r} NFLStandings %/% unite(team, team_name, sep= " ") %/% filter ( year >2009)%/% arrange(year, desc(wins)) Error in unite(team, team_name, sep =" ") : object 'team' not found

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!