This package provides a function, AddCensusDemographics, which takes a simple featrues object and adds 2010 Census data to the polygons in that object. It works even if the polygons in your simple features object do not line up with Census boundaries. It uses the Census API to download the requested data for each Census block in the county/counties requested, and allocates the population from each block to the polygons in your simple features object based on the percent of the block lying in each polygon.
Package details |
|
---|---|
Author | Scott T. Macdonell and Maia Woluchem |
Maintainer | Scott T. Macdonell <stmacdonell@gmail.com> |
License | MIT |
Version | 0.2.0 |
Package repository | View on GitHub |
Installation |
Install the latest version of this package by entering the following in R:
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.