Peter Haglich

Esoteric Python Filename

I had a strange but minor problem with Python and iPython on my system.  I have a source directory for each of my projects.  Whenever I used the Terminal to launch iPython or Python from that directory I received this error message: Traceback (most recent call last):   File “/Applications/Canopy.app/appdata/canopy-1.4.1.1975.macosx-x86_64/Canopy.app/Contents/lib/python2.7/site.py”, line 75, in <module>   …

Esoteric Python FilenameRead More »

Google BigQuery APIs

As part of my consulting assignment I need to download geopolitical event data from the GDELT Project. This data is available as a public dataset on Google’s BigQuery. There are APIs for BigQuery in Python and R. Google provides a tutorial for BigQuery using Python or Java. Hadley Wickham has written an R API that …

Google BigQuery APIsRead More »