Tidy Tuesday Analysis — African American Achievements
Analysis of African American achievements throughout history
Introduction
This week’s Tidy Tuesday data consists of data on African American achievements throughout history. Given the recent events surrounding the Black Lives Matter movement, it seems fitting that we take some time to recognize the achievements of Black individuals and bring attention to the racism that they have faced and continue to face. You can take a look at this week’s data and how it was collected on the Tidy Tuesday GitHub repo:
Questions
- What were the top occupations of those who have made scientific-related achievements?
- How has the number of achievements changed over time?
- How does the distribution of achievement categories change over time?
Analysis
Let’s start by loading our packages and data.
# Load packages
library(tidytuesdayR)
library(tidyverse)
library(lubridate)
# Load data
tt_data <- tt_load(2020, week = 24)
science <- tt_data$science
firsts <- tt_data$firsts
How has the number of achievements changed over time?
Using the firsts
dataset, we can see the achievements from African Americans across a much wider range of topics than in the science
dataset. We can use this to visualize how the number of achievements has changed over time.
# Create data for notable time periods
laws <- data.frame(start = c(1861, 1954),
end = c(1865, 1968),
text = c("American Civil War\n(1861-1865)", "American Civil Rights\nMovement (1954-1968)"))
# Plot histogram of achievements over time
firsts %>%
ggplot() +
geom_histogram(aes(x = year),
breaks = seq(1735,2019,5),
fill = "steelblue") +
geom_rect(data = laws,
aes(xmin = start, xmax = end, ymin = 0, ymax = Inf),
fill = "orange",
alpha = 0.3) +
geom_text(data = laws,
aes(label = text, x = end+1, y = 40),
hjust = 0) +
scale_x_continuous(expand = expansion(mult = c(0,0.05))) +
labs(title = "How has the number of scientific-related achievements by African Americans changed over time?",
y = "Number of achievements",
x = "") +
theme_minimal()
We see the first major spike in achievements in the 1860s, which happens to be the decade in which the American Civil War and the resulting 13th, 14th, and 15th amendments to the U.S. Constitution took place. Before the noticeable spike in achievements during and after the civil rights movement (1954-1968), we can see another spike in the late 1940s. This matches up with the end of World War II (1945), the aftermath of which was arguably a major catalyst for the movement.
How does the distribution of achievement categories change over time?
As mentioned above, we can also look at the different categories for these African American achievements.
firsts %>%
ggplot() +
geom_histogram(aes(year),
breaks = seq(1735,2019,5)) +
geom_rect(data = laws,
aes(xmin = start, xmax = end, ymin = 0, ymax = Inf),
fill = "orange",
alpha = 0.3) +
facet_wrap(~category) +
aes(fill = category) +
labs(title = "How has the number of scientific-related achievements by African Americans\nchanged over time?",
y = "Number of achievements",
x = "") +
theme(legend.position = "none")
It seems that achievements in the Military, Politics, and Education & Science categories saw larger spikes on and shortly after both the Civil War and civil rights movement time periods. On the other hand, it looks as though achievements in Arts & Entertainment and Sports didn’t see a significant increase until post-WWII and into the civil rights movement.
This data and these visualizations were not only chosen to recognize the valuable achievements and contributions by African Americans throughout history, but also to highlight the history and impact of race-related events over time. As we move into the future, I have faith that we will continue taking steps towards true racial equality and witness even more increases in these lists of achievements.
Twitter
Facebook
Reddit
LinkedIn
Email