https://github.com/camdavidsonpilon/demographica
Analyse US name distributions and create age profiles of your users
https://github.com/camdavidsonpilon/demographica
Last synced: about 1 year ago
JSON representation
Analyse US name distributions and create age profiles of your users
- Host: GitHub
- URL: https://github.com/camdavidsonpilon/demographica
- Owner: CamDavidsonPilon
- License: mit
- Created: 2014-08-18T01:09:34.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2018-01-24T02:04:07.000Z (over 8 years ago)
- Last Synced: 2025-03-18T20:54:07.155Z (about 1 year ago)
- Language: Python
- Size: 3.45 MB
- Stars: 17
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
demographica
============
Analyse US name distributions and create age profiles.
names = open('sample_first_names.tsv').readlines()
name_distribution = compute_name_frequencies(names)
age_distribution = age_calculator(name_distribution)
sex_distribution = sex_calculator(name_distribution)
print sex_distribution
pplot(age_distribution)