Access the Michigan Substance Use Vulnerability Index (MI-SUVI)

Easily import the MI-SUVI data sets. The user can import data sets with full metrics, percentiles, Z-scores, or rankings. Data is available at both the County and Zip Code Tabulation Area (ZCTA) levels. This package also includes a function to import shape files for easy mapping and a function to access the full technical documentation. All data is sourced from the Michigan Department of Health and Human Services.


Access the 'Michigan Substance Use Vulnerablility Index' with misuvi

This package allows users to easily access the MI-SUVI data sets. The user can import data sets with full metrics, percentiles, Z-scores, or rankings. Data is available at both the County and Zip Code Tabulation Area (ZCTA) levels.

"The MI-SUVI was created to consider the diverse factors that influence a community’s vulnerability related to substance use. The MI-SUVI is a single, standardized score that considers multiple factors that influence a community’s vulnerability related to substance use, including indicators related to substance use burden, resources, and social vulnerability." (MDHHS, 2024)

Installation

To install from CRAN:

install.packages("misuvi")

Or install from GitHub:

devtools::install_github("brendensm/misuvi")

Main Functions

  • misuvi_load — Loads the MI-SUVI data set of your choice. Defaults to County metrics.
  • add_geometry — Adds shape files to your MI-SUVI data.
  • documentation — Launches a browser with the full technical documentation of the MI-SUVI data.
  • dictionary — Provides a data frame with a more detailed name of the abbreviated variables that misuvi_load returns.

Usage

Loading Data

By default, the misuvi_load function returns the raw metrics of Michigan Counties without the margin of error variables.

library(misuvi)

misuvi_load(geography = "county", type = "metrics", moe = "FALSE")

To return ZCTAs, simply change geography to "zcta". Likewise we can choose to return ranks, zscores, or percentile ranks too.

misuvi_load("zcta", type = "ranks")

misuvi_load("zcta", type = "zcores")

misuvi_load("zcta", type = "percentiles")

References

Michigan Department of Health and Human Services. (2024). Michigan 2022 Substance Use Vulnerability Index Documentation(Version 1). https://www.michigan.gov/opioids/-/media/Project/Websites/opioids/documents/edc32Michigan-2022-SUVI-Documentation-562024.pdf?rev=3cd9b9477c194f3fb616292157918cc2.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("misuvi")

0.1.1 by Brenden Smith, 2 years ago


https://github.com/brendensm/misuvi


Browse source code at https://github.com/cran/misuvi


Authors: Brenden Smith [aut, cre, cph]


Documentation:   PDF Manual  


CC0 license


Imports curl, sf, tigris


See at CRAN