Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
pengdsci committed Mar 8, 2024
1 parent c2c3fdd commit 46be66f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions index07.html
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,14 @@ <h5>Assignments</h5>
<li>b. Take a random sample 500 gas stations from the US to plot on the map</li>
<li>c. The information to be included in the hover/popups: State, county, address and the zip code.</li>
</ul>
<li><a href="https://pengdsci.github.io/STA553VIZ/w08/PhillyCrimeSince2015.csv"> <b>Philly Crime Data (2015-2024)</b>[link]</a>: This is longitudinal data that contains crime cases since 2015. Use this data to do the following:</li>
<uL>
<li>a. o a. Use appropriate R string functions to extract information of <b>year</b> from the variable <b>date</b> and then add the new variable <b>year</b> to the data set.</li>
<li>b. Create a subset containing only 2023 data.</li>
<li>c. Choose a map library to make an interactive map to plot crime locations and use different colors to label fatal and non-fatal crimes.</li>
<li>d. Add relevant information such as title and annotations to the map. </li>
<li>e. Include other important information in the hover message box.</li>
</uL>

<b>Assignment Due:<font color = "red"> <b>Wednesday, 11:30 PM </b></font></b>
</ol>
Expand Down

0 comments on commit 46be66f

Please sign in to comment.