How to add the zipcode labels and/or refrence map to a map made with zip_choropleth

54 Views Asked by At

I want to make a simple chloropleth map which shows the count for a value by zipcodes in a county. I feel like there must be a simple way to do this, I have a working function below that makes the map I want it to make everything is perfect aside from a lack of labels for zipcodes but I cant find anything on the internet on how to simply add the zipcode labels

df has a col for regions (zipcodes) and a col for value (a count for each zipcode)

zip_choropleth(df, county_zoom = X, title = "Title", legend = "legend", num_colors = 1) + coord_map()

Alternatively I could add a reference map to give it some context but I tried using reference_map = TRUE like in the link below but that no longer seems to work!

https://rdrr.io/github/arilamstein/choroplethrZip/man/zip_choropleth.html

0

There are 0 best solutions below