View source: R/testpoints_block2020.R
testpoints_block2020 | R Documentation |
Get lat lon pop and area for random US census blocks (where avg person lives or other weighting)
testpoints_block2020(size, weighting = "area")
size |
number of unique test points needed (no duplicates will be returned) |
weighting |
is "people" for average resident; or "block" for average census block, or "area" for average square meter If FALSE, unweighted, so each block has equal chance of being selected. |
data.frame with columns lon and lat, in decimal degrees, and area and pop count
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.