Simple r studio coding.

Job ID: 33655508

Budget: $60 – $100 USD

You are only permitted to use the tidyverse, lubridate, knitr, and kableExtra packages in R - No other packages or modules are necessary. You will submit an Rmd file that should contain all R code to answer the questions below.

The file brookvilleWeatherData.csv Download brookvilleWeatherData.csvcontains temperature records (in degrees Fahrenheit) for a weather station in nearby Brookville, Indiana from May 1925 through part of 2021. This data was obtained from the National Centers for Environmental Information (NCEI) within the National Oceanic and Atmospheric Administration (NOAA), You will be munging this data to build an aesthetically pleasing table and graphic.

Data Dictionary- variables and values
DATE: yyyymmdd format
Measure:
TMIN = daily observed LOW temperature (F)
TTMAX = daily observed HIGH temperature (F)
TOBS = daily observed temperature (F), at specific time
Value: temperature in degrees Fahrenheit

Part 1
Using tidyverse functionality, wrangle the data in brookvilleWeatherData.csv Download brookvilleWeatherData.csvto construct a 12x3 table where:

first column is the reported Month (Jan, Feb, Mar, etc...),

second column is the average monthly low temperature (in degrees Celsius) for all data recorded from January 1, 1940 through December 31, 2020,

third column is the average monthly high temperature (Celsius) for all data recorded from January 1, 1940 through December 31, 2020.

The table should be output in a knitted RMarkdown document in a well-formatted and easy to read form.

PART 2

For this part of the assignment you will perform some data wrangling to construct a multiple layered plot where the x-axis corresponds to the day in a given year (January 1st, January 2nd, etc...) for all days excluding February 29th (thus 365 points along the x-axis). The plot will have a ribbon layer where the lower bound corresponds to the average daily minimum temperature (in Celsius) on that day for all days from 1940 through 2010 and the upper bound corresponds to the average daily maximum temperature. Another layer will plot the average daily minimum and average daily maximum temperatures for all days from 2011 through 2020. An example Download exampleof an unlabeled and ugly plot of this type can be found below. Your constructed plot must be properly labeled and annotated with well-chosen aesthetics to tell the story of what is being reported.



Hints and Tips
For part 2, there are 28586 unique dates in that window after excluding February 29th.
Clean up your Table in Part 1 with kableExtra: https://cran.r-project.org/web/packages/kableExtra/vignettes/awesome_table_in_html.html
Related categories: Data Processing R Programming Language