Skip to contents

All functions

calculate_svi()
Get data from the U.S. Census Bureau's American Community Survey and calculate the Social Vulnerability Index for the specified region(s)
calculate_svi_2016()
Calculate the 2016 SVI for the given region
calculate_svi_2018()
Calculate the 2018 SVI for the given region
calculate_svi_2020()
Calculate the 2020 SVI for the given region
get_2000_2010_data()
Separate function to get 2000 and 2010 data from the CDC as these datasets aren't stored in the same scheme as other years.
get_region_states()
Called when user specifies a region in which to calculate the SVI
get_svi_from_cdc()
Download SVI data files directly from the CDC ATSDR Website.
svibuildr
Return a social vulnerability index for a specified region according to the CDC ATSDR methodology using the tidycensus package developed by Kyle Walker.
validate_state()
Utility functions for use in other functions Called to check to see if "state" is a FIPS code, full name or abbreviation. modified from function in tidycensus by Kyle Walker