Please use R/R markdown. Please answer with the acutal R code rather than just the steps. Thank
you
1. We will use the state level COVID-19 data ('I.state') and population ('pop.state') available
in the 'IDDA' package, and the geospatial information from: {r eval =T} a. Calculate the weekly
risk of each state and create a 'weekly_risk' variable, which contains the number of newly
infected cases in the week (December 5 to December 11, 2020) for each state divided by its
population. b. Draw a choropleth map to display the weekly risk for each state. You can change
the opacity and the weight of the borderlines according to your aesthetic preferences. Use
'colorBin' to color the states. c. Generate the highlighted label with the state name and the value
of 'weekly_risk', an population, and display the label when the mouse moves over to the state. d.
Save your leaflet map as an HTML file.