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.
- matplotlib
- pandas
- requests
- scipy (small section)
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.
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.