ewbabynames {ukbabynames}R Documentation

England & Wales baby names

Description

Full baby name data from 1996 to 2020 for England and Wales from the Office of National Statistics.

Usage

ewbabynames

Format

A data frame with 294,801 observations on 6 variables.

year

A year (1996-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: England & Wales.

Details

The data are released by the Office of National Statistics under the Open Government License v3.0.

Source

Office of National Statistics. 2021. Baby Names Statistics Girls. Office of National Statistics. 2021. Baby Names Statistics Boys.

See Also

rankings

Examples

library(ggplot2)
library(dplyr)

ewbabynames %>%
  filter(name == "Nicholas") %>%
  ggplot(aes(x = year, y = n)) +
  geom_line() +
  labs(
    title = "Popularity of the name `Nicholas` in England & Wales", 
    x = "Year", 
    y = "Number of babies"
    )

[Package ukbabynames version 0.3.0 Index]