Something

sid
Test
Author

sid

Published

April 12, 2023

library(tidyverse)
library(ggplot2)
knitr::opts_chunk$set(echo = TRUE, warning=FALSE, message=FALSE)

Part 1. Introduction

#reading in air quality data

#reading in deaths dataset
deaths <- read_csv("siddatafolder/2021-05-14_deaths_final_1999_2013_county_year_sup.csv") %>%
  #filtering for occurrence deaths (i.e. all deaths that occurred, disregarding residence)
  filter(Geography_Type == "Occurrence") %>%
  #de-selecting geography type as they are now all occurrence
  select(-Geography_Type)

ggplot(deaths, aes(x=Year, y = Count)) + geom_bar(stat="identity")