Skip to contents

Full baby name data from 1997 to 2020 for Northern Ireland from the Northern Ireland Statistics and Research Agency.

Usage

nibabynames

Format

A data frame with 22,596 observations on 6 variables.

year

A year (1997-2020).

sex

Sex, M for male and F for female.

name

A name.

n

Count of name within year and sex.

rank

Rank of name within year and sex.

nation

Nation of data source: Northern Ireland.

Source

Northern Ireland Statistics and Research Agency. 2021. Baby Names Statistics Boys and Girls.

Examples

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"
    )