Description Usage Arguments Details
Takes a SpatialPolygonsDataFrame with summary information, generates the appropriate number of random points and returns a SpatialPointsDataFrame
1 2 3 4 | pointifyCensus(spdf, erwe = NULL, dropnames = c("ID", "OBJECTID",
"Geometry_s", "GAVPrimar0", "Geometry_1", "SP_CODE", "SP_Code", "MP_CODE",
"MP_Code", "MN_CODE", "MN_MDB_C", "DC_MN_C", "Shape_Leng", "Shape_Area",
"fakeData", "GAVPrimary", "Total"), verbose = TRUE, ...)
|
spdf |
A SpatialPolygonsDataFrame |
dropnames |
A character vector of column names that should not be included |
verbose |
Logical. Displays function messages if TRUE |
... |
Arguments to be passed to/from other methods |
The numeric columns are counts of responses to categorical questions in the census e.g. Which energy carrier do you use for heating.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.