nc_county_2020_pop' from data source ##https://drive.google.com/uc?export=download&id=1g9sGIikgOEubqoj97fUVoCYAKlBDVX5a’durham_schools <- st_read(“https://drive.google.com/uc?export=download&id=1ajKBLeKpFMW8z0HCbnLi4C44tgryCsRt”)
durham_schools' from data source ##https://drive.google.com/uc?export=download&id=1ajKBLeKpFMW8z0HCbnLi4C44tgryCsRt’tm_shape(nc_counties) + tm_polygons(fill = “POP2020”, fill.scale = tm_scale_intervals(values = “bu_pu”))
tm_shape(nc_counties) + tm_polygons(fill = “POP2020”, fill.scale = tm_scale_intervals(values = “bu_pu”, style = “quantile”))
tmap_mode(mode = “view”)
tm_shape(nc_counties) + tm_polygons(fill = “POP2020”, fill.scale = tm_scale_intervals(values = “bu_pu”, style = “quantile”))
tm_shape(nc_counties) + tm_polygons( fill = “POP2020”, fill.scale = tm_scale_intervals( values = “bu_pu”, style = “quantile”, n = 5 ), fill_alpha = 0.3, fill.legend = tm_legend( position = tm_pos_in(“left”, “bottom”), frame = TRUE, frame.r = 6, bg.color = “white”, item.height = 0.55, item.width = 0.55 ) ) + tm_title(“2020 Population by NC County”, size = 2) + tm_basemap(“OpenStreetMap”) + tm_layout( text.fontfamily = “serif”, frame = TRUE, frame.r = 15 )
acs_tract_nc <- st_read(“https://drive.google.com/uc?export=download&id=1xjkxq0KaIMAd8ag0e_m2B1O_he2CSyVR”) |> filter(COUNTYFP %in% c(“135”, “183”, “063”))