Create a map with colored polygons and coordinate points by using a .shp file in combination with another dataframe with coordinates
I have the following map boundaries in this .gdb folder and here I have a csv which contains the variables that I want to plot and the coordinates of the points that need to be displayed on the map. My final goal is to create a map with polygons and inside every polygon there should be points according to the coordinates. Every polygon should be colored according to the count of studentid (students) for the year 2019. Any alternative is accepted I believe that the 1st code chunk below is correct: library(sf) library(tidyverse) library(data.table) library(tigris) library(leaflet) library