scotbabynames | R Documentation |
Full baby name data from 1974 to 2020 for Scotland from the National Records of Scotland.
scotbabynames
A data frame with 248,420 observations on 6 variables.
A year (1974-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: Scotland
.
National Records of Scotland. 2021. Baby Names Statistics Boys and Girls.
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" )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.