nibabynames | R Documentation |
Full baby name data from 1997 to 2020 for Northern Ireland from the Northern Ireland Statistics and Research Agency.
nibabynames
A data frame with 22,596 observations on 6 variables.
A year (1997-2020).
Sex, M
for male and F
for female.
A name.
Count of name within year and sex.
Rank of name within year and sex.
Nation of data source: Northern Ireland
.
Northern Ireland Statistics and Research Agency. 2021. Baby Names Statistics Boys and Girls.
library(ggplot2) library(dplyr) nibabynames %>% filter(name == "Joseph") %>% ggplot(aes(x = year, y = n)) + geom_line() + labs( title = "Popularity of the name `Joseph` in Northern Ireland", x = "Year", y = "Number of babies" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.