om_data | R Documentation |
This function loads Public Health Ontario's Ontario Marginalization Index data into a dataframe which includes geographic variables (e.g. DA labels, CSD labels) and associated values for the four OnMarg domains of Instability, Material Deprivation, Dependency and Ethnic Concentration.
om_data(year, level)
year |
Integer year of data to load |
level |
The level of precision to load, this can be "DAUID", "CTUID", "CSDUID", "CCSUID", "CDUID", "CMAUID", "PHUUID", "LHINUID", or "LHIN_SRUID" |
If the data file is unable to be downloaded, an error message will be produced.
A dataframe containing the Marginalization Index for every geographic identifier
DA_2016_data <- om_data(2016, "DAUID")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.