── Attaching core tidyverse packages ──────────────────────── tidyverse 2.0.0 ──
✔ dplyr 1.1.4 ✔ readr 2.1.5
✔ forcats 1.0.0 ✔ stringr 1.5.1
✔ ggplot2 3.4.4 ✔ tibble 3.2.1
✔ lubridate 1.9.3 ✔ tidyr 1.3.1
✔ purrr 1.0.2
── Conflicts ────────────────────────────────────────── tidyverse_conflicts() ──
✖ dplyr::filter() masks stats::filter()
✖ dplyr::lag() masks stats::lag()
ℹ Use the conflicted package (<http://conflicted.r-lib.org/>) to force all conflicts to become errors
library(babynames)
I wanted to look at different names that were popular but decreased over time and how these names became popular again. I looked at 6 female and 6 male names from the years 1900-1960 and 1990-2017. I predict that these graphs will show that these names decreased in popularity because of how common they were. However, after 30 years the names will become popular again because they were uncommon for a while and could also possibly be named after grandparents.
This first graph shows popular female names from 1900-1960 that decreased in popularity over those years. The names I selected were Ella, Emma, Evelyn, Grace, Lillian, and Clara. This chart shows that over a 60-year time, these names that were once very popular had a steady decrease.
babynames |>filter (name %in%c('Ella', 'Emma', 'Evelyn', 'Grace', 'Lillian', 'Clara')) |>filter (year >1900) |>filter (year <1960)|>filter (sex =='F') |>ggplot(aes(year, prop, color=name)) +geom_line() +theme_classic()+labs(x="Year", y="Popularity of Name", title ="Portion of 'Hipster' names from 1900-1960")
This graph shows the popularity of female names from 1990-2017. I used the same names in the previous chart to show that these names became popular again after 30 years. Even though these names decreased in popularity they made a comeback due to their uniqueness. It should also be noted that the babies born from 1990-2017 could have possibly been named after grandmothers as well.
babynames |>filter (name %in%c('Ella', 'Emma', 'Evelyn', 'Grace', 'Lillian', 'Clara')) |>filter (year >1990) |>filter (year <2017) |>filter (sex =='F') |>ggplot(aes(year, prop, color=name)) +geom_line()+theme_classic()+labs(x="Year", y="Popularity of Name", title ="Portion of 'Hipster' names from 1990-2017")
The graph I created below shows the popular male names that decreased in popularity from the years 1900-1960. The names that I selected for this project are Charlie, Edgar, Everett, Leo, Leon, and Max. Just like the first graph I created, it shows the decrease in popularity of these names over a period of 60 years.
babynames |>filter (name %in%c('Charlie', 'Edgar', 'Everett', 'Leo', 'Leon', 'Max')) |>filter (year >1900) |>filter (year <1960) |>filter (sex =='M') |>ggplot(aes(year, prop, color=name)) +geom_line() +theme_classic()+labs(x="Year", y="Popularity of Name", title ="Portion of 'Hipster' names from 1900-1960")
The graph I created shows the popular male babynames from the years 1990-2017. I used the same names from the previous chart. This chart shows that these names became popular again after 30 years due to them being ‘unpopular’. Leo had the biggest incline on the chart. Some of these babies could also possibly have been named after their grandfather.
babynames |>filter (name %in%c('Charlie', 'Edgar', 'Everett', 'Leo', 'Leon', 'Max')) |>filter (year >1990) |>filter (year <2017) |>filter (sex =='M') |>ggplot(aes(year, prop, color=name)) +geom_line() +theme_classic()+labs(x="Year", y="Popularity of Name", title ="Portion of 'Hipster' names from 1990-2017")
The graphs that I created showed a decrease in various names that then became popular again 30 years later. It shows that the names I selected were once too popular that people stopped using them. Once these names were no longer being used as much they then became unique and uncommon so people started using these names again. This means that my hypothesis was correct and that names will decrease in popularity if they become too popular. Once they become uncommon they then get used more due to their uniqueness and unpopularity.