Currently, the primary functions for this package create data frames and spatial object
This example shows how to load marginalization data and create a plot showing Deprivation by region.
library(onmaRg)
library(ggplot2)
<- om_geo(2016, "DAUID", "sf") %>%
DA_2016 filter(CSDNAME == "Toronto")
<- ggplot() +
plot geom_sf(data=DA_2016, aes(fill=DEPRIVATION_Q_DA16))