Health Outcomes

library(tidyverse)

MapData <- left_join(WACensusTracts, HealthData, by = c("FIPS"))

bins <- c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
pal <- colorBin("Blues", domain = MapData$Rank, bins = bins)

a <- leaflet(data = MapData) |>
  setView(-122.33, 47.6, 9) |>
  addTiles() |>
  addPolygons(
    fillColor = ~pal(Rank), 
    weight = 1, 
    opacity = 1, 
    color = "white",
    fillOpacity = 0.7
  ) |>
  addLegend(
    pal = pal, 
    values = ~Rank, 
    opacity = 0.7,
    title = 'Health Outcomes Rank',
    position = "bottomright"
    )
a

This map is intended to show the health outcomes for Washington State’s most highly populated metropolitan region, Seattle. Using the Washington Department of Health’s Health Outcome data, we show the metric differences as displayed throughout the greater city. Health Outcome is a conglomgeration of Body Mass Index, cancer rates, premature death and various other health metrics to show population longevity and health-quality-of-life. I chose this specific region as there is great inequality that is displayed regionally through the city, with South Seattle and the rest of the I-5 Corridor ranking much lower than the central region of the city.

Social Determinants

#install.packages("leaflet")
library(leaflet)

setwd("~/Desktop/GEOG 381/GEOG 381 - Intro to Leaflet")


library(tidyverse)


HealthData2 <- read_csv("Social Determinants.csv", 
  col_types = cols(FIPS = col_number(), 
    Rank = col_number()))

MapData2 <- left_join(WACensusTracts, HealthData2, by = c("FIPS"))
bins <- c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
pal <- colorBin("Blues", domain = MapData$Rank, bins = bins)

b <- leaflet(data = MapData2) |> 
  addTiles() |>
  addPolygons(
    fillColor = ~pal(Rank), 
    weight = 1, 
    opacity = 1, 
    color = "white",
    fillOpacity = 0.7
  ) |>
  addLegend(
    pal = pal, 
    values = ~Rank, 
    opacity = 0.7,
    title = 'Social Determinants Rank',
    position = "bottomright"
    )
b

This map displays the social determinants in the state of Washington, as outlined by the Washington State Department of Health. Social determinants are non-health factors such as access to transportation, linguistic and educational adherence to status quos, and disability rates that may impact individual access to quality health in the current system. These determinants may make it more difficult to access adequate health care facilities, explore care options, or respond timely to medical conditions.

Health Outcomes and Social Determinants are two factors whose trends can be seen in direct relation to each other. Social determinants (SDs) act as factors that can impede the capability to access quality and prompt healthcare, which in turn directly impacts expected health outcomes on a population-wide scale. Where SD rankings are low (good access to education, English as a first language, young populations), the Health Outcomes are much higher than their counterparts where SD rankings put them at an inherent disadvantage. There may be other confounding factors that set certain subsets of the population up for varying levels of Health Outcome success, Social Determinants play a substantive role in predictive capability.