How To Enable Google APIs for API Key

Google may still claim not to do evil. They should also try not to be obtuse as well. I wanted to get the longitude and latitude of a few hundred cities, which is straightforward using ggmaps and Google’s geocoding API. (I tried Geonames but never received the new account confirmation e-mail. It did not go […]

Who I Saw, 2020 Edition

The fourth time is the charm, by which I mean I hope I see more celebrities than last year because the third time certainly was not the charm. Jade Chang.  Jade Chang is the author of one of the favorite novels I read in 2018, Wangs vs. the World.  Even better, I actually met her […]

What I Read, 2020 Edition

The Silk Roads: A New History of the World by Peter Frankopan.  After reading this 505 page history, I hereby firmly resolve to not judge a book by its cover.  Had I spent 10-15 minutes skimming chapters, I would have realized that this book is not in fact about “silk roads”, whatever that means to […]

Batch zip files

One of my hard drives is down to its final terabyte, of 8, so its time for me to compress some files. Since I have thousands of files on that drive, it would be inefficient to select them one by one. It turns out its easy to pass a bunch of files to gzip. I […]

Understanding Subnational Variation in Tweets

My primary source of data is tweets I get from Twitter’s POST statuses/filter endpoint, what I believe was called the “Streaming Endpoint” when I started working with Twitter data eons ago.  While it has always been straightforward to use a bounding box to get tweets with geographic information, exactly what Twitter reports and how it […]