Title: | UK Baby Names Data |
Version: | 0.3.0 |
Description: | Full listing of UK baby names occurring more than three times per year between 1974 and 2020, and rankings of baby name popularity by decade from 1904 to 1994. |
Encoding: | UTF-8 |
Depends: | R (≥ 2.10) |
License: | CC0 |
LazyData: | true |
LazyDataCompression: | xz |
URL: | https://mine-cetinkaya-rundel.github.io/ukbabynames/ |
BugReports: | https://github.com/mine-cetinkaya-rundel/ukbabynames/issues |
Suggests: | testthat (≥ 2.1.0), ggplot2, dplyr, spelling |
RoxygenNote: | 7.1.2 |
Language: | en-US |
NeedsCompilation: | no |
Packaged: | 2022-03-25 14:36:16 UTC; mine |
Author: | Mine Çetinkaya-Rundel
|
Maintainer: | Mine Çetinkaya-Rundel <cetinkaya.mine@gmail.com> |
Repository: | CRAN |
Date/Publication: | 2022-03-25 14:50:02 UTC |
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 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
.
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
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"
)
Northern Ireland baby names
Description
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 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:
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"
)
England & Wales top-100 baby names by year
Description
A longitudinal dataset containing the top-100 baby girl and top-100 baby boy names over the period 1904 to 1994.
Usage
rankings
Format
A data frame with 1,900 observations on 4 variables.
- name
A name.
- year
A year (1904-1994). Rankings are based upon births within that decade.
- rank
Rank of the name within decade.
- sex
Sex,
M
for male andF
for female.
Details
The data are released by the Office of National Statistics under the Open Government License v3.0.
Source
Office of National Statistics. 2016. Top 100 Baby Names Historical Data.
See Also
Scotland baby names
Description
Full baby name data from 1974 to 2020 for Scotland from the National Records of Scotland.
Usage
scotbabynames
Format
A data frame with 248,420 observations on 6 variables.
- year
A year (1974-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:
Scotland
.
Source
National Records of Scotland. 2021. Baby Names Statistics Boys and Girls.
Examples
library(ggplot2)
library(dplyr)
scotbabynames %>%
filter(name == "Ava") %>%
ggplot(aes(x = year, y = n)) +
geom_line() +
labs(
title = "Popularity of the name `Ava` in England & Wales",
x = "Year", y = "Number of babies"
)
UK baby names
Description
Full baby name data 1974-2020 for the United Kingdom from all nations. Contains
data from England and Wales (ewbabynames
), Scotland (scotbabynames
), and
Northern Ireland (nibabynames
).
Usage
ukbabynames
Format
A data frame with 565,817 observations on 6 variables.
- year
A year (1974-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.
Source
Office of National Statistics. 2021. Baby Names Statistics Girls. Office of National Statistics. 2021. Baby Names Statistics Boys. Northern Ireland Statistics and Research Agency. 2021. Baby Names Statistics Boys and Girls. National Records of Scotland. 2021. Baby Names Statistics Boys and Girls.
Examples
library(ggplot2)
library(dplyr)
ukbabynames %>%
filter(name == "Jack") %>%
ggplot(aes(x = year, y = n, color = nation)) +
geom_line() +
labs(
title = "Popularity of the name `Jack` in the UK",
subtitle = "by Nation",
x = "Year", y = "Number of babies", color = NULL
)