Description Usage Arguments Examples
View source: R/get_blockgroups.R View source: R/bg_data.R
Load Census block group data for Minnesota.
Load Census block group data for Minnesota.
1 2 3 | get_blockgroups(geoid = NULL, year = 2017)
get_blockgroups(geoid = NULL, year = 2017)
|
geoid |
c(x,y,z) a vector of block group IDs to return |
year |
The MNRISKS results year. Default value is 2017. |
1 2 3 4 5 6 7 8 9 10 | # All block groups
bgs <- get_blockgroups()
# A single block group
bgs <- get_blockgroups(geoid = c(271090017024))
# All block groups
bgs <- get_blockgroups()
# A single block group
bgs <- get_blockgroups(geoid = c(271090017024))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.