The goal of this tutorial is to do the following: Collect addresses (via Google Forms) Download to R (via googlesheets) Geocode them (via geocode) Plot them (using leaflet) Get driving distance between them (via gmapsdistance) Cluster them (kmeans) Making the leaflet plot fancy 1. Collect Perhaps in a future post I’ll explore googleformr. For now, I create forms the old-school way.
Continue reading

The goal of this tutorial is to do the following: Collect addresses (via Google Forms) Download to R (via googlesheets) Geocode them (via geocode) Plot them (using leaflet) Get driving distance between them (via gmapsdistance) Cluster them (kmeans) Making the leaflet plot fancy 1. Collect Perhaps in a future post I’ll explore googleformr. For now, I create forms the old-school way.
Continue reading

The beauty of open source is “Oh, let me just download that package and I can do amazing things!”. The reality is “ok, I downloaded it, and I got the ‘hello world’ example working. But now to actually get it to do what I want in the environment that I want takes like…now 30 hours? Just one more bug and I’ll finally give up…” Bugs I hit: I hit a lot of bugs when building my Leaflet tutorial.
Continue reading

So you want to buy a car, but you don’t know anything about them? Welcome to my life. You show up at the dealer and there’s a sticker on the window. You know the difference between make and model, but you soon learn what a trim is. Some versions come with leather. Some have a sun roof. Some have all wheel drive. Some have 20k in miles, and a similarly priced car in a higher trim is at 40k miles.
Continue reading

In another post, I describe how I use this data that I’ve scraped, but I wanted to provide a more in-depth tutorial for those interested in how I got the data. Note, this data belongs to Truecar, so all uses herein are for personal and academic reasons only. Get the data In order to do any good analaysis, you first need data. I prefer to have more data than less, where possible.
Continue reading

I believe that each creation has four phases: dreaming, planning, acting, and reflecting. Think about it - is there anything you’ve ever made that didn’t first enter into your mind, you came up with some game plan, you carried it out, and then when you were done you could see what went well and where you improved? Isn’t this what scrums are really about? I wanted a scrum for my personal life, but I didn’t find it practical to use the many online resources available.
Continue reading

This blog will outline what I see as differences between Hugo and Jekyll, some benefits and drawbacks of using Netlify vs. GitHub pages to host, and how to launch the Hugo Tranquilpeak theme from scratch. Why Hugo? One of my first posts was about blogging with Jekyll hosted on GitHub. About six months after writing that post, I hit a few bugs trying to debug it and got frustrated because I had already forgotten all of what I binge-learned earlier.
Continue reading

Author's picture

Bryan Whiting

father, innovator, data scientist

Data Scientist

Washington, D.C.