Tidyverse Exercises

In this project, we’ll take on the role of a data scientist for a fictional soccer team, the Swifts. The team is in the midst of a highly competitive season and needs our help analyzing their performances over the last few years to identify areas of improvement.

To accomplish this, they gave us two datasets: MatchData and PlayerData. The datasets require some manipulation to pull out the facts they’re looking for, but with our expertise in the tidyverse, we’re up to the challenge! The MatchData dataset contains information on the team’s performance over the last three years against various teams. The PlayerData dataset contains information on specific player performance by match in the previous three years and each player’s current age.

These exercises will help to solidify our understanding of the tidyverse and how it’s used in data science. All the tasks will be coded into the provided function definition. Outputs should be returned to the variables indicated. While the functions haven’t yet been discussed, this approach enhances the evaluation of the results and eliminates the need for any special coding.