Part 3: Merging the two datasets
Question 6: Ensure the zip codes in the map and ED visits datasets are in columns with identical names
Question 7: Join the map and ED visits datasets into your main dataset Pay attention to the order of the inner join
Question 8: Map the number of visits in each ZIP code
• Produce a color-coded map of NYC where the color of each ZIP codes the number of visits made in each ZIP
• The output should look as below
• Tip: The order of the inner_join you performed in Question 5 changed the structure of the resulting dataframe. To make the structure amenable to plot(), do the join again in the reverse order.
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions
Consult our trusted tutors.