Full baby name data from 1996 to 2020 for England and Wales from the Office of National Statistics.
Format
A data frame with 294,801 observations on 6 variables.
- year
A year (1996-2020).
- sex
Sex,
M
for male andF
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
.
Source
Office of National Statistics. 2021. Baby Names Statistics Girls. Office of National Statistics. 2021. Baby Names Statistics Boys.
Details
The data are released by the Office of National Statistics under the Open Government License v3.0.
Examples
library(ggplot2)
library(dplyr)
#>
#> Attaching package: ‘dplyr’
#> The following objects are masked from ‘package:stats’:
#>
#> filter, lag
#> The following objects are masked from ‘package:base’:
#>
#> intersect, setdiff, setequal, union
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"
)