US baby names provided by the SSA. This package contains all names used for at least 5 children of either sex.
This package contains three datasets provided by the USA social security administration:
babynames
: For each year from 1880 to 2017, the number of children of
each sex given each name. All names with more than 5 uses are given.
(Source: http://www.ssa.gov/oact/babynames/limits.html)
applicants
: The number of applicants for social security numbers (SSN) for
each year for each sex.
(Source: http://www.ssa.gov/oact/babynames/numberUSbirths.html)
lifetables
: Cohort life tables data
(Source: http://www.ssa.gov/oact/NOTES/as120/LifeTables_Body.html)
It also includes the following data set from the US Census:
births
: Number of live births by year, up to 2017.
(Source: an Excel spreadsheet from the Census that has since been removed
from their website and https://www.cdc.gov/nchs/data/nvsr/nvsr66/nvsr66_01.pdf)# Install the released version from CRANinstall.packages("babynames") # Install the development version from GitHubdevtools::install_github("hadley/babynames")
Please note that the 'babynames' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Add data validity/regression tests (@russellpierce, #27)
Add data for 2016 and 2017. Minor changes to data from previous years to match external data sources. (@russellpierce, #30)
Update data for 2015 (@stillmatic, #16)
Import from tibble in order to get consistent behaviour regardless of whether or not tibble is attached.
Added a NEWS.md
file to track changes to the package.
Updated data for 2014 (#9)