pointifyCensus: Pointify Census Polygon

Description Usage Arguments Details

Description

Takes a SpatialPolygonsDataFrame with summary information, generates the appropriate number of random points and returns a SpatialPointsDataFrame

Usage

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, ...)

Arguments

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

Details

The numeric columns are counts of responses to categorical questions in the census e.g. Which energy carrier do you use for heating.


christiaanpauw/AQoffset documentation built on May 13, 2019, 6:57 p.m.