Created
August 4, 2016 21:54
-
-
Save anonymous/95a7ab90b9d94e1dda401e8e4b135051 to your computer and use it in GitHub Desktop.
Create choropleth map
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data(df_pop_county) | |
ny_choro <- df_pop_county[1829:1890,] | |
ny_choro$value <- (subset(crime$Density.sq.mi, Year==2000)) | |
county_choropleth(ny_choro, | |
title = "New York Population Density by County", | |
legend = "Density", | |
num_colors = 1, | |
state_zoom = c("new york")) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment