- February 22, 2017
- Big Data
Big data isn’t sexy anymore. Though it might be hard to believe, long before anyone had heard of deep learning, “big data” was the belle of the ball for government (and private sector) innovators. All they had to do was say big data and people would be impressed. Unfortunately, that often meant just holding a hackathon and releasing some datasets. On the other side, some big, complex problems were solved with data and celebrated as breakthroughs. The problem is, the attention on both ends of the spectrum ignored the real impact data could have on government’s daily operations, and it fell by the wayside. Spoiler alert: Big data was never sexy, but that doesn’t mean we should ignore it.
When we wrote Beyond Transparency: Open Data and the Future of Civic Innovation a number of years ago to survey the open data landscape, I felt it was critical that we think far beyond the idea of “open data” to ensure that we realized true value from the nascent efforts we were seeing in both open data but also data analytics.
Now that civic data has matured, it is the time for us to reinforce this concept of getting value from all of the data we have and leveraging it to do business better. Sometimes we get caught up in ensuring that a data product is shiny and sexy while instead we should focus on the core principles of how we make internal operations, from big business to government, run better and more efficiently. Major impact can start with small change, and not everything needs to be complicated. In fact, simple analysis can lead to large outcomes.
Let me offer up an example. Every jurisdiction (along with almost every company) maintains a financial ledger. These tend to be somewhat uniform in their presentation — dates, amounts, categories, recipient, etc. It is widely acknowledged that most systems have some sort of error term within their payments — there are duplicates, typos, frauds, etc. The percent of error is subject to much discussion and is not necessarily material to my point.
Seeing that this data is available and not frequently scrutinized, most people think it would be too complex to do some basic analysis on it. I would suggest that we are able to do quite a bit on our own. A fun and easy example is to leverage something like Benford’s law for the examination of the financial data. This law finds its roots with Simon Newcomb and Frank Benford and identifies the patterns of 1st digit distribution for certain types of data (including financial data). (Feeling bored? Read more here.)
Applying the law is actually quite easy. A quick search returns an R programming language package and if you look at GitHub there are multiple Python implementations that are ready to be used. From here, it is remarkably simple. You take the spreadsheet of financial data, run the code against it, and you are flagging anomalies.
To demonstrate the ease of doing this, I decided to see what kind of quick financial analysis I could do while on a recent plane flight from Chicago to Philadelphia. In just a few minutes, here were my steps:
I leveraged a script posted on Activestate a few years ago — note it is only 52 lines of code.
I downloaded a city's payments data from their open data portal.
I ran the following command: python benford.py Payments.csv.
Two seconds went by.
With five minutes of effort, I combed through years of data, found an atypical pattern, and identified an interesting area of focus. The barrier to entry was minimal and the output was fast. It also gave me quick indicators of a set of transactions that would require further scrutiny: a simple way of potentially finding errors, duplications, or other types of financial inefficiencies.
As the flight was going long, I downloaded a second city’s data and ran the same analysis. Interestingly, their data seems to follow a much more predictable pattern. The quick algorithmic check seems to work — and that city can turn to other problems.
This approach obviously will not root out every potential problem in the data, but it is a start. Not only that, implementing analysis like this will get more government employees comfortable with data analysis, leading to more complex implementations down the road. I should also note that while I used a government data example in the above, math is universal and this is a great example of a technique that works just as well in the private sector as it does in the public sector. This point is one we should remember no matter what sector we operate in.
Big data isn’t sexy. But it doesn’t have to be. Data analytics should not be about getting a write-up in the press, it should be about making the hard, nitty-gritty work of government more efficient. Simple analysis can drive tremendous impact in government. People want to see their tax dollars spent more wisely, and that starts with analyzing the data we have now with techniques that are proven and well-established.