---
id: "workshop:empowering-data-quality-a-metrics-based-approach-for-agency-excellence"
type: "InnovateUS workshop"
title: "Empowering Data Quality: A Metrics-Based Approach for Agency Excellence"
url: "https://innovate-us.org/empowering-data-quality-a-metrics-based-approach-for-agency-excellence"
date: "2024-01-25"
duration: "60 minutes"
language: "English"
instructors: ["Tyler Haire"]
recording: "https://www.youtube.com/watch?v=JtqfASAZBRw"
transcript: "automatic, from the recording"
source: "InnovateUS (innovate-us.org)"
licence: "CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/), as stated on innovate-us.org"
---

# Empowering Data Quality: A Metrics-Based Approach for Agency Excellence

InnovateUS workshop · 25 January 2024 · 60 minutes

Join us for this 60-minute virtual training with Tyler Haire, Associate Data Engineer at the Indiana Management Performance Hub (MPH), a state government agency that is committed to normalizing data best practices across the state. In this training, Tyler will discuss the agency's journey to enhance the quality of data, regardless of the source or its format, and how to leverage extensive state data to develop metrics grounded in the principles of data quality, while also developing tools that are useful for everyone. Learn how to harness the power of data to drive informed decision-making and optimize performance across state government.

## Learning goals

- How to harness the power of data to drive informed decision-making
- How to optimize performance across state government

## Speakers

- **Tyler Haire**, Associate Data Engineer, Indiana Management Performance Hub

Recording: https://www.youtube.com/watch?v=JtqfASAZBRw

## Transcript

Automatic transcript of the recording: names and terms can be misheard, and the times can be a few seconds off. Each time links to that moment of the video. The transcript alone: https://innovate-us.org/empowering-data-quality-a-metrics-based-approach-for-agency-excellence.txt (plain text) and https://innovate-us.org/empowering-data-quality-a-metrics-based-approach-for-agency-excellence.json (every segment with its start and end second).

**Unknown speaker**

[0:02](https://youtu.be/JtqfASAZBRw?t=2) I'll turn it over to you. Thanks, Tyler.

**Tyler Haire**

[0:06](https://youtu.be/JtqfASAZBRw?t=6) All right. Thank you so much, Hannah. Appreciate it. Let me go ahead and share my screen now. All right. Everyone can see that, right? Perfect. Okay, I'll go ahead and begin. Hannah said this is Empowering Data Quality, and I'm Tyler Hare, an Associate Data Engineer here with Management Performance Hub. I'll do some more introductions here for us. I'll introduce myself. I'll give a little bit more background. I'll also give more background about the agency. I imagine most of you have not really heard of Management Performance Hub. We're a very small agency here in the state of Indiana, and even people in state government don't even know who we are. I'll definitely give you some more background about all of us and what we do. First, a little bit more about me. I was born and raised here in Indiana. It's actually pretty interesting if you draw like a big maybe 75-mile circle from where I was born, where I went to high school, where I went to college, and where I work. It would all fit in that circle, so I'm about as local as you can get. And like Hannah said, I got my two undergrad degrees from Purdue University.

[1:07](https://youtu.be/JtqfASAZBRw?t=67) It's computer science and data science, so it works very well with what I do here since it's very software-related with data science tools, in essence. And I'm the newest data engineer here actually on our data management team. So I believe actually just a week ago, I celebrated my one-year anniversary with the team. So this is sort of like a review of what I've done since I came on board, so it's pretty fun. And since I've been here, my role has been pretty focused on internal process improvements. And even though a ton of my work has been data quality, a lot of what has stemmed out of data quality has been these sort of internal tools that we've been able to use to improve our own processes. So as you'll see as I explain later, data quality is very much meant for other partner agencies to use to assess their own data. But a lot of what has come out of it has been helpful for our own agency directly as well. So speaking of our agency, Management Performance Hub, what is it? I'm sure, like I said, a lot of you don't really know what it is or what we do. So here's this very long-winded explanation.

[2:07](https://youtu.be/JtqfASAZBRw?t=127) I'll let you guys read that if you like, but I'll sum it up here for you. We've only been an agency for a couple years now. So since 2017, we were enacted by state law, and that established our agency and the chief data officer of Indiana. And essentially what we're doing is we are partnering with other agencies or an agency that serves other agencies to help them do their jobs better and just serve the public better. We also will partner with any public entity. So that can be universities or public researchers. And they don't have to be in Indiana either. They can be outside of the state. So I believe we've had data requests that go to, like, Ohio State University and other external state universities like that. So if you guys see anything here and you're not from Indiana, feel free to still reach out through some of the links that will be provided, because we partner with everybody and try to help everyone the best way we can. So along with that, here is our mission statement. Again, it really just boils down to us improving outcomes for Hoosiers, and that is done a lot through data-driven decision-making and data-driven policymaking.

[3:11](https://youtu.be/JtqfASAZBRw?t=191) I like to boil it down and say what we do are these two core things. We do these data requests and we do these data products. So data requests are these one-time deliverables. Think about being a CSV or, you know, something in Excel. That's what a data request would come as. It'd just be when researchers usually need just a big set of data that is comprised from a bunch of different sources. We'll pile it all together and give them a big CSV for that, and that's a data request. But the main bunch of our work ends up being these data products. So these are these long-term projects. They're usually funded either by the state or by the federal government even, and they usually end up being these dashboards or these comprehensive reports that just provide as much insight into all different manner of subjects. So that really shows how we are the state's data partner and really just anyone's data partner. We merge all these different data sets. We provide these insights. You know, we're leveraging technology the best way we can, and we're really uniquely positioned to turn data into insights and drive these public policy decisions just because of how much different data we see being sort of the central hub where a ton of different Indiana agencies have their data flow through.

[4:20](https://youtu.be/JtqfASAZBRw?t=260) So if you were to go to our website, you would see this on the front page, and it sort of gives an overview of a lot of the different areas we've done work in. So you can see we've done it with opioids, education and workforce, COVID, and plenty of other projects. So that's just a quick review of sort of everything that we have done these big data products on. And you can also see we have a data hub. So if you want just data sets directly to do your own work with, you can go to our website, and you can see and download these de-identified data sets. So another big part of what we do is making sure that there is no identifiable information. So even though we have tons of, you know, citizens, you know, Hoosiers here, Indiana residents, we have their data. We're not giving that out to any of these people we're partnering with. We're de-identifying it, making sure no personable and identifiable information is part of this data that goes to researchers or to other agencies to do some work. And we also have a transparency portal. So that's where more of those products will live. And then an enhanced research environment, which is, again, another way and another set of tools for people to use and to help get good insights about their data.

[5:25](https://youtu.be/JtqfASAZBRw?t=325) So now that you know a little bit more about me, a little bit more about MPH, we can get into the meat and potatoes of this. So what we're going to go over today is really these six things. We have what data quality is in terms of its importance, what it is and is not, MPH's solution in our development process to help better data quality across the state. We're also going to do a live demo of our data quality dashboard, the sort of overview one that a lot of agencies will see when they end up going and getting access to the data quality dashboard. And we'll talk about how we can ensure data quality, both as developers and as just people who, you know, fill out and create data all the time. And then, of course, at the end, we'll have that Q&A session for anything that might not be clear or anything I can provide more information on. So with that said, we can dive right into data quality's importance. So data ingest is at an all time high and growing. I don't think that will surprise anybody. You know, just in terms of Google, in terms of chat GPT, just in the last year, there is just hundreds and millions and billions, trillions of rows and cells of data that are constantly being created and consumed and processed.

[6:34](https://youtu.be/JtqfASAZBRw?t=394) And if you don't know what that data is, it's not very useful. So just having all that means you'd like to know what it is. And these massive data sets mean they end up being far beyond human comprehension. So even a data set as small as a couple thousand rows and a few columns, you're not going to be able to look at that. No person can look at that and really describe everything about it, at least in terms of usable details. So, you know, aggregates, all these important measures that end up coming out of statistics and data science. You can't do that at the human level. You need to have a lot of information about the data. And that's why this data can often be seen as this gray box or a black box in tech ends up being this system where you have inputs and outputs, but no way to understand what happened in between and how you got there. So when I say it is a gray box, it's data being too big to be human comprehensible, but still having access to the data means it is possible to understand it, but not all at once and not by just a single person.

[7:38](https://youtu.be/JtqfASAZBRw?t=458) You need tools, you need assistance to do so. So that being said, it's hopefully obvious to see that the need for these valuable metrics about data is growing and it's probably growing faster than the data is, which is really something to be said, considering how much data is constantly being created. See the little graphic down there, all your phones that you're using, all the computers you use out the day, that's constantly creating data. It's being either sold off or collected by the websites you're using, the apps you're using, all that. It's all being put in these massive data storage farms. And if you don't have data quality, you end up getting to be that guy right there at the right. You're just shrugging. You don't know what's going on. You have no idea what the data actually is comprised of and how to use it. So our role here with this data quality tool is to help turn that shrug into the light bulb moment so that whoever owns the data or whoever is looking at the data really understand what it is and can make valuable decisions based off of it. And that leads us to the point that data quality ends up being these pillars to knowledge and pillars to decision making because it is what's holding up the ability of these data owners to actually do or to gain knowledge from their data or to actually use it and make decisions, whether they are business or a public entity like who we normally serve.

[8:52](https://youtu.be/JtqfASAZBRw?t=532) So also, importantly, talk about what data quality is not before we get into what it is, because there can be misconceptions, especially because we don't own pretty much any of the data we use. We actually just get it from other agencies and help service them with that data. So there's a lot of stuff that we can't actually do and don't want to do. So first thing, the data quality is not what we're not doing is we're not changing data, if we get a square we're not turning it into a box, because as people who don't, or as an agency that doesn't own the data. If we change it then it's not going to reflect potentially what the data actually is, because we've gone in and we've made changes. So that's why we wouldn't want to change the data. Also, if the data we're getting is not a direct copy of what the data that the data owners have is, then we could potentially be making changes to data that's already had changes made to it. And then if we go out and make those dashboards and those data products that I mentioned earlier, then we just have compounded changes that do not potentially do not reflect the real world data.

[9:52](https://youtu.be/JtqfASAZBRw?t=592) So, we never want to change data because we don't want to provide incorrect insights, and we don't want to have data owners think that there is a data there that they didn't create, but all of a sudden has now exists. As part of that we're also not pointing fingers this isn't a way for us to go back to agency we partner with and say hey you know you guys you've made this data it sucks you know we don't want to use it, you shouldn't use it. That's not the whole point of this point is this is provide just more insights about their data. You said we're an agency that serves other agencies. So as part of that service we want to make sure they are doing the best job they can. And the way to do that is to give them pointers, or just you know red flags about when things might not be up to snuff and might need some improvement. Same idea we're not a barrier to progress this is not our data, as I'll reiterate many times. So we are not able to tell agencies or anyone using the data what they can and can't do with it. You know if someone gets this massive data set and it's low and data quality. We want them to know that but we also can't just say hey, don't use it. But we can say, you probably want to either review this data first or clean it up, or even maybe hold off and still the data is better altogether.

**Unknown speaker**

[11:05](https://youtu.be/JtqfASAZBRw?t=665) Can we just ask a clarifying question from the chat which is, can you explain what you mean by changing the data and maybe give an example.

**Tyler Haire**

[11:14](https://youtu.be/JtqfASAZBRw?t=674) Yes, so you'll see a lot of data quality is about creating score. And there's places where you could interpolate based on if there's data missing, so to speak, so we'll get into completeness and how data quality is, or that's how a pillar of data quality is completeness. And that's just about missing data. So, interpolation would be taking the data you have and filling in the data you don't have. That's something we would never do, because then there's data that has been put into that system that is no longer an actual representation of the data we received. We would just say hey there's data missing here. We wouldn't actually go in and fill it in. If the data owner wants to go in and fill it in and they give it back to us, that's on them, because that's their data and they're allowed to do that, but we as an agency, it would not do that. There's other ways to change the data too, but that's probably the simplest example. Hopefully that clears it up. So, yeah, I think that went through, or that it covers the main points of what data quality is not. So now we can talk about what data quality is. So I mentioned earlier completeness but now we can go through all these.

[12:18](https://youtu.be/JtqfASAZBRw?t=738) So there's essentially these six to seven, depending on how you break it up, pillars of data quality, metrics, dimensions, a bunch of different terms for it. Additionally, these, these dimensions have slightly different names depending on where you look. So for instance, I believe duplicates might be uniqueness, something like that. So depending on the sources you're looking at and where you're going if you try to dig further into this you might have different names for each of these dimensions, but overall what they're capturing and the actual meaning of them stays the same. So you might be surprised if you see slightly different versions of this like accuracy and validity sometimes is also compressed into just one metric called correctness, but for our sake we've separated them, but still use them in conjunction. To actually say them all, we have completeness, accuracy and validity, relevancy, freshness, consistency and duplicates. And I've sort of spoiled it but these end up being the pillars to data quality just as data quality was the pillars to knowledge and the pillars to decision making.

[13:27](https://youtu.be/JtqfASAZBRw?t=807) You know, having these six pillars of data quality themselves because these are really the building blocks of what data quality is. So we have all these dimensions we need to go through we need to define them explain why they're important and provide mathematical definitions, I mentioned that there's scores associated with each of these. So be able to see the math that goes behind it. So you'll see this sort of format for all the dimensions we're about to go through, like I said definition why it's important than a mathematical definition that I might touch on. Just if you're more interested in how we got to the scores that we'll see later when we go through the dashboard demo. So for completeness it's the first one. It's usually the easiest one to understand it's the extent to which data has all the relevant and necessary information for its given purpose. It's really usually just is data there or is it not, it's not, it's usually incomplete, it's there, it's usually complete. Like I said, it's one of the simplest ones to understand. It's important, of course, because the only way to actually understand the data you have, or to understand and draw conclusions from data is to have the full set of data. So, you know, you need to make sure what is being analyzed is fully represented there.

[14:31](https://youtu.be/JtqfASAZBRw?t=871) And then that mathematical definition, usually the way we tier this is we do it by column, and then we do it by table and then we do it by agency. So depending on who the subject is who's using data quality they might obviously not do the agency level, but they might do it at a similar aggregation. But usually it goes column table to the highest level. And I'll provide an example and we'll see this table, usually just need to focus on the highlighted section. So here you can see we have two boxes that are highlighted. One is completely empty. So again, it's easy to see that is missing data, so data that would be incomplete. And then we have another box that is null. So null in computer terms, if you're not familiar, can be the same way to, or just a way to represent nothing, just empty data. So a lot of the cases will mean if it's null, then it needs to be there for date of birth. Everyone has a date of birth. So that is obviously missing data. Everyone has a last name. So then again, that is missing data there. So that is a simple example. Then you have unintuitive examples that can lead to a bit of confusion and why it can really highlight the importance of why we have to have really open lines of communication with our agency partners.

[15:43](https://youtu.be/JtqfASAZBRw?t=943) So it comes down to what is expected. So here we have null again, which again could represent just missing values. But when you have certain true-false values, Boolean values, things that are either yes or no, true or false, that sort of thing, sometimes the way to represent false is more efficiently done with null than it is to actually put false in the system. I don't know why that is specifically, but it just is how some agencies and some data owners, even outside of the public sector, decide to represent false. So this is where it comes down to does null equal false? If so, then we have complete data. If null does not equal false, then we have incomplete data. This is where you need these real open lines of communication, really good clear data dictionaries and ways to ensure everyone is on the same page when it comes to understanding their data. Otherwise, we have a lot of confusion here about if this is actually complete data or not. So if anyone has questions, again, you can go through all this again during the Q&A part.

[16:49](https://youtu.be/JtqfASAZBRw?t=1009) But now we'll move on to our next dimension with accuracy. So the definition for accuracy is to the level in which data represents its real-world counterpart. So is that data accurate to what it's actually representing? Importance, of course, inaccurate data is going to be very misleading in terms of creating statistics. It also might just prevent meaningful calculations altogether. If all the data is inaccurate, then all the conclusions you would draw from any of those stats that come out of it would probably be useless. And then again, that mathematical definition there, we go column level, table level, and then agency level. So if you look at the same table, but now a different row highlighted, you can see there's me there. I was not born in 1950. If I get to look like this in my 70s, I'll be proud of that. Again, also not my phone number. None of these are real phone numbers or real data of anyone. This is all just representations. But again, this is data that does not represent the real-world counterpart. So that's me, but it is not my correct data. It does not represent my real-world values that are supposed to be there.

[17:51](https://youtu.be/JtqfASAZBRw?t=1071) So very similar to accuracy, we have validity. And these get confused a lot, and even I sometimes slip up and say the wrong one because they're so closely aligned, which is why we combine them. So the definition we would describe with validity is the extent to which data conforms to the standards of its specific domain, which essentially just means format. Is it formatted the way you expect it? So whenever you are filling out, say, like a birthday field or a phone number, usually it will auto-format. It will force you to type it in a certain way. That's when we're talking about validity. It's not what you actually put into the data, or it's not the data you put in. It's how you enter it is the best way to think about it. So importance for this usually comes down to the people who are using the data. So it can be correct. It can be accurate data. But if it's in the wrong format, the computer and the database might not understand what it actually is, and that's to the same tune of being inaccurate. So mathematical definition, same thing. Columns, tables, agencies, just basically number that are correct versus incorrect.

[18:55](https://youtu.be/JtqfASAZBRw?t=1135) So if we look at a validity example here, like I said, phone numbers are a common one because there's a bunch of different ways to write a phone number. So here you can see in this column, most of them are written in different ways. So knowing which way is valid would be key to understanding, at least for the computer sense, what the best way is or what the actual numbers here are. So you have dashes, you have ones with no dashes, you have ones that have parentheses and dashes, a mix. Hopefully, however the data is being collected will prevent this from happening because otherwise it is very time consuming and just very tedious to actually fix this sort of problem. So go over the difference between accuracy and validity here again, just because it is a little bit convoluted. So again, it comes down to format versus content. So if we look at this expected data in format of a phone number, we'll say we have the first three digits, that's the area code. We have the first three digits of the phone number, a single dash again, and the last four digits of the phone number.

[19:57](https://youtu.be/JtqfASAZBRw?t=1197) That would make up the format and the actual numbers in there would be accuracy. So the first example there is accurate but invalid. So that is probably a real phone number. I wouldn't recommend calling it, but it does not fit the format we just defined above. So it's using parentheses instead of dashes. There's no dash in between the second set of numbers. Again, easy to slip them up. It is an accurate phone number because the data is correct, but it is an invalid phone number because the format is incorrect. So on the other side of the coin, we have valid but inaccurate. So all zeros is not a phone number, but that does fit the format. We have three digits, then a dash, then three digits, a dash, and then four digits. So format ends up being correct, making it valid, but the actual data it's holding is incorrect, which means it's inaccurate. So hopefully that makes more sense. Again, any questions, feel free to ask them at the end. Now we'll move on to relevancy, though. So it's the extent to which data is useful across different systems or different targets.

[21:01](https://youtu.be/JtqfASAZBRw?t=1261) So data is not static. It moves across systems all the time. That's the whole point of collecting it so you can use it, which means it has to go through many different stages in its lifecycle to actually go from being collected to being used. So importance just means if you're collecting a bunch of data, or the reason it's important is if you are collecting a bunch of data, then you want to make sure you're using most of that data or all of it, ideally. So to look at an example, it's pretty hard to show an example just on a static image. The idea here is in this data set, the one that sort of sticks out is not making sense at shoe size. Why would you have shoe size if you're trying to get people and their dates of birth and their phone numbers? So assuming that shoe size is not used at any end of the system in this example, then it would be irrelevant. If for some reason this shoe size metric is actually used somewhere, then it is relevant. So it's really just, is data used? That's what makes it relevant. Another simple one to understand. Now move on to consistency and freshness. I believe this is the second to last one here.

[22:02](https://youtu.be/JtqfASAZBRw?t=1322) So how we would define this is twofold. So first, how new the data is, is its freshness, and specifically how new it is in regards to how new you expect it to be. So like a census is only taken every 10 years, so you would never expect, or if the data is six years old, that's not unfresh data. It's still fresh because that's within its lifecycle. If the data was, you know, 30 years old, then that's non-fresh data anymore because you expect it to update every 10 years. And then that same logic follows for, you know, daily, weekly, monthly refreshes of data. And for consistency, it's making sure data is the same across different data sets, specifically data that is referring to the same subject. So if you are in multiple different data sets, it's making sure that all the information that is the same across those data sets matches up to each other. And again, we have mathematical definitions for how we would define these and how we calculate the different scores.

[23:04](https://youtu.be/JtqfASAZBRw?t=1384) But let's look at an example for this one now. So in blue, we have consistency, and in yellow, we have freshness. So in the first data set, we have John Smith there in the top row. In the second data set, we have John Smith again. We can see he has the same information except for his phone number is different. And the refresh date, which is how you would define how fresh the data is, are 10 years apart. So you have a whole decade between these. So this is where we would say most likely data set two is going to be the fresher example because, or it is the fresher example, so it's most likely that data set two has the accurate and valid data. Because it's newer, we're expecting it to be the most up-to-date and the most useful data. It's not always guaranteed, which is again why we wouldn't change the data. Like we wouldn't go back, and even if we could, we wouldn't change the first phone number, simply because we don't know if the second one is actually the true phone number for John Smith.

[24:04](https://youtu.be/JtqfASAZBRw?t=1444) So now we can move on to our last, but not least, in metric and duplicates. So this is often referred to as uniqueness. So definition, pretty simple. The measure of repeated instances of data that can be either row-wise or column-wise. And the importance is unintended duplicate values can break processes. They can also create misleading statistics. If you're doing like a sum, but you have a bunch of duplicated values, then that sum is going to be way overinflated. Or even in our case, the way we de-identify things is we can't have duplicates. So it will actually break our process if we have duplicates. So we have to ensure no duplicates at all in our system. And I'm sure in other systems as well, that is very important. So if we move on to an example, we can see actually two examples here, because duplicates can be very easy to understand, but also gets much more complicated to calculate, depending on how you define it. So the first one at the top will have these perfect duplicates. So in red, we have Billy Joel here. He's repeated twice in this same data set.

[25:04](https://youtu.be/JtqfASAZBRw?t=1504) All the data is exactly the same across every column and the rows, which means it's a perfect duplicate. It's very easy to find, and it's very easy to remove the one that is duplicated. However, if we look at an imperfect duplicate at the bottom one here, you can see there's multiple different ways to get imperfect duplicates. So these are probably representing the same person in Roger Waters. But we don't actually know that because certain key statistics are different. So we can see that the name is flipped in the name column, and that can happen based on data entry. Data entry systems have you put your last name and then your first name. So if someone's not paying attention or just happens to slip up and do the wrong one, that's how you can get that, where you have the names that are flipped. Same with date of birth. In America, we usually do month, day, year, whereas pretty much everywhere else in the world, I think, does day, month, year. So if you have an international system, that's where you can get dates of birth or any other date can be wrong. And again, where the format becomes very important, and you need to make sure everyone's on the same page there.

[26:07](https://youtu.be/JtqfASAZBRw?t=1567) So those are just examples of how you get duplicates that are not perfect. So we call them just imperfect duplicates. Those are much more difficult to figure out because you need a lot of context around the actual domain you're working with. And a lot of computation has to be done to even find those. So those can be very difficult to find. But overall, perfect duplicates are quite easy to understand and to find. So those are the ones we try to focus on the most. So that covers data quality. So again, put this back up for you so you can look at all those metrics again. And now we will move on to how MPH has created a solution or our version of a solution for this, at least at the agency level, so that we can help empower all of our agency partners to have the best data quality they can. I just want to reiterate, too, we're very uniquely positioned here at the state government as a lot of data flows through us. So we are in the just perfect spot to actually do this data quality work, since we see so many different data sets from so many different sources. We can really see how they might differ and help provide much more overarching solutions to the state as a whole.

[27:13](https://youtu.be/JtqfASAZBRw?t=1633) So let's move on to our solution and our tools to combat any runaway data quality that might present itself. So we can look at our development timeline from the past, so how this all came together. So the first one there, bottom left, the data management and data science team managers, they created these proofs of concept for the data quality work. Like I said, from our position, we can see all this different data. Many of our team members have years upon years of experience looking at this data. So they're able to tell like, hey, maybe this is something we need to look at. And from there, with those proofs of concept, we were able to create these initial dimensions. We coded them in Python and a little bit in SQL. Then we also did some dashboard mockups, because all the code is just for us. So we can actually calculate all these scores. These mockups for dashboards and dashboards themselves are what the agencies are going to see and how they're going to actually make decisions based on what we have coded. So as time moved on, we coded more of these dimensions. We created full actual Tableau dashboards. So imagine a lot of you are familiar with Tableau. We use it to create a full mockup of a dashboard that is actually fed by live data.

[28:16](https://youtu.be/JtqfASAZBRw?t=1696) And now, currently, we have all dimensions coded. We're continuing to do dashboard development. And we have a full pipeline created. So this is metrics we actually run every single week across tons of data. So every week, we're getting updated scores for data sets, and we're starting to help agency partners really understand their data quality. So, again, about the pipeline, we can look at this final product pipeline at more of a high level. So at the very left, we have the agency partners. They're the start of all this, since they are the data owners. They supply us data. It can be daily. It can be weekly. There's a ton of different cadences. Data is not guaranteed to mirror the source. So that is a big caveat with what we're doing. Since we're not the owners and we don't always have access directly to their data, sometimes we'll be giving data quality on data sets that might not reflect what's actually in their system. Which is why we want what we call direct database connections. That allows us to directly see into their database, as the name implies, and gives them much more valuable metrics.

[29:17](https://youtu.be/JtqfASAZBRw?t=1757) So we get data from different – or the sources that are provided by these agency partners can differ. So we have those direct database connections with some, but some will just give us flat files, so essentially like a CSV, like how we would do a data request. The agencies will do for us. And that makes it a lot more difficult to do analytics and all that sort of stuff, because we don't have the actual data as it's changing and updating in an actual database system. But anyway, that's just to say that all this data is not guaranteed to mirror the actual source at any given moment, just as a caveat. But usually it does, if it's a direct database connection. And that means we can put it through our data quality tool, and all those data sets get reviewed. We want to put in data sets that don't actually get refreshed, so the first thing we do with our tool is we make sure it only gets fed in data sets that are refreshed with some sort of cadence, so like I said, daily, weekly, monthly, that sort of thing, but we do get all these data sets just as one-time ingests on our end, whether it needs to be fulfill a data request or some random thing that happens and we get random data.

[30:21](https://youtu.be/JtqfASAZBRw?t=1821) We just want to make sure we're not putting that in data quality since it will score will never change. So once we get all the data sets that are to be reviewed for its refresh, or that are refreshed, then we score the dimensions and we process them once a week. That gets outputted to the Tableau dashboards, which is updated via those data sources that we created with the tool. Importantly, each agency can review only its own data quality metrics, so even though we work with a lot of public sector, it is still private within each one of those agencies since all of this data is personable and contains information directly about people. So each agency only has access to its exact agency dashboard. So I also want to talk about some development difficulties we've faced. I sort of alluded to it in the last slide. But first we'll start off with how to make this, or how universal are we going to make this tool. So it comes down to software versus pure analytics. A lot of what we have done and continue to do in terms of those data products is more on the analytical side, instead of being actual software.

[31:28](https://youtu.be/JtqfASAZBRw?t=1888) Whereas this has sort of become more of a whole software suite for us. So it's sort of this new avenue for MPH, and a very cool sort of space to explore as a state agency, working with other state agencies. So that was the key question is like how universal do we make this? Are we going to be providing direct support for every single agency? We're like, we can't do that, we don't have the manpower, we're a very small agency, so we had to make it as universal as possible, and make it this sort of software piece. And then also performance. Part of making it universal means we had to do it in Python versus doing it in our database. So we have our own database system, of course, since we have tons of other databases that we're connecting with. And doing analytics in a database system is far, far faster and far more efficient than doing it in Python. But like I said, we have our own system and other agencies, even within the state, all have their own versions of the system, it's not unified. So, if we made tools that only worked in our system, there's no guarantee it would work in the systems for any other agency if they wanted to use our tools directly.

[32:33](https://youtu.be/JtqfASAZBRw?t=1953) By making it in Python, we can actually just package it up and send it out to agencies if they want to run it directly on their system without our intervention at all. Also, part of doing Python and part of the performance consideration is sampling versus population. So if you're into statistics at all, then you'll know that samples can be a great way when there's too much data to compute, great way to understand the data. But for some of our metrics, duplicates specifically, samples don't really work since you need row level data. So, we had to really figure out some efficient ways to run these massive data sets. We have data sets that are in the hundreds of millions of rows. So, making sure everything ran as efficiently as possible while still being as portable as possible was a big part of the development time of this. Then, how to handle those less desirable data sources. Like I said and alluded to earlier, a lot of times we don't have direct connections to the database system, we just get these flat files which make it a little more difficult to work with, but we still try to do our best.

[33:35](https://youtu.be/JtqfASAZBRw?t=2015) And then delta loads versus full table refreshes. So, delta load means instead of doing a complete drop and recreation of a table with new data, you just give the new data and the new updates to the data and to the system as a, what we call a delta load. Full table refresh is what I just mentioned, that you drop the entire table and reload the entire thing with all the new data. That's what most of ours are, which makes it very difficult to see how data changed without reprocessing the entire data set. And with tables that end up being hundreds of millions of rows and gigabytes worth of data, it is very difficult to process all that again and try to figure out what has changed and maybe how the score might be affected. So, ideally we would get these direct database connections and we would get these with delta loads for every single system we connect to, because that would allow us to very easily run these calculations because we only need to run data quality on the delta load, and then can update the scores accordingly because we'll know how many new records there are, what records have changed, all that.

[34:38](https://youtu.be/JtqfASAZBRw?t=2078) So it makes it pretty easy to recalculate everything and update any scores. Whereas full table refreshes, we have to redo the entire processing of the table.

**Unknown speaker**

[34:49](https://youtu.be/JtqfASAZBRw?t=2089) Can you just clarify again for Evelyn in the chat, what data tool are you referring to specifically?

**Tyler Haire**

[35:01](https://youtu.be/JtqfASAZBRw?t=2101) Data tool for, you mean just like the whole data quality tool? Sorry, I'm confused by that question.

**Unknown speaker**

[35:10](https://youtu.be/JtqfASAZBRw?t=2110) Evelyn, maybe you could clarify your question, or we could come back in the Q&A.

**Audience**

[35:22](https://youtu.be/JtqfASAZBRw?t=2122) Data validation tool.

**Tyler Haire**

[35:25](https://youtu.be/JtqfASAZBRw?t=2125) Oh, like validity for that sort of sense? Like the metric specifically? Because this tool here, when I say how to make a universal tool, that's like the data quality tool in its entirety. So the entire pipeline where we ingest the data, process it, and then make the dashboard, that's what I mean by tool here. Talking about validity specifically, it's about just the rules of the data set. So we have to know the data owner and know what is supposed to be in the data, and then with validity, and to validate it, we can make sure only that those types of values are appearing in the data set. That would be validity. But if that answers that, we can move on to the stats. So here's just some stats about what all was developed and what went into development. So hundreds of man hours in development time between me and Brent, the data scientist, and that ended up processing gigabytes up to terabytes worth of data.

[36:25](https://youtu.be/JtqfASAZBRw?t=2185) So for reference, a terabyte of data is 250 movies, 90,000 songs, or 6.5 million PDFs. So it is a lot of data. And we do that, I don't know if we do terabytes weekly, but we have definitely processed terabytes worth of data in the development of this tool. So hundreds of billions of cells and multiple instances of people asking what on earth I am doing because I am slowing down the entire system and making things not run as quickly as they should. So that is the amount of processing power that goes into all this, and we have pretty powerful systems here at MPH. So the fact that we can slow them down with just our data that we have access to is a testament to how much work is going into this. So I mentioned Brent, I'll mention some other key contributors here to this. So Meena Pradhan is the data management team manager, my direct supervisor, then Brian Zaksek, the data science team manager and principal data scientist. They sort of spearheaded this and brought up as a key issue and a main goal of last year, and now moving on to this year, of getting more data quality work and more metrics out of the data we have.

[37:31](https://youtu.be/JtqfASAZBRw?t=2251) As we saw earlier, the very start of this, all the ingest and creation of data is at an all time high, and we see a lot of it. So they realized the need for this and sort of put Brent and I on the development side to do this. So yep, again, Brent Surgent, the data scientist who helped develop a lot of these tools, and then Ty Codwell as well, he's a BI developer. He is the reason the dashboards have any existence at all, he's had a lot of input in how we've made these, so props to him for that. Speaking of the dashboard, we will now hop over to the dashboard demo. So hopefully this appears. Y'all can see this. Connect real quick. So this is a quick overview of the dashboard demo. There we go.

**Unknown speaker**

[38:19](https://youtu.be/JtqfASAZBRw?t=2299) Can you see the dashboard demo right now.

**Audience**

[38:22](https://youtu.be/JtqfASAZBRw?t=2302) Yes. Oh, we can. Okay.

**Tyler Haire**

[38:24](https://youtu.be/JtqfASAZBRw?t=2304) Well, sorry, I just actually I see the slide. Let me make sure and go back to share the correct screen. I guess it's only sharing now. I think it. All right, how about now. Can we see it now.

**Unknown speaker**

[38:54](https://youtu.be/JtqfASAZBRw?t=2334) You stopped screen sharing.

**Tyler Haire**

[38:58](https://youtu.be/JtqfASAZBRw?t=2338) I thought I should Now.

**Unknown speaker**

[39:10](https://youtu.be/JtqfASAZBRw?t=2350) I think you're still not sharing your screen. I think you have to click screen share again because I think you came off of it.

**Tyler Haire**

[39:17](https://youtu.be/JtqfASAZBRw?t=2357) I keep clicking it. Okay. Screen share. Okay. Okay. Okay. Okay. Okay. Okay. Okay. Don't know why it's not letting me share this screen. Okay. Okay. Okay. Okay. Yeah, when I click on it, nothing happens now.

**Unknown speaker**

[39:50](https://youtu.be/JtqfASAZBRw?t=2390) When you click on share screen.

**Tyler Haire**

[39:52](https://youtu.be/JtqfASAZBRw?t=2392) Yeah, nothing happens. It's worked last time. Last time and it worked yesterday.

**Unknown speaker**

[40:09](https://youtu.be/JtqfASAZBRw?t=2409) So you've come off of you. You've already stopped screen share and try it again.

**Tyler Haire**

[40:14](https://youtu.be/JtqfASAZBRw?t=2414) Yeah. Okay.

**Unknown speaker**

[40:16](https://youtu.be/JtqfASAZBRw?t=2416) Let me let me try screen share screen sharing my screen and see Sorry, everyone. I thought that was

**Tyler Haire**

[40:29](https://youtu.be/JtqfASAZBRw?t=2429) Can you see my screen.

**Unknown speaker**

[40:32](https://youtu.be/JtqfASAZBRw?t=2432) Yes, so I can see yours. Alright, so I'm going to stop screen share and maybe let's see if you can try again.

**Tyler Haire**

[40:47](https://youtu.be/JtqfASAZBRw?t=2447) Something always does go wrong with the demo. Julia, you're

**Unknown speaker**

[40:53](https://youtu.be/JtqfASAZBRw?t=2453) Having yesterday with us as well. Our speaker was doing an AI demo. So it happens every time.

**Tyler Haire**

[41:01](https://youtu.be/JtqfASAZBRw?t=2461) This is really weird. Yeah, I keep clicking it and just absolutely nothing happens. I can click the little arrow. And like change the settings, but when I actually try to share It does not work.

**Unknown speaker**

[41:18](https://youtu.be/JtqfASAZBRw?t=2478) Maybe if you want to, if you want to quickly Sign in and sign out and sign in again. We'll just wait for 30 Maybe you have an idea of solution.

**Audience**

[41:32](https://youtu.be/JtqfASAZBRw?t=2492) Sometimes there's in the new zoom. There's like there's a dialogue, you have to click when you're recording and that prevents you from hitting buttons. You could check on your screen and see if you have a are you okay with the recording button.

**Tyler Haire**

[41:42](https://youtu.be/JtqfASAZBRw?t=2502) I see the recording.

**Audience**

[41:45](https://youtu.be/JtqfASAZBRw?t=2505) And then you click that and then you can click the other buttons. I don't know if that's happening for you, but that happened to me last week.

* * *

Original page: https://innovate-us.org/empowering-data-quality-a-metrics-based-approach-for-agency-excellence · Licence: CC BY-SA 4.0 (https://creativecommons.org/licenses/by-sa/4.0/), as stated on innovate-us.org
