The COVID-19 pandemic that began in 2020 had significant implications on the operations of public health entities in the United States. To combat the COVID-19 pandemic, public health officials, scientists, and world leaders facilitated the distribution of COVID-19 vaccinations. In particular, in California, vaccination of COVID-19 averted 1,523,500 COVID-19 cases, 72,930 hospitalizations and 19,430 deaths (Tan et al., 2022). Annually, human seasonal influenza virus is responsible for cases of flu. Globally, this virus results in 250,000−500,000 deaths annually, and these deaths predominantly occur among children (Li et al., 2018).
The purpose of this report was to investigate the association between COVID-19 vaccination and incidence of flu cases, as well as severity of these flu cases. In particular, we wanted to understand this association among children (ages 0-17) and restricted the analysis to Southern California counties (Los Angeles, Imperial, Inyo, Mono, Orange, Riverside, San Bernardino, San Diego, San Luis Obispo, Santa Barbara, and Ventura). Children and racial minorities (large population of minorities in Southern California) are disproportionately impacted by the infectious diseases, therefore, this investigation focused on those groups. In addition to investigating the above association, we wanted to determine the association between rates of COVID-19 vaccinations and race/ethnicity groups in Southern California counties among 0-17 year olds.
The data utilized in this report was obtained from the California Department of Public Health. Three relevant data sets were drawn upon to complete the analysis. The first data set described the number of weekly flu cases and severity of cases in California counties (except Los Angeles). This data also described demographic categories of California counties (except Los Angeles). The second data set described the number of weekly flu cases and severity of cases in Los Angeles county. This data also described demographic categories of Los Angeles county. Finally, a third data set was utilized which included quarterly COVID vaccination rates and also indicated county and age category.
Missing data was removed to facilitate data wrangling and manipulation. The data was cleaned to standardize column types, column names, and date formats for the merging of the datasets. In addition, date of diagnosis of flu cases were standardized across all data sets to be represented as quarters to match the vaccination data.
New variables for cumulative incidence and rate/incidence were created. Racial and ethnic categories for all data points were categorically encoded to ‘dummy variables’. Following the cleaning and manipulation of the data sets, the data relevant to the objectives of this investigation were included per inclusion criteria. Data relevant to the age group of 0-17 years old was included, and data from all Southern California counties was included (Los Angeles, Imperial, Inyo, Mono, Orange, Riverside, San Bernardino, San Diego, San Luis Obispo, Santa Barbara, and Ventura).
Table 1 shows the vaccination rates and flu cases in each county in Southern California for adolescents by race/ethnicity and quarter. It also includes cumulative incidence of flu cases, severe flu cases, estimated population, as well as fully vaccinated rate, one vaccination rate, and cumulative up-to-date vaccination rate. Figure 1 presents the relationship between COVID-19 full vaccination rate and the cumulative incidence of the flu. This scatter plot shows that the incidence of flu increases from quarter 1 to quarter 3 but decreases at quarter 4. However, the rate of COVID-19 vaccination did not influence the cumulative incidence of flu in all four quarters. Figure 2 shows the relationship between the COVID-19 full vaccination rate and the percentage of severe flu cases. This scatter plot shows that the percentage of severe flu cases remained low regardless of the COVID-19 vaccination rate and quarter. There is no correlation between COVID-19 vaccination rates and flu cases, as well as no correlation between COVID-19 vaccination rates and cumulative incidence of flu. In Figure 3, the bar graph shows the percent fully vaccinated for COVID-19 by each Southern California county as well as by race/ethnicity. These bar charts show that the highest vaccination rates were among Native Hawaiian and Pacific Islander adolescents, while Black or African American and Latinx adolescents typically presented with lower vaccination rates across the Southern California counties. Figure 4 is a scatter plot that shows the distribution of percent fully vaccinated for COVID-19 by race/ethnicity, and shows similar conclusions that were drawn when looking at Figure 3.
# Import cleaned data from Project Milestone 3
vax_data_final <- read_csv("data/vax_data_final.csv")
flu_ca_la_dat <- read_csv("data/flu_ca_la_dat.csv")
# Change race_ethnicity and column names to match in both datasets
flu_ca_la_dat <- flu_ca_la_dat %>%
mutate(race_ethnicity = case_when(
race_ethnicity == "American Indian or Alaska Native, Non-Hispanic" ~ "American Indian or Alaska Native",
race_ethnicity == "Asian, Non-Hispanic" ~ "Asian",
race_ethnicity == "Black, Non-Hispanic" ~ "Black or African American",
race_ethnicity == "Hispanic (any race)" ~ "Latino",
race_ethnicity == "Multiracial (two or more of above races), Non-Hispanic" ~ "Multiracial",
race_ethnicity == "Native Hawaiian or Pacific Islander, Non-Hispanic" ~ "Native Hawaiian or Other Pacific Islander",
race_ethnicity == "White, Non-Hispanic" ~ "White"))
flu_ca_la_dat <- rename(flu_ca_la_dat, quarter= qt_diagnosis)
# Merge 2 datasets
flu_vax_ca_data_final <- full_join(x = flu_ca_la_dat, y = vax_data_final, c("county", "race_ethnicity", "quarter"))
flu_ca_la_dat_fmt <- flu_vax_ca_data_final %>%
rename("County"= "county",
"Race/Ethnicity"= "race_ethnicity",
"Quarter"= "quarter",
"Cumulative Incidence of Flu Cases (%)"= "cumulative_incidence",
"Severe Flu Cases (%)"= "percent_severe_cases",
"Estimated Population"= "estimated_pop",
"Fully Vaccinated Rate (%)"= "fully_vax_rate",
"One Vaccination Rate (%)"= "one_vax_rate",
"Cumulative Up to Date Vaccination Rate (%)"= "dt_vax_rate") %>%
mutate(across(where(is.numeric), round, 2))
flu_ca_la_dat_fmt_2 <- flu_ca_la_dat_fmt %>%
select(County, `Race/Ethnicity`, Quarter, `Cumulative Incidence of Flu Cases (%)`, `Severe Flu Cases (%)`, `Fully Vaccinated Rate (%)`)
library(DT)
flu_ca_la_dat_dt <- datatable(
flu_ca_la_dat_fmt_2,
options = list(
pageLength = 10,
lengthMenu = c(10, 25, 75, 150),
order = list(0, 'asc'),
columnDefs = list(list(className = 'dt-center', targets = 0:5)),
dom = 'ltip'
),
filter = "top",
rownames = FALSE,
class = "display"
)
flu_ca_la_dat_dt
library(plotly)
flu_vax_ca_data_final$fully_vax_rate[flu_vax_ca_data_final$fully_vax_rate >100] <- 100
vax_scatter <- plot_ly(data = flu_vax_ca_data_final, x = ~cumulative_incidence, y = ~fully_vax_rate, type= "scatter", color= ~quarter, colors = "Set2") %>%
layout(title = "Cumulative Incidence of Flu and COVID Full Vaccination Rates in Southern California Across Quarters",
font = list(size = 8),
yaxis=list(title= "COVID Full Vaccination Rate", range=list(0,105)),
xaxis=list(title="Cumulative Incidence of Flu (Percent)", range=list(0,50)))
vax_scatter
Figure 1. The above scatter plot shows us that the cumulative incidence (CI) of flu increases from Q1 to Q3, but decreases at Q4. There is no correlation between the cumulative incidence of flu and COVID-19 full vaccination rate in Southern California counties among the age group 0-17 years old. *Please note 38 observations were not included as CI data was not available for certain counties during certain quarters.
vax_severe_scatter <- plot_ly(data = flu_vax_ca_data_final, x = ~percent_severe_cases, y = ~fully_vax_rate, type= "scatter", color= ~quarter) %>%
layout(title = "Percentage of Severe Flu Cases and COVID Full Vaccination Rates in Southern California Across Quarters",
font = list(size = 8),
yaxis=list(title= "COVID Full Vaccination Rate", range=list(0,105)),
xaxis=list(title="Percentage of Severe Flu Cases", range=list(-0.5,1.5)))
vax_severe_scatter
Figure 2. The above scatter plot shows us that the percent of severe flu cases generally remained at a low percentage across all four quarters. There is no correlation between the COVID-19 full vaccination rates and percentage of severe flu cases in Southern California counties among the age group 0-17. *Please note 38 observations were not included as percent severe case data was not available for certain counties during certain quarters.
ggplot(flu_vax_ca_data_final,
aes(x=race_ethnicity, y=fully_vax_rate)) +
geom_bar(position = "dodge", stat = "identity", aes(fill = race_ethnicity)) +
scale_x_discrete(guide = guide_axis(n.dodge=2)) +
labs(title = "Fully Vaccinated Rates across Race/Ethnicity in Adolescents 0 to 17 years",
x = "Race/Ethnicity",
y = "Percent Fully Vaccinated") +
guides(fill=guide_legend(title="Race/Ethnicity")) +
theme_classic(base_size = 18) +
theme(legend.text=element_text(size=15)) +
facet_wrap(~county) +
scale_fill_brewer(palette = "Set2")
Figure 3. The above bar graph visualizes the distribution of fully
vaccinated rates across race/ethnicity groups among among adolescents
(0- to 17-years-old) in California counties. Black and Latinx
adolescents generally have the lowest fully vaccinated rate across the
counties. In Imperial County, there is a big dip in fully vaccinated
rates in Black adolescents, but the rate is high for Latinx adolescents.
Native Hawaiian or Other Pacific Islander adolescents generally have the
highest fully vaccinated rate across all counties combined.
install.packages("plotly")
library(plotly)
vax_race_scatter <- plot_ly(
data = flu_vax_ca_data_final,
x = ~race_ethnicity,
y = ~fully_vax_rate,
type = "scatter",
color = ~race_ethnicity) %>%
layout(title = "Rates of COVID Full Vaccination Rates in Southern California Across Race/Ethnicity, Ages 0-17",
font = list(size = 8),
yaxis=list(title= "COVID Full Vaccination Rate"),
xaxis=list(title="Race/Ethnicity"))
vax_race_scatter
Figure 4. The above scatter plot visualizes fully vaccinated rates across race/ethnicity groups among among adolescents (0- to 17-years-old) in California counties. The rates of COVID-19 vaccination rates are lowest among Black, Latinx, and Multiracial adolescents, and highest among Asian, Native Hawaiian or Other Pacific Islander, and White adolescents.
After completing the data cleaning, visualization, and analysis for our final merged data set, we were able to clearly address whether we were able to address whether there was an association between COVID-19 vaccination and incidence of flu cases, as well as severity of these flu cases, specifically in Southern California counties among children/adolescents (0-17 years old). In addition, we utilized our visualizations and analysis of these visualizations to determine the association between rates of COVID-19 vaccinations and race/ethnicity groups in Southern California counties among 0-17 year olds.
When looking at Figure 1 in particular, we were not able to observe a linear trajectory that indicated an association between COVID-19 vaccination and incidence of flu cases. In fact, there appeared to be no pattern between these two variables. Looking at Figure 2, this scatter plot did not appear to show any discernible pattern indicating a linear association between COVID-19 vaccination and severity of flu cases, let alone any association at all. It appears that in general, the percentage of severe flu cases is relatively low, especially amongst this young age group.
Both Figure 3 and 4 indicated that the rates of COVID-19 vaccination rates are lowest among Black and Multiracial adolescents, and highest among Native Hawaiian or Other Pacific Islander and White adolescents. The conclusions drawn from these figures are mostly supported by literature and research conducted on adult individuals, which indicates that Latinx and Black individuals have lower vaccination rates, and Asian, Native Hawaiian or Other Pacific Islander, and White individuals have higher vaccination rates (Na et al., 2023).
Overall, while there appeared to be no association between COVID-19 vaccination and incidence and severity of flu cases, our analysis indicated that there may be an association between race/ethnicity and COVID-19 vaccination rate. Additional statistical analysis, such as multiple linear regression, would be useful in confirming the association between race/ethnicity and COVID-19 vaccination rate in this particular population. Of note, the association uncovered between race/ethnicity and COVID-19 vaccination rate is only generalizable to the sample population studied in this analysis, and should cautiously be applied when discussing other populations.