Skip to content

Instantly share code, notes, and snippets.


Kevin Funk k-funk

  • San Francisco, CA
View GitHub Profile
k-funk /
Last active Dec 20, 2019
Scraping Google Photos Public Album
# inspired by (hopefully the regex is updated there when this one breaks)
# also exists as a django-cms plugin at
import logging
import re
import requests
logger = logging.getLogger(__name__)
k-funk /
Last active Dec 16, 2015
CS 686 Final Project


####Values are in constant dollars (adjusted for inflation). Part of 1976 omitted, "fiscal year" months changed.####

###Data Source:### This data set contains the amount of US Dollars spent on military foreign aid, per country, for each year (1947-2011) The dataset has been altered in the following ways: Converted to .json, added the total foreign aid from all countries for a given year, and added 3 letter country codes for geospacial mapping references. JSON structure: {foregin aid[year,total_aid,countries{country name, country code, foreign aid received}]} I chose this data to visualize because it gives insight as to the US's rapidly changing policy on foreign aid for the past 60 years. Also, being able to visually see which countries are receiving the most money is informative as to the country's affairs of that year.