Skip to contents

Overlay blockgroups near 1 site, after plot_blocks_nearby(returnmap = TRUE)

Usage

map_blockgroups_over_blocks(y)

Arguments

y

output of plot_blocks_nearby() but with returnmap = TRUE

Value

leaflet map widget

Details

Uses cached full-detail TIGER/Line blockgroup boundaries for the package's ACS vintage. Generalized cartographic boundaries are faster to draw but can move edges relative to the displayed block points, so this overlay explicitly retains detail.

Examples

 y <- plot_blocks_nearby(testpoints_10[5,],
        radius = 3,
        returnmap = TRUE)
 map_blockgroups_over_blocks(y)