library(tidyverse)
library(ggplot2)
::opts_chunk$set(echo = TRUE, warning=FALSE, message=FALSE) knitr
Something
sid
Test
Part 1. Introduction
#reading in air quality data
#reading in deaths dataset
<- read_csv("siddatafolder/2021-05-14_deaths_final_1999_2013_county_year_sup.csv") %>%
deaths #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")