R/dot-density.R
compute_dots.Rd
Some of the code is inspired by https://www.blog.cultureofinsight.com/2017/06/building-dot-density-maps-with-uk-census-data-in-r/
compute_dots(geo_data, categories, scale = 1, datum = NA)
The base geographic data (sp or sf format)
Vector of column names to re-aggreagte
How many units should be represented by 1 dot
allow the selection of dataum in which we sample dots in polygon