misuvi_load {misuvi}R Documentation

Load MI-SUVI Data

Description

This function allows the user to select the MI-SUVI data set they want returned.

Usage

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

Arguments

geography

Choose the geographic level you want returned to you. "county" or "zcta".

type

Select the type of data frame you would like. Options include "metrics", "percentiles", "zcores", and "ranks".

moe

Logical – choose whether margin of error variables are returned. This applies to the "metrics" data sets only.

Value

A clean data.frame of MI-SUVI data.

Examples

zcta_metrics <- misuvi_load("zcta", "metrics")
county_zscores <- misuvi_load("county", "zscores")



[Package misuvi version 0.1.0 Index]