It would be helpful to add a basic mapping function to the package. This would optional for users, because it would depend on tigris (to get shape file) and ggplot; both of these are already in Suggests. We would condition the usage of the basic mapping functionality on those package. Things to consider:
- what geospatial units should we allow?
- should the user provide their own shape file for non default options? For example, if we can provide county level maps but not other levels, is that useful? It seems that providing a basic shape file would make it more flexible
- what type of labeling etc should we allow? - should be minimal, with sensible defaults
- should users be able to provide as params their own labels? Or better just to return a ggplot object that can add layers to?
It would be helpful to add a basic mapping function to the package. This would optional for users, because it would depend on tigris (to get shape file) and ggplot; both of these are already in Suggests. We would condition the usage of the basic mapping functionality on those package. Things to consider: