I have a dataset that has NYC Zip codes, and in a different dataset, I have lat and long codes. I am aware that I can use Leaflet to create an interactive but when I try run it on the 167K rows of data, R Studio freezes and struggles to load the data. I done that using the below code
leaflet(nyctest) %>%
addTiles() %>%
addMarkers(lat = ~Latitude, lng = ~Longitude
My question, is there a way to create an interactive map using the New York City Zip codes?
Example of the zip codes data:
11001, 11021, 11050, 11101, 11102, 11103, 11104, 11105
Thanks in advance!