stringr + regex = amazing

28. April 2016 data, programming, r 0
stringr + regex = amazing
I had a data request come through that required me to break down submitted forms by the topic of concern (i.e., why was the form submitted in the first place?).  I remember from my earlier work with this database, that the form fields were stored in key value pairs in one column.  This was ok, but ...

It’s “three-forty-two” not 34%

16. April 2016 data, misc 0
It’s “three-forty-two” not 34%
When I moved to the northwest suburbs of Chicago in 2006, I started getting into baseball (go White Sox!) because of my friend and his family’s love for the game. On one bright summer day, my friend’s dad took us to a White Sox game at U.S. Cellular Field (Comiskey Park, for my friends who ...