This week, we will be focusing on the Communicating the results of a data analysis project. The aim is to complete the full data analysis workflow including, importing,exploring and reporting on data. In this respect, there are an important set of packages we will utilise, these include:
readr
ggplot2
stringr
rmarkdown
blastula.
Ask a Manager is blogiste offering workplace-advice across several topics. In 2021, the site is conducting a salary survey. We will use the results of the survey to analyse, create a report and send the results through R.
Since the dataset is hosted on a googlesheet, you can use the googlesheets4 package to read in the data directly from the googlesheet. Alternatively, you can download the data, import into R.
Another objective in our assignment is to extract useful insight and provide meaningful insight. This objective will require some data wrangling, for example, you can use the stringr package to extract more uniform Job Titles or expressing the currency variable using a standard currency etc.
Once you have determined your insights, you must create a meaningful visualisation thereof. This part of reporting is important because visualisations without context can be misleading. As such, you must visualise the information and explain the content in the same document.
You must use Rmarkdown to render the word document, kindly include the set echo = TRUE to include the code used to generate the report.
The final step in the assignment is to send the generated (word-formatted) report to all the participants in the data team, cc the team leader, using the blastula package. Remember to personalise the email by including the participant’s name in the greeting line. Your email must include a short summary of the insight you would like to communicate.
HINT: For each of the packages above, google the package name along with the the term “tutorial”. e.g. “readr tutorial”.
HINT : writing ?{packagename}:: function (ggplot2::geom_line) on the console will return the function documentation on the Help.