I really wanted that in the app (and more filters besides), but the data source was the US Social Security administration (the easiest to access list of names I could find) [1], and it really only includes the number of people with a given name and sex for each year. To include the region / language would be a lot of data processing work that I sadly don't have time for. [1] https://www.ssa.gov/OACT/babynames/limits.html
If you really want it, you could create a github repo with an alphabetically-sorted CSV list of baby names (one file per first letter). Describe the expected format, add a CI for validation and we (the people from the internet) will fill it out for you, according to the old open-source style :)
When deciding on a name for my 2nd child, I wanted them to go together. I looked up which years were the most popular for my oldest, and looked at lists of names that were popular in that timeframe.
I think you could also use years to suggest names that neither parent has on their list. Based on names that the parents have liked, find out which decade was most popular. (Geometric Mean would probably be most useful to combine scores between parents).
When we were hunting for baby names I found that fiction character naming books (ex: The Writer's Digest Character Naming Sourcebook) were really great for inspiration. They tend to focus on the perceived qualities of the names more than the social qualities and are often more bold in their offerings.
That's a really clever idea, and would probably give us the types of names we're looking for (not common but everyone knows it and knows how to spell & pronounce it).
We just had our second a few weeks ago, and to figure out some names, we each got a big list of "kind of like this name," totally casual and noncommittal, and combined them. We then used a little Elo[1] rater script I whipped up to compare items, it was fun! Once you get a short list there's no good algorithm to figure it out, but using Elo we both found names we loved that we never would have thought about, and had a fun time doing so.
Your sort has a way higher complexity than required, in terms of comparisons. It will present the user with way more pairs than the optimal system would, which will make it very hard to sort through a longer list.
You might want to use a merge insertion sort instead. See https://stackoverflow.com/a/53979250/711380 Of course this only works if you assume the order is total, which is actually a good assumption unless multiple people are contributing to the same ranking (in that case use ELO).
Comments (372) 135 threads
Earlier commentsWould it be possible to filter names by regions or language as well as decades ?
I really wanted that in the app (and more filters besides), but the data source was the US Social Security administration (the easiest to access list of names I could find) [1], and it really only includes the number of people with a given name and sex for each year. To include the region / language would be a lot of data processing work that I sadly don't have time for.
[1] https://www.ssa.gov/OACT/babynames/limits.html
EDIT: Btw, here is the same file for France, with a different format, of course : https://www.insee.fr/fr/statistiques/2540004?sommaire=476726...
I think you could also use years to suggest names that neither parent has on their list. Based on names that the parents have liked, find out which decade was most popular. (Geometric Mean would probably be most useful to combine scores between parents).
https://www.merriam-webster.com/dictionary/hone%20in
The app itself seems to be oriented around viewing most popular names. It would be nice to have a way to view least popular as well.
1: https://en.wikipedia.org/wiki/Elo_rating_system
You might want to use a merge insertion sort instead. See https://stackoverflow.com/a/53979250/711380
Of course this only works if you assume the order is total, which is actually a good assumption unless multiple people are contributing to the same ranking (in that case use ELO).
Continue this thread — 1 reply
All comments shown.
Couldn't load more comments. Check your connection and try again.