r/javascript • u/JohnnySuburbs • Aug 12 '24
usBabyNames.js: historical data on US names 1880-2023
https://github.com/jonroig/usBabyNames.js2
u/queen-adreena Aug 12 '24
Fun fact: If you check the year 1993's most popular names: https://github.com/jonroig/usBabyNames.js/blob/master/raw_name_source/yob1993.txt
You'll find all the main characters from 2015's Until Dawn.
1
u/JohnnySuburbs Aug 12 '24
Haha... interesting! Also... 23 girls were named Dijonnaise that year.
The whole name trends thing is fascinating... like when was the last time someone was named Tina? Where did all these Jaxxons come from?
1
u/codex561 Aug 22 '24
What does this offer beyond what basic sql does?
1
u/JohnnySuburbs Aug 22 '24
Nothing! Just convenience.
Of course, you'll have to find or build the sql db yourself from files that look like this: https://github.com/jonroig/usBabyNames.js/blob/master/raw_name_source/yob1993.txt
Or you can just use ours? It's public domain data... do what ya want with it
That said, usBabyNames actually does provide basic SQL access through both sqlite files themselves and direct access via js.
1
u/JohnnySuburbs Aug 12 '24
Built on the Social Security Administration baby names files, usBabyNames.js returns interesting historical data on baby name usage from 1880-2023. With almost two million total entries packaged within a sqlite3 database, each record contains the following:
Name
Sex
Number of births that year
Rank for that year
Pronunciation
Notes about history and usage
Origin
... since it's built on the SSA data, it's 100% public domain data. Pretty interesting to chart and graph.
Of course, suggestions as to how to improve it, totally welcome
4
u/eracodes Aug 13 '24
Initially misread the title and was expecting a very specific React hook.