Why the 11th appears less often than other days of the month
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Humor-Sans.ttf
README.md
bad_XX_data.csv
bad_XXth_data.csv
bad_nth_data.csv
fetch_and_save.py
general_setup.py
getngrams.py
good_XX_data.csv
good_XXth_data.csv
license.txt
license_getngrams.txt
load_data.py
old_style_data.csv
summarize_data.py
summarize_old_style.py

README.md

The Missing 11th of the Month

This is the code behind a blog post detailing why the 11th of the month (January 11th, February 11th, etc.) appears less often than other days of the month as pondered in an xkcd comic.

Dependencies

Usage

Run summarize_data.py to produce the graphs found in the blog post.

If you do not trust the associated .csv files or simply want to see how the data is fetched from the database, check out fetch_and_save.py. Note that you cannot run this entire file at once or Google will cut your IP address off for a while.

License

All code is made available under the MIT license. See license.txt.

The getngrams.py file comes from Matt Nicklay and is also available under an MIT license. See license_getngrams.txt.