Skip to content

Summary

Team DataFam TUG meeting #95. Rob Tullo, a Colorado-based analyst presenting to peers for the first time, sets out to show that Tableau is not just for retail analytics. Superstore is everywhere in training material, but the tool Rob once used to show a COO that a third of their products were shipped past a closer warehouse is a general-purpose BI platform. The main example is a sentencing summary dashboard built for a small legal firm from US Sentencing Commission data: 20 years of federal cases, 1.4 million records and about 15,000 variables per case in SPSS and SAS files, cut to around 500 in R. Rob covers the circuit and district shapefiles (and the territories that turned a US map into a map of the world), rebuilding the data model with the shapefile as the spine so the map never disappears, a short history of the 2005 Booker decision and the sentencing table, and the court exhibits: medians and percentiles rather than averages, actual sentences against the guidelines, a dynamic histogram, district against circuit against nation, and a diagnostics view that reconciles every year's case count. In the Q&A, Neha Sharma and Andy Holt ask how Rob handled so many columns, how long it took and how the statistics were explained to the client, and Chris McClellan hosts the survey and quiz.

Listen to this TUG

Prefer to listen? This meeting is also an episode of the Tableau TUG recordings podcast.

Key points

  • Tableau is a general-purpose BI tool, not a retail analytics tool; most of its connectors are anything but retail data sources.
  • Public data can be anything but user-ready: the sentencing files had about 15,000 variables per case and came only as SPSS or SAS.
  • Domain knowledge did the feature reduction: knowing which kinds of cases the firm handles cut 17,000 variables to about 500.
  • Make the shapefile the spine of the data model and left-join the data to it, so filtered-out regions stay on the map.
  • US maps that include territories need their own panels for Guam, American Samoa, the Virgin Islands, Puerto Rico, Alaska and Hawaii.
  • Present medians and percentiles rather than averages; averages distort sentencing data, and a histogram shows the whole distribution.
  • Comparing actual sentences with the guidelines changes the conversation: a guideline of 18 to 24 months can sit beside a median of six.
  • Only about 5% of US federal cases go to trial, and the DOJ wins 90% or more of those.
  • Reconcile record counts against the source file every year so you know no cases were lost on import.
  • When an executive asks for an average, ask about the distribution instead; people anchor on the one easy number.

Jump to a chapter (35)

  1. 0:00 Welcome to meeting #95
  2. 0:49 Introducing Rob Tullo
  3. 2:16 What do you mean, not for retail?
  4. 4:28 The map that changed a COO's mind
  5. 5:20 A sentencing summary dashboard
  6. 8:02 What we'll cover
  7. 9:46 Cheaper than a court expert
  8. 10:08 The data: 20 years of federal cases
  9. 11:20 Definitely not user consumable: SPSS, SAS and R
  10. 13:19 Circuit maps, districts and territories
  11. 15:19 Dynamic text, comparisons and court formats
  12. 16:02 The data model: shapefile as the spine
  13. 17:21 A history lesson: Booker and the 2005 guidelines
  14. 20:19 Reading the sentencing table
  15. 21:39 Built to sway a judge
  16. 22:26 Only 5% of federal cases go to trial
  17. 24:47 The summary dashboard: medians, not averages
  18. 26:20 Mapping the circuits and territories
  19. 28:19 Changing the conversation with a client
  20. 30:24 Guidelines against actual sentences
  21. 34:18 Exhibit A: the histogram
  22. 35:59 District, circuit and nation compared
  23. 39:01 LODs, context filters and formatted text
  24. 39:23 Diagnostics: making sure no cases are lost
  25. 40:59 Q&A
  26. 41:38 Cutting 17,000 variables to 500
  27. 44:55 How long did it take?
  28. 48:35 Data that could change someone's life
  29. 50:27 Explaining medians and percentiles to the client
  30. 53:41 Nulls, duplicates and testing with the expert
  31. 55:06 Ask for the distribution, not the average
  32. 55:58 Finding the client on Upwork
  33. 59:59 Did the client keep using it?
  34. 1:01:41 Survey and quiz results
  35. 1:04:51 Next meeting: Matthew Miller on Tableau Studio

Transcript

0:00 Chris McClellan: So welcome to Team DataFam Tableau User Group meeting number 95. This TUG aims to capture all the in-person and unrecorded presentations and give them a wider audience. So I don't really mind where you've presented before. I actually don't care if you've never presented before.

0:17 Everyone is welcome. We'll find a slot for you, just email me at team.DataFam@Gmail.com.

0:24 But today we've got Rob with a really interesting topic. I love the name of this, Hey, Tableau is not just for retail analytics.

0:32 And I've had this with quite a few clients over the years of people complaining that Tableau only does retail stuff because of Superstore. And, um, and I think he- Rob's here to dispel this and talk about some other things. So I'll hand it over to you, Rob, and you can take it from here.

0:49 Rob Tullo: Thank you.

0:50 Okay. Um, just a couple of housekeeping things. Um, I have my notes screen up, so I can't see anything. If you feel really strongly like, "Hey, I wanna ask a question," you know, I, I can't see the hand raiser or whatever, so you can get onto the mic or ping Chris and say, "Hey, uh, you know, I have a question," and I will get to it, um, while we're going.

1:14 Um, if we get really bogged down, I might say, "Hey, let me just get through this stuff, and then we'll do the questions at the end." I don't have anywhere to be for a while, so I can stay after. Um, but with that, let's, let's, uh, I'm gonna get going here. So my name's Rob Tullo. I'm based in the United States. I'm in Colorado. I just moved.

1:32 Um, and, uh, technically I guess you could say first time, short time. I went to one TUG that, uh, Chris's DataFam, and, uh, so here I am presenting. So I will give, uh, props to Chris for allowing me to do that, and props to Michael McCusker for saying, "Hey, I think that'd be a really cool thing to do," 'cause we were typing in the chat on the last one.

1:53 So, uh, here I am, um, just a few weeks later, uh, after that. So, um, I am not a lawyer. My mom really wanted me to be one, but I, and I probably would've been a good one, but I am not one. So, um, anything that you see here is just for display. Do not use it to try and, uh, help out, uh, somebody that you know that may be having trouble with the law.

2:16 So, um, you might be going, "Wait, what's going on over here?" So, um, what do you mean not for retail?

2:24 Um, my focus today is going to be on legal data, and when I say legal data, it's sentencing data in the United States penal system. So, uh, just to give you a little idea if you didn't get that, uh, from the TUG, uh, description. Um, but, uh, yeah, Superstore. Superstore is everywhere, and I got news for you. When I did my training for Domo, it was the same thing.

2:49 They had a retail setup for almost all of the things that we did in our training, and I kinda rolled my eyes because it was basically a different version of Superstore except it was sporting goods. But, um, that's all good. So there's a lot of training content that's put out by the software companies that kind of make it seem like, hey, this is a really great use case.

3:10 Maybe many of their clients, uh, are in that industry, and so therefore y- you know, it's just the least common denominator to make it so it's a no-brainer decision for them to, to go ahead and buy it. Um, I don't think I've ever seen anybody submit anything for the Iron Viz with retail sales.

3:27 Um, Tableau is a general use platform. There's, uh, it's a generalized BI tool. It is not a retail analytics tool. It's not like SAP objects and things like that. It's, it's just designed to be a visualization tool. There's 100 connectors.

3:42 That should tell you right there that it's not just for retail, 'cause most of those connectors are anything but retail data sources.

3:50 Uh, fun fact, I used Tableau for years, I think about four years before I actually did any retail data, let's say looking at invoices and things like that with line items. It took, you know, it took me almost five years to do that. Um, I used it for marketing performance data. I looked at our trial conversions. I looked at Salesforce opportunity progression and bookings won and all kinds of stuff.

4:16 And you might say, "Well, Rob, that's sales." Still not retail sales, but the marketing stuff was not either. There were no invoices. There were no line items. There were no products. It was all getting stuff from everywhere else. So, uh, I did eventually use it, and, uh, when I did go work for a distribution, uh, distribution company, and, uh, one of the first visualizations that I really built was where are we shipping our products to, and our COO had his mind blown when I showed him how one-third of our products were being shipped across the country even though there was a closer warehouse.

4:52 And Tableau with mapping, uh, made it really easy for me to show with the, you know, the origin lines and all the rest of that. He's like, "I don't understand." I said, "Well, your products aren't where your people are, so they have to ship it from across the country, and that costs maybe a half a million dollars out of 3 million in unnecessary air shipping costs if we moved our stuff closer." And so it got them to think, "Hey, uh, maybe we need to reconsider how, how we do our stuff." Um, there are zero retail analogs in my use case today.

5:24 So, um, what I'm gonna talk about is, is a sentencing summary dashboard. I built this for, uh, a legal client of mine who approached me that says, "Hey, I need to do some stuff. I, I saw your portfolio, I think you can do it." And I had no idea what I was getting into until I started doing the work, but it was a really cool and interesting project.

5:46 And as somebody who does business analytics all day and sales and marketing, you know, in my mind I could say the work that I'm doing here could literally have a massive impact on an individual's life because it literally is all about, you know, their freedom and how they can make the best decision about their freedom.

6:05 So, um, how fancy did I make this dashboard? I used, I used a lot of stuff. I was pretty proud of it. Um- It's got a pretty big data set behind it. The, the actual full dashboard is about 1.4 gigs, uh, as a TWIX, uh, because there are 1.4 million records. Uh, I have about 500 variables in each of these records, and this all came from the US Sentencing Commission, which is an organization.

6:32 Um, they are required by law to provide a bunch of information on federal court cases in the United States. One of the reasons is they kinda sorta know that the legal system in the United States isn't quite fair to everybody. So this is their way of saying, "No, we're totally fair, and all the information is there. You, you go look at it." Um, it's not easy to work with though.

6:54 Um, but that was my main data set that I worked with, hence no retail.

6:58 Um, I built out some custom maps. Uh, I found some shapefiles to help facilitate that for me. I did a lot of descriptive statistics and histograms, uh, for my deliverables as part of this, and I did a lot of specialized table, uh, builds and, uh, extracts for the legal exhibits that they actually are gonna submit to the court. So, um, all of a sudden getting stuff wrong, eh, you can't shrug your shoulders now because now it's potentially going to be, uh, put into, um, into the courts as a legal exhibit.

7:35 And all of a sudden my, you know, you, you, you gotta get it right like 100% of the time now. So, um, so there was, there was that extra, uh, on it, so.

7:46 Um, and then I built out some quality assurance pieces. I did this well into the project when somebody was telling me that, "Hey, I think you're missing some cases," and I couldn't figure out where and why, so I, I, I was able to do that.

8:02 So what are we gonna see here, Jay? Well, uh, I'm gonna talk a little Mo- uh, more about the data source. I'm gonna talk about like why is this, you know, such an important thing to do, like the history of what I'm talking about for sentencing and sentencing guidelines. I'm, I'm aware that the audience for this video are probably s- many of them are outside the United States.

8:26 Um, but most developed countries have something similar. There's, you know, there's, you know, there's rules and guidelines to make sure that somebody that steals a, you know, a $5 item doesn't go to jail for 100 years, and somebody who, you know, unfortunately kills, uh, 100 people, uh, doesn't go to jail for a week. So, um, you know, the, the s- the sentencing commission put together these guidelines to help figure out what's the appropriate amount of time somebody should go to jail if they have to go to jail based on, based on what happened.

8:56 Um, I'm gonna talk about how I used the data behind it, how I built the data model. I'll show you real quick, you know, the, what the data source tab, uh, looks like. Um, what else did I need to bring in? The, the sentencing data is public. It's all there. Um, but I had to build out all the visualizations and bring in some, some other things to help, um, make things make sense for my client.

9:15 And just like any stakeholder, we have to distill it down to answer the question that they're looking for. So, uh, he, um, my, my client who's a… who owned a small legal firm, uh, was really, uh, data savvy, so he really helped me along in this. Um, this data was not user-ready. Uh, I'll talk about that in a bit. And once I got into Tableau, then, then, then what do I do?

9:38 Uh, I did a lot of building. I did a lot of UAT. I did a lot of trial and error. Um, but eventually he and I, um, got something that worked really, really well for him, and he asked me to do it because he was trying to save a lot of money. Because apparently hiring experts for the courts is really expensive, and, you know, 500 to $1,000 an hour, let's hire Rob for, you know, 50 to 100 to build something so I don't have to constantly go to the $500 an hour lawyer.

10:07 So the data that I used was public. So I mentioned the sentencing commission data.

10:13 Um, there's 20 years of cases. Each, each file had about 60 or 70,000 records in it, and it represented all the federal cases in a given fiscal year for the government.

10:28 Um, each case in the raw file had about 15,000 variables.

10:35 I'm just curious, how many people have worked with, with data sets that are that wide? I know I personally haven't.

10:44 Uh, so I'm… You know, show of hands in the chat. I'll go back and look later 'cause I'm really curious. Like, this was the largest data set that I had ever worked on as far as, uh, the breadth and availability of all the variables.

10:59 Um, and my data set I think went back to 2004.

11:07 So all in all, there were 1.4 million cases in there, uh, at the last time that I put this together.

11:12 So I had to build out, um, the mapping and all the other things in order to make sure that everything kinda goes together.

11:21 Um, what I thought was really interesting is, um, the data was not really consumable. I mentioned the size of the data file. Um, it's only 100,000 rows. That's nothing, right? We all deal with things that are millions and millions of rows. But again, 15,000 variables, you can't just drop that into Excel or anything else just to do comparisons. The data set was really, really big.

11:44 So I worked… Um, each row is one federal case.

11:48 Um, so I worked with my client, the lawyer, and we decided what variables we know that we wanted to keep based on the kinds of, uh, slices that he would want to do.

11:59 Um, the data was all in SPSS or SAS. Those were our two choices. I didn't know either, uh, so I had a little bit of a learning curve in order to get it in, move it around, do some transformations within the, the data analysis tool first- Dropped a ton of variables, that made it a little easier. Put it into a safe format, and then I had to figure out how to deal with it in R.

12:23 So I found the Haven package, which is what I use to do a lot of my transformations. Most of the transformations that I did in SPSS or, or SAS were literally just dropping variables or maybe doing a couple of combinations. Everything else where I was doing some mapping, uh, the codebook has changed over time. So a variable that used to mean X in one year now means Y, so I needed to be able to consider that for all years.

12:48 And now I have a new variable, you know, variable, you know, AB, and so now I have X or Y depending on the year. So I did, I did a lot of that.

12:58 Um, so those were my R transformations. I made one big CSV extract, which like I said, is running about a gig. Um, and it has all, all the records, you know, 400 to 500 variables depending on the year of the data, and, uh, that was the main start for, um, what was going on.

13:19 So am I ready? Nope, still not ready.

13:22 Lawyer says, "I need maps." Okay, great. That shouldn't be hard. I got state map, it's built into Tableau. This is what I was thinking. He goes, "No, I need a circuit map. I need a map of all the circuits in the districts." And I go, "What?" So I had to go looking around for that, and when I first started the project, it was a lot harder to find. Um, I did find one, and I put a link to a more up-to-date one, one that I know that is public.

13:46 Um, so if you're curious about where the shapefile came from.

13:51 Um, and so now that I had this map, uh, I was able to map out where all the districts are, and there's, uh, 12 districts in the United States. Uh, I'm sorry, 12 circuit courts, and then the, then, uh, DC, and there's 94 district courts. So, uh, the districts cut across state lines. The districts are multi-districts in a single state, so you c- it's like anybody who's ever tried to do like area code or zip code, like nothing, nothing matches.

14:20 Like everything crosses over, so you need a dedicated shapefile for that. So I found that. Uh, I had to build a mapping file so my data could talk to the shapefile in a way that made sense.

14:32 Um, and then I had to build some helper files to help me with my categorization and, and, and classification for, for later.

14:40 Now am I done?

14:42 Almost.

14:43 I was there. I was so close. Um, nothing was really easy. So the first time I put the map together, it turns out some districts are in the South Pacific because of Guam, or there are the US Virgin Islands, which are nearer to Florida, but not quite. There's Puerto Rico, there's Alaska, there is American Samoa, also out in the South Pacific, and Hawaii.

15:05 So if we put up all the districts on the map, you couldn't read anything because it's the map of the world. So, uh, I got creative, and you'll see how I handled it. Um, and it was important that it had to work with the shapefiles. So, um, I'll show you how I dealt with that. I had a lot of dynamic text fields that I built. I have so many calculations, and most all of them it seems are, "Hey, let's get this, let's get this working right.

15:32 Uh, let's get this label right, and get it so when everything shows up on the screen, it's all dynamic." I did some grouping comparisons. Uh, I mentioned the descriptive statistics.

15:45 And I needed to match two very specific formats for the, uh, for the PDFs that we needed to submit for exhibits. So I did a lot of trial and error, and I did a lot of UAT.

15:59 So let's, uh, get into it a little bit.

16:03 Um, here's my data model.

16:05 Um, the first time I built this, uh, I actually had the data model set up with the wrong kind of spine.

16:14 Uh, I originally started with the dataset. It's the big million, million case thing. That should obviously be the center of my universe. Turns out that once I started building the maps, I started noticing behavior that I didn't like. If there wasn't a case because I filtered out a bunch of stuff, parts of the map would disappear.

16:31 So I went back and redid it, and instead, starting over here on the left, I have the shapefile, and I join that to my mapping table so I can talk to my dataset. And my dataset was left joined to the shapefile. So if there was no data, my map was still there 100% for everything. If there was data, it would of course show up in the parts of the map that were appropriate.

16:51 Um, I had some mapping tables that I needed for some categorization, and then I have this one last one, this sentence, sentencing table, which is actually the, the thing that says, "Well, if you did this kind of crime and you have this kind of background, you should go to jail for this long." So, um, this is…

17:11 This one here on the bottom right is one of the key pieces for development of one of my main tables 'cause it had all the data that I needed in it.

17:21 Um, just a little history, um, only because, you know, it, it, it may be interesting to some folks. Um, there's a before and after in the US legal system, and that date is 2005 when they got rid of the old sentencing guidelines and, uh, as a result of this case, we got new ones.

17:41 And before 2005, there was very, very strong sentencing, especially in the United States. There was a war on drugs going on. Uh, they, they wanted mandatory minimums. There was crime is rampant in the United States, and everybody's getting out after serving a day for… And they killed a million people. So like, they, they were very heavy-handed as a result of the pre-2005, um, sentencing guidelines.

18:08 So that could mean if you had a, what today people would consider to be a relatively minor offense in the grand scheme of the legal system- Um, you could still go to jail for years and years. And sometimes there was no parity. White-collar crime was handled very, very differently from what people would consider to be blue-collar crime or drug crime and things like that.

18:29 And people would go to jail for 25 or 30 years for a couple of ounces of marijuana, and somebody can go out and, you know, kill 10 people, and they may go to jail for 10 years, uh, depending on how those guidelines were set up.

18:42 Um, there was no discretion for the judges. They were literally called mandatory minimums. So if you got convicted of the crime, there was a, there was a low number there, and that was the absolute minimum. So, uh, the judges, uh, pretty much their hands were tied even if they were able to recognize, um, mitigating conditions and, and things that today they're lab- they're allowed to take into account.

19:07 Um, and in some cases, the way that the legal system works in the United States, uh, a jury comes in, they render a verdict, their job theoretically is done. The judge is responsible after the fact to say, "Oh, well, how long should they go to jail for?" And they would consider additional evidence maybe perhaps that the jury never saw. And so therefore, the jury might say, "Well, I think them going to jail potentially for a year or so might make sense," but the escalators may cause it to be a lot longer than that.

19:36 So there was a lot of power that the DOJ had, and as a result, um, they tended to get a lot of people to plea out.

19:45 After 2005, what happened was they got rid of the mandatory minimums. They got advisory guidelines, and it created a larger variation in sentencing for the same crime. Different defendant, same crime. All of a sudden now it might be, you know, a very large difference, um, in the amount of time that they potentially could go to jail. So it put the ch- it put a lot of discretion back on, on the jurists, on the, um, on the judges.

20:12 And if they'd wanted to deviate from the standards either heavier or lighter, they needed to provide the right kind of documentation.

20:20 And I'm gonna show you real quick what this sort of kinda looks like. I know the numbers are really, really small. I'm just gonna point out two very important things.

20:29 Um, across the top there's a, there's a dimension called criminal history. Basically, how many times have you gone to jail, if you wanna think of it that way, and what those crimes were. You get points for it, and the bigger the number, the longer your sentence is gonna be.

20:44 The, the rows are the offense level. How significant and egregious was your crime? Something small like, I don't know, petty larceny, uh, might be up here, but, you know, murder would be down here at the bottom. So the further you go down, the longer your sentence. The further you go across here, the longer your sentence. And depending on if you're a first-timer, even, even if, even if it's a low-level crime and you've been doing a lot, you still could potentially not go to jail.

21:10 Uh, this number at the top is zero to six months. The ones down here are 360 months, uh, so 30 years to life, uh, is near the bottom.

21:18 So, uh, the judges basically have an entire handbook to determine which column and which row somebody should be in based on the case that's in front of them.

21:28 But even so, they have a lot of discretion. Again, this is a recommendation. It's not mandatory. It doesn't mean that they have to provide the exact numbers that are in here and only in that.

21:40 So the purpose of what I helped build is to sway a judge, and in my client's case, to try and get them to go a lot less on the leniency side and show why that's still okay. Because most judges like to be in the middle. They don't wanna be considered an outlier, either way too lenient or way too harsh. Some judges maybe do. Um, maybe they wanna be seen as super strong on crime, and that's their reputation that they get to manage.

22:10 But most of the time, the judges really don't wanna do things that are considered to be out of the norm. So the purpose of this is to help my lawyer advise his clients and also persuade the judges if things don't quite go well in court.

22:26 So turns out, I didn't know this, only 5% of federal cases actually go to trial.

22:33 95% are settled out of court.

22:35 Um, and usually there's probably some jail time or heavy probation or, or whatever, and that's what my lawyer is trying to uncover before they even get too far with having to make a decision with the DOJ.

22:51 But the DOJ is really good at winning cases, 90-plus percent, 95%, 97%, depending on the jurisdiction, depending on the crime. Which, when you think about it, is pretty insane as doing that. Think about somebody doing anything. It's like, anybody here come close to getting anything right 90% of the time? Like, I know I don't. I'd love to, but I don't.

23:15 Um, so how is the DOJ that good? Well, there's a lot of discretion for the prosecutors.

23:23 If you're in the United States, you probably have seen a lot of stuff in the news over the last, you know, six to 10 years about them going after a particular kind of case or not going after this, and, you know, is, is it the right case to go after or, or the wrong case and all the rest of that. So the prosecutors decide literally what cases to go after based on the evidence that they have.

23:44 Um, they do have these guidelines they can lean on, a defendant on. They could say, "Hey, look, these guidelines are here. You can go to jail for 10, 20, 30 years," although the reality might not be that, which is the purpose of this workbook.

23:58 They have all the three-letter agencies at their disposal to try and gain evidence and do all this stuff. So the DOJ, one of the reasons why if they're gonna go to court, they're gonna win, because they have the evidence. Like, it's not, it's not hard for them to lose. It's rare to see them lose. If they lose, it's probably because they shouldn't have brought the case in the first place.

24:20 Um, so how are we gonna sway a judge? Well, the rules are complex, the rules are flexible.

24:30 The judges sometimes lean one way or another, and they think they're doing what they want, uh, and, and, and they're doing it in a c- in a consistent way, and consistent with the rest of the district or the circuits or the nation.

24:44 And there's a lot of variation, hence the data argument. So here's a first look of what I built for my client.

24:55 So the KPI in this entire workbook, I only have one: how long were they sentenced to, and how many months?

25:02 It's got filter, summary stats, detail summaries, and a map. And the main dashboard looks like this, and I'll just walk through it real quick. At the top, I got tons of filters and parameters to try and say, how are we gonna slice out these million cases?

25:19 I have a summary where, based on these filters, how many circuits have the cases that we're talking about?

25:26 Um, how many districts within those circuits have these cases that we're talking about? Total number of cases, and then the sentencing time in months for the 25th, the median, the 75th percentile.

25:41 And the client that I was working with, he was very keen, and when they would do their presentations, they would generally not talk about averages, which I thought was really refreshing. They wanted to focus on what the median time is, because they know that averages sometimes distort, and the median was a better representation.

25:59 So, but they also wanted to see these quartiles as well, so that way they can have a good conversation.

26:06 This section over here is a comparison for each of the circuits. Shows the 25th percentile across the, the 12 circuits, uh, including DC, um, the median, and the 75th percentile.

26:20 And then here's this map that I mentioned about the circuits. And if you kinda look, and I'll show some, some zooms in. Uh, but you'll notice, like if you look at the state of Florida, you can see a bunch of lines in here, and these lines are the different cir- uh, district courts that are even present in Florida. Other states only have one, uh, one circuit, and it's for the entire state.

26:42 But the more popular areas tend to have things broken out.

26:46 Um, down here at the bottom, I have my panels. Here's Puerto Rico. Here's the Virgin Islands. Here's Hawaii, Alaska. Guam and American Samoa are over here, and they each have their own panels. And if there's cases in there, they, the panels show. If there's no cases, I just blank them out. So basically, I had to redo a whole bunch of calculations and have separate sheets for one, two, three, four, five, six, plus the map for the United States, uh, the contiguous.

27:12 So, um, this was the main thing that, uh, my client used to sorta kinda get a sense of, is there a lot of variation across the districts?

27:24 And again, this has nothing to do with, uh, what the minimum or maximum guidelines are. These are actuals.

27:31 And the purpose of this workbook is to say these are the actuals amount of time on average, the 25th percentile, the median, 75th percentile. I think I even did 90th percentile for one of my calculations somewhere for this person that, you know, or the cases that are representative for this defendant.

27:53 So he can sorta kinda see, is there a lot of variation or not? He can sorta kinda see, well, is there a likelihood that there's probation? And it turns out in this particular combination of, uh, cases and time frames, there's a 25% chance that there's gonna be probation in there. And it's more than that, 'cause this is the median, so there's still people that are probably in probation.

28:15 Maybe it's a third of the time. So, um, my client is able to talk to his clients.

28:23 When the client says, "Hey, they're gonna send me to- they, they told me they're gonna send me to jail for 10 years," he can go, "That seems ridiculous." And he goes, click, click, click. And he goes, "Well, the, you know, likely, you know, it would be no longer than five years or three years." And all of a sudden the conversation changes to where maybe a defendant that might wanna plea out 'cause they're scared, which I wouldn't absolutely blame them, um, then all of a sudden now they can have a, they can have a conversation on what's the likelihood of something.

28:51 Because prosecutors, while they can't theoretically out and out lie, if they tell you that the minimum is, you know, you know, five years and the maximum is 12, you know, all of a sudden you, you color your decision based on what do you wanna do.

29:06 So, um, this is the, this is the high level. This is the first dashboard.

29:11 Um, this is what the dashboard looks like. I left all the filters out. So I filtered this down to a particular circuit, and now you can see in the map a little bit better. This is the, this is the s- Second Circuit, uh, basically covers New York.

29:25 Um, and you can see now on the map, here's this, here's a district, a district, a district. Uh, this one here that's highlighted is the Southern District of New York, the one that makes all the news in the United States, uh, when they talk about the really big cases. And then I have a tool tip, and it shows, you know, what's the district, what's the name of it, how many cases were there, and what the 25th, 50th, 75th, and 90th percentile of the sentencing for the crime that was all done by the filtering.

29:53 So you can sorta kinda see this. Um, I actually had this so that if they chose a specific circuit, um, instead of showing just the circuit, it would actually show the districts, but my client said, "No, I don't need that." It's like, okay.

30:06 So, uh, I took it out.

30:08 One less thing to manage. So the tool tip was, uh, everything in here is, of course, dynamic. Um, and it helps really kinda summarize what is going on at that particular district, and they can have a starter conversation there.

30:23 Um, so earlier I showed what the sentencing table looked like, and, uh, it was that big graph with the two big dimensions, and all the numbers were in black. So here's a theoretical case to where, um, you know, it's this kind of d- it doesn't matter what the guidelines and all the rest are. Just pretend that, you know, they went to jail for a felony for, uh, they, they embezzled a bunch of money.

30:51 And all of these fall into what's all going on in, in, in these areas here.

30:57 And there were six districts that, in this circuit, that had these cases. There was 1,500.

31:02 Uh, 25th percentile, um, so a quarter of the time there was probation, there was no jail time. Eight months for the middle. 27 months for the 75th percentile.

31:14 When we go looking at the actual sentencing table, you would, you know, again, we would figure out, well, what is this, what, uh, criminal history and what offense level do they have?

31:26 And this is for all cases in this particular case. I didn't, like, carve out a particular level in here. But you can see that, you know, this ranges from zero months, it's a little hard to read, to 125 months. But if nobody actually… You know, and this isn't even the entire table. This only goes up to 25 for, for space, but it goes all the way down to 43, which is the, the highest level.

31:51 So what I built out over here is this may be the sentence guideline in black, but I'm showing the actuals for this entire district. So now all of a sudden I can come in here and say, "Well, my client fits into this level over here. What are the guidelines for that? And what are the actuals that were done?" So they can actually compare the recommended sentences from the guidelines to what has generally been doled out over the last, you know, one year, five years, 10 years, 20 years, and again, have that conversation of, um, what's all going on over here.

32:31 So this is a reproduction of that table.

32:36 And again, the numbers in blue are the actuals, and this is all dynamically filled out.

32:42 And here's our hypothetical person who falls into this.

32:46 And if their offense level was 15, and we'll pretend that they were a first time person, the sentencing guidelines for the severity of the crime, even though that they don't have any criminal history, is 18 to 24 months.

33:02 That's what the DOJ would come in and says, "You're going… John, you're going to jail for 18 to 24 months unless you wanna plea out. You wanna plea out for 12?" And somebody might say, "I might wanna do that." Well, if we go looking at the actual data, turns out more than half the time it's only nine.

33:23 And if we go looking in here again, and we go looking at this breakdown, we can, we can really get a sense of, oh, wait a minute, it was only six. The median was six.

33:33 Chances are they're not gonna go to jail for anywhere near that. And again, kind of point out the difference between, well, here's your recommendation, and here's, uh, here's the actual. Was there a question?

33:46 'Cause I know I've been talking a lot. Sorry.

33:49 Chris McClellan: We just lost you for about 10 seconds there. So even, I think it was on this page, you were saying something, and then you just disappeared for about 10 seconds and came back mid-sentence.

33:59 Rob Tullo: Okay.

33:59 Chris McClellan: That's okay.

33:59 Rob Tullo: Uh-

34:00 Chris McClellan: I, I don't, I don't think you can redo it anyway, so it's fine.

34:02 Rob Tullo: Now, um, yeah, so basically the main point of, of this table is to sort of, kind of show the difference between the actuals and the recommendations. Keep in mind, the DOJ talks about the recommendations, and the actuals are what the judges are really dealing out.

34:18 So Exhibit A.

34:20 So I built a histogram because what really tells the story is the distribution. And this is the reason why they don't like to rely on averages, especially for certain kinds of, uh, sentencing guidelines, the averages tend to get really distorted. So this exhibit is entirely dynamically populated. This is populated based on that. This is populated based on this.

34:42 The offense level, the criminal history, this is all, this, this title is all built based on the information that's in here.

34:48 Um, this histogram is the percent of the total, and anything that's less than the median is colored in blue. So all of a sudden you can make quick work of the argument of, "Well, you're gonna go to jail for 60 months," and almost nobody goes there for 60 months. The guidelines might allow that, but the fact is, is that it almost never happens.

35:08 So, uh, again, the client has the right information to be able to make a really good decision on what's the real risk of going to jail and, and for how long.

35:19 And again, it's based on all the filters up there.

35:23 Um, I built a, a drill down, for lack of a better description, with some of the key items that, um, you know…

35:30 So these are the individual cases. These is case numbers. This is when they were, and this is what ended up happening. And so in this particular case, I just did a summary of the, of the average 'cause it was easy.

35:42 Um, so again, if he wanted to go looking at certain kinds of cases that maybe those were the outliers, then he can sort of, kind of say, "Ah, okay, maybe this is not exactly the same kind of case, and, um, so maybe I put more or less weight on, on that." So, um, and then this is the other exhibit that gets submitted to the court, and this is the one that was normally done by that very, very expensive statistical expert.

36:10 Um, it compares three timeframes going back, you know, five, 10, you know, 15 years. It compares the, the statistics across three different scopes. One would be for the district itself, one would be for the circuit that the district rolls into, and the other would be national.

36:29 It uses the offense type and the offense history levels, and it's all designed around what happens at the district. And the idea is you can use this to sort of, kind of get a sense of is the district more or less lenient than the circuit or the nation?

36:46 And then, again, uh, some places just are, and so then you're, you're more likely to be in those mandatory… Sorry, the, um, the, the mins and maxes, the advisory guidelines, that they're gonna stick more to those, or maybe what you find is that that's not necessarily the case. So, um, this is at the district level, this line up here. These are the three timeframes, so this would be courses, cases from the last five years, cases from the last 10 years, including those as well, and anything after Booker, uh, was submitted in under the new guidelines.

37:26 So, you know, you can sort of, kind of go and look and just say, "Oh, well, it's really likely that, um, you might have, uh, very little jail time for this one," and, um, you know, in, in this particular district. And maybe the district is more or less lenient than the nation. It looks like this l- this, if we look in this column here for the most recent five years, they are about on par with the circuit, but they're more lenient than, um, than the nation.

37:58 So again, this is information that somebody could be using to try and decide whether they want to, um, you know, roll the dice or go in for a different kind of, uh, plea deal and all the rest of that.

38:11 Each one of these panels is a worksheet. Uh, the calculations are generally all the same. I have lots of context filters because I had to have… This is at the circuit level, this is at the district level, what's at the national level, and each one of these represents the scope for the cases that's there and the summary statistics for, for each.

38:34 Um, I'm almost done.

38:37 And again, they can go in and look, and this is the one that's meant to be built out for the court, so it has, uh, some very specific, um, things. And again, this table one is an, a legal exhibit that gets submitted, and it talks, and it has very specific, uh, dynamic, um, titling that's based on this, that the lawyer said, "This is the way it needs to read," and I'm going, "Okay." Um, I used a lot of LODs.

39:03 I used a lot of context filters. Um, I learned a lot about context filters and why they why they're important, uh, while working on this workbook. And again, basically it's a text, it's a text field with, uh, a whole bunch of information in the text field box on the marks card, uh, in order to get it all laid out for the formatting and, and all the rest of that.

39:24 And then lastly, uh, I mentioned sometimes I would lose cases when I imported the data, that something happened. Maybe, uh, it didn't get transcribed right or, or something like that. So I built this first top part, um, to try and help me figure out if I'm missing any. Because I knew for a given year there were 72,462 records in the original source file, and if I got 72,462, then I know that I have all my cases.

39:53 So, um, after, uh, a number of years, I said, "You know what would be really nice? Uh, if I can tell you how these cases break out besides just the circuit." So I used a little parameter here. Um, and this section down here is the same summary, I just did it out by the circuit across the top in the columns. And then whatever they pull in their dropdown, this is the criminal history, which generally went from one to six unless it was missing in the data, and it showed what the breakdown for each of these.

40:23 Um, and in this case, I allowed the data to be viewed by fiscal year and by calendar year. So these are the two parameters that drive all the rest of these, are filters.

40:35 Um, and so it would look a little different if I changed it to the calendar year and then I said, "Hey, what's the offense level?" And then, um, you know, just a couple more. So this is how ma- how I, how mi- how much, how much drugs were you caught with, because that affects your sentencing, uh, quite significantly. And, um, and that's what I did.

40:59 So, uh, I'm gonna turn off my screen share so I can actually see who's here.

41:07 Hooray, lots of people are still here.

41:09 Um, let's go to the chat.

41:13 Um, I'm just curious, show of hands, has anybody used, like, a data set or a data source, something like that literally wasn't business, like operation? It was, you know, whether it was, you know, for something else, something like what I kinda did here.

41:30 No?

41:30 Did anybody think that they were gonna see something different like, I don't know, legal operations in a firm or something?

41:38 Chris McClellan: I thought it was gonna be different, but your application is pretty good. Um, Neha's question was, uh, if I can get the right one. She said she's very keen to know how did you handle the way, the way too many columns, and how did it reflect in terms of dashboard performance, and how long did it take you to do all that as well?

41:58 Rob Tullo: Yeah, I, uh, I did, I did get to phone a friend. Uh, the, the, the, the, the lawyer, the client that I worked with knew, one, there's a lot of variables in there that really don't matter for a lot of things. You know, they describe in minute detail all kinds of information about the cases. Well, you know, you have a library full of criminal statutes, but the firm that I was dealing with didn't, you know, just like most firms, they don't deal with all the statutes, they deal with a subset.

42:28 So one of the reasons that I was able to go from 17,000 variables to 500 was I don't care about a whole bunch of these variables because they're not applicable for the kind of cases that I do Um, the other things are when we went looking through the code book, which goes on for pages and pages and pages, many of the columns are, um, they're categorical.

42:51 So we need to have a column to represent a level f- each factor, right? So, um, in some cases, the, the columns themselves were duplicative. Maybe they could have used a factor instead. Sometimes they coded them separately. So for example, it might be, did you have…

43:10 I'm just making this up. Did you, did you, did you have a pound of marijuana or did you have, you know, 10 pounds of marijuana? Did you have 100 pounds of marijuana? Um, it's a contrived example because the actual field has a, has a label, and it's like A through F. You might have noticed it at the end. Um, but a lot of it was understanding the data, having the domain knowledge to go, "You know, these variables I'm sure have importance to somebody, but not to us." So I was able to get rid of thousands and thousands and thousands of them out of the gate.

43:44 What was really annoying was when he goes, "Hey, I expanded my practice. I hired a new lawyer, and we're taking on these kinds of cases now." Then I had to go adding back in things that I didn't have in the dataset, and I had to redo all of the work for every single year to put those columns in for the dataset, because it doesn't do me any good if I just go ahead and say they're all null, except for the one year that I'm bringing in now new.

44:06 So I had to do a lot of rework for, for that. Um, I didn't do data science work to do, like, feature reduction, which would be a real way. Like, let's pretend that you're doing b- uh, like, biostatistics and things like that, like working with DNA transcriptions and, and, uh, biosimilars and, and going that way. They have tens of thousands of variables in order to do that, and then they do feature reduction to try and, you know, map that into a smaller amount.

44:32 Or something like PCA, which comes up with, like, two dimensions and, you know, the, the math gets weird, but I didn't need to do that, but I did have to have the conversations on what's important, and those conversations really helped drive getting rid of, getting rid of, um, a lot of those variables.

44:50 But that's a really good question.

44:52 So talk to your, talk to your stakeholder.

44:56 Neha Sharma: How much time did it take to, you know, just get to the point where, where, you know, you were showing this dashboard to us?

45:03 Rob Tullo: Yeah. Um, honestly, it probably took me… I did this kind of part-time for this guy, uh, probably two to three months I built out. Like, so, like, the main things that we did, like the main, that first main dashboard, you know, it probably took me, you know, a few weeks to do the iterations. The data, the data builds was, um, quite a few weeks. Um, some of it was I probably took, you know, 10, 10 to 20 hours just building out the exhibits, just getting them just right so the presentation was what he was looking for.

45:39 Um, and then the rest was… You know, like I said, I only had one KPI.

45:45 One. There was one variable. Uh, the code set changed depending on what I needed to get it from, but the fact is, is that everything was based on that one variable. So that helped keep the complexity of the workbook down, although I still have hundreds of calculations in because, again, I have LODs that are associated with different variables. I have a 25%, a median, a 75th, a 90.

46:07 Um, I probably also had a 10% that I didn't use, but I built it 'cause it was there. Um, and I had to do that for each of the levels, national, district, and the circuit. Um, so, um, but the first iteration I think I turned out, you know, like, "Hey," you know, "what do you think?" Uh, and it didn't change a ton from there. So he was very helpful giving me good direction, and, uh, I did a bunch of iterations.

46:37 So probably three months I turned the whole thing out, working, eh, maybe 10, 15 hours a week. So if it was a full-time job, it would've been done a, a whole lot faster.

46:48 Neha Sharma: It's commendable. I mean, with the amount of data and, you know, I, I'm not sure if, even if you were, you knew this process and, you know, you, you were aware of what the data was, because as con- consultants, we deal with, like, different kind of data all the time. But just to do it part-time and get to a point where you start dealing with this kind of, the breadth and the length of the data, uh, that's commendable work.

47:12 And, you know, I, I didn't know that in the evening I would be just like, you know, more accustomed to how US law and the system works, so thank you so much for that.

47:20 Rob Tullo: Yeah. Uh, thanks, Neha. Um, yeah, it… I was sur- I learned a lot, and I have some friends that are lawyers but never really talked to them about that, and I was like, I was completely shocked. Like, it's the reason why I put the, the, the statistics and I went through the thing about Booker. I had no idea the federal government was that good. Like, that they were…

47:37 Now again, they have their reasons. They're not… It's not baseball. They don't have to take every pitch, right? So that's the difference, that they can choose. And again, that's, that's a lot as, that's been taking a lot of, uh, space in the, um, in the media in the United States, especially the last few years, uh, about cases that they're prosecuting.

47:59 And anybody reading the stories that is aware of these kind of statistics, that the DOJ almost never loses, they're losing every big case that they're going after they're losing. And to the point where the DOJ is losing, losing credibility, uh, for some of these judges for certain kinds of cases because they just go in there and they c- these cases just are not built on actual evidence.

48:23 Contrasting that to the 90, 95, 97%, uh, conviction rate that they would have when they actually go to trial.

48:31 So, um, I f- you know, I did learn a lot, and it made me feel really good. I mentioned it at the beginning, like, I do business analytics, you know?

48:40 I do my job well, my boss and the company makes more money. Right? It could be good for me, but I'm not, I'm not fixing the world. I'm not making… I'm not healing anybody. I didn't, you know, get them a heart that was, uh, somewhere, you know, 9,000 miles away and they were able to get it. Like, I didn't do anything like that. But this was the only project that I've really worked on that literally could make a difference in somebody's life, where if they have the right information, they can make a really good decision that, you know, maybe, you know, maybe they had a, you know, they had a bad day or something happened or whatever, made some bad choices and, you know, their life doesn't need to be ruined because of, uh, you know, some, you know, ham-fisted DOJ, uh, lawyers coming in and, and saying, "You're gonna go to jail forever." So, um, somebody having this information literally could be life-changing for them.

49:33 And so, you know, I felt really good about that. You know, I can, I, I, I can feel good. I don't, you know… I don't know who my cl- my client's clients all are, and, you know, I could be letting people walk on the street where maybe they shouldn't. But the idea is that everybody deserves that right information and, and I know he has swayed judges to go much leaner on the sentencing, moving it even down to probation if, if that gap isn't too big.

49:59 Look, if they're supposed to go to jail for 10 years, they're not gonna get probation. That's like, the guidelines won't even allow for that kind of range. But you saw in that one slide where, um, you know, with the blue versus the Black, there could be really big differences of a year or two years, and the judge wouldn't know. They're just doing their job.

50:17 You know, they have more important things to do to worry about whether they're conforming to norms or not. They're just doing their best that they can with the caseload they have.

50:25 Chris McClellan: Yeah. It's pretty cool.

50:27 Um, Andy I think had a question as well.

50:30 Rob Tullo: Yeah.

50:30 Andy Holt: Cool. Thanks, Chris. Um, firstly, thanks, Rob. That was fascinating. Um, you know, to kind of see something so different to what we all kind of do on a day-to-day basis is kind of great. And I mean, for me, you know, I mean, w- we're all data nerds here, right? That's why we're here. But just the idea of the possible patterns, you know, via geography and timeframe and, you know, all that sort of thing, like, yeah, s- so much interest.

50:54 But that's not what my question's about. Um, I'm, I'm more interested in kind of the process that given the, it's so important to the analysis, how much time did you have to spend with your client regarding, like, statistical concepts such as median and percentile and that sort of thing? 'Cause obviously you kind of showed the distribution because it's important rather than just, "Okay, this is the average." But how much time did you, and how did you kind of explain that to your client?

51:18 Rob Tullo: I was very fortunate. I had a client who actually knew what he was talking about. So he was familiar with this, and part of it was he might have needed to get educated from his experts, if I had to guess. Right? So he might have, you know… The expert came in, and so that one table with the nine boxes on it, that was an exhibit that his expert would normally put together.

51:40 Now, she would probably charge him thousands of dollars to do it, because she would have to pull that data from SPSS, run the exact same analysis that I did, put it into the thing, and she had her own stuff, her Word doc, and whatever. But, um, so he was familiar with that, and he was the one who's like, "Hey, I need 25th median and 75th percentile on this data.

52:03 I also want a histogram."

52:05 Andy Holt: Okay.

52:05 Rob Tullo: Because they would submit the histogram as well. So most…

52:10 He is the most data savvy of any lawyer that I've talked to.

52:15 Andy Holt: That helps, right?

52:16 Rob Tullo: And which I was pleasantly surprised, and I commended him all the time for that. And at the same time, he was also well-versed. He had a very niche, um, you know, practice, and he was well-versed in the code book and all of this stuff. Because there have been tons and tons and tons of studies, and he even opened with this. He says, "Look, we're…

52:39 I'm not trying to prove that if you're Black, you go to jail for longer." He says, "That's been, that's been done a million times." It's… And that, and this data set that I talked about is the basis for all of those analyses of is there, you know, is there racial bias? Is there, um, you know… Because they know how much they make. Like, all of those variables that I didn't really care about, they're all in there.

53:00 So what are you making? What's your background? Like, all of the, all the demographic variables are there. So he was well-versed in the code book, and he was able to really kind of help me grind it in. But we did talk about presentation and what was important, and it's like, all right, well, uh, when I do the submission, because there's gonna be, there'll be an expert on the other side, and this is, this is part of it.

53:22 So if I had to guess, he was probably coached at the beginning when he started doing this kind of stuff by the, the PhD professor at, I, I think it was, uh, I think it was NYU. So, um, you know, and that expert helped me do a lot of the UAT and helped me uncover issues and problems. So it's like, oh, I would run into issues. Null is our friend, except for when it's not.

53:46 And all of a sudden, are you counting the cases or not counting the cases if the variable is missing? And so you start to run into things like that, so getting a little bit to the nitty-gritty. So most of the time I, I leaned heavily, uh, me and the expert went back and forth.

54:04 And what's really interesting was, uh, when I first started doing, I just did case counts. 'Cause they're all, you, you, you, you saw on the one slide, like, all the IDs were there. Well, it turns out different years could have the same case in it, and apparently they got re-sentenced. Now, whether that is a mistake or not in the data, that I don't know.

54:22 Um, but what I did know is when we were doing the UAT, um, I would get different counts than she did, and of course that would throw off all the math. So I spent a lot of time trying to figure it out, and then so now I created a unique identifier, which was the case ID, the sentencing year, the sentencing month, and it turns out there was one actual duplicate, even for those three things.

54:46 So there were probably, you know… But, uh, I let that one go, but I did alert them as like, "Hey, that's there, just so you know." But, um- Out of 1.4, one, two, that's actually pretty good. Um, but, but yeah, so my client was very helpful, but he was also knowledgeable, so I didn't have to, I didn't have to do that. I will, uh, follow up that with nearly every business exec that I work with, and they talk about, "Well, what's the average blah, blah, blah?" And I say, "You're asking the wrong question.

55:17 The question you should ask is, what is the distribution of time that it takes to close a deal that's an enterprise deal in this geography? Because I'm gonna tell you the average is 13 months." And the reps are gonna go, "See, this is why I got nothing done." And then I'm gonna tell you more than half the time it's less than six.

55:36 And all of a sudden their brain goes like this 'cause they just anchor to the one easy number. So yeah.

55:43 Andy Holt: Cool. Thanks, Rob.

55:44 Rob Tullo: Yep.

55:46 Anybody else have any questions?

55:48 Chris McClellan: Well, I was gonna say, super cool, and it's a super cool data set that we just don't get to see. So, you know, I've, I've worked on like non-salesy data, but nothing like that. That was very interesting.

55:58 Rob Tullo: Yeah, I, I, I've done… I don't know, like, I use Upwork to do, uh, some of my sourcing, and that's where I actually found this, this, this client on. Uh, and, uh, and what was really interesting is I've worked with a lot of stuff that's like, "Oh, tell me where all the car washes are in the United State." Like, just like all kinds of weird stuff.

56:18 And, um, but this one, you know, of all of the, of all the dashboards that I've worked on, this one's the one that I was most proud of probably 'cause it was the biggest, uh, from what's behind it, um, but also the potential impact, you know, 'cause there's only so many dashboards I can build that say how much sales you had and this is why you missed your goal.

56:36 Um, but, um, important, but, you know, again, not life changing or life, you know, uh, life altering in, in, in any sense.

56:45 Um, let's see. I don't know. I'm just looking through some of the chat commentary over here.

56:52 Um, and yeah, Andy, uh, the sentencing, it, it used to be really simple, but now there's, there's a lot. But yeah, there's like apparently a big book or something like this that describes how to use the guidelines and, and all the rest. It's, it's, um, it's really important. Uh, let's see, Chris. And yeah, um, I answered Neha's question. Uh, makes me think to start reading random research papers.

57:16 Yeah, that's kinda interesting. Um, and there was, there was more than one… My client wouldn't have stayed in business, uh, doing this kind of work if he wasn't successful. Um, and yeah, it was, it was a part-time project on the side.

57:33 Um, and let's see. What else? I think I got all the things that were there. I see Mike had to drop. I think he got everything that, that was on there.

57:44 Um, but yeah, if anybody has some questions that come up like way after the fact, um, you know, shoot me, shoot me a note on LinkedIn. You can find me on LinkedIn. Uh, Robert Tullo is my handle.

57:57 Um, so, and there it is, uh, right there. You can see my Tableau Public. It's, it's kind of okay. Um, this one's not on there, uh, mainly because I didn't wanna, like, constantly have that out there. So that, and somebody coming in looking at it, they're gonna go, "I don't know what that is." So it doesn't really look that impressive.

58:16 But, but yeah, so I've been using Tableau for about 10 years and mostly learning bits and pieces here and there. And, um, so, um, yeah, thanks Chris for letting me present today. Technically, just so you know, this is the very first time I've done a presentation, uh, in a professional setting for peers as opposed to, "Hey guys, here's some training." Um, so I was really happy to be able to do that.

58:42 So it was a kind of neat topic, so it, it kind of fit.

58:46 Chris McClellan: No, that's cool. And, and, and obviously this is why we're here and, and obviously Michael had some involvement in that as well, so that's awesome. That's-

58:53 Rob Tullo: Yep

58:54 Chris McClellan: … a- and as you said a few weeks… It was only a few weeks ago when you said, "Oh, I might have a presentation that I can, that I can do." And you look at that and you go, "Yes, that is worth getting out there," and just to see what is possible with Tableau and, and different types of data like that as well.

59:10 Rob Tullo: Yeah.

59:10 Chris McClellan: That's really cool.

59:11 Rob Tullo: Yeah. Like I said, it was one of my m- more favorite projects that I've worked on.

59:16 Chris McClellan: Yeah.

59:18 A- and especially when you're looking at that amount of data in a CSV file, that's, that's a good s- um…

59:25 Yeah.

59:25 Rob Tullo: Yeah. Yeah. Uh, and, and, and a more, uh…

59:28 I think what he ended up doing, uh, the reason why it didn't go past 2025 is, um, he built… He had, uh, a data engineer build him a new website that kind of replicated a lot of this stuff. And, um, so now it's all on a website, but he had to rely on all the same stuff that I did. So all the extracts, he's using my extracts and a whole bunch of other stuff.

59:51 So-

59:51 Chris McClellan: Mm-hmm

59:51 Rob Tullo: …

59:52 um, yeah.

59:54 Uh, thanks Andy. I'm glad you enjoyed, uh, learning something cool and interesting.

1:00:00 Neha Sharma: I have one last question. Are you still in touch with the, um, you know, the person who hired you for this role? Because, you know, I would… If I'd built something cool like that, I would still, you know, wanna go back to them and ask like h- how did it help them in their business, and what value did they derive with, you know, like, such great work that you did?

1:00:20 Rob Tullo: Yeah. So I originally built this in 2020. Uh, he came back to me five years in a row in order to get more data. So, uh, I didn't ask him specifically, but I'm guessing he didn't wanna pay me, you know, a few thousand dollars every year to go ahead and revamp all the data. Um, plus anything else, if any of the data changed and I had to go back and redo, I got to charge him again.

1:00:41 So, um, so I think he was generally pretty happy, but, uh, again, you know, I was probably more expensive than his data engineer friend or, or whatever that built the website. And it also, you know, it requires Tableau, so it's not as accessible. So it's possible that he turned- Um, ultimately what I built into a data product via his own website, um, which is absolutely fine.

1:01:07 He's perfectly able to monetize his own work. So, um, but yeah. So he, he came back to me, uh, five times and, uh, probably more than that. I… Each, each iteration of the new fiscal year, I had to come back, and then a lot of times he would just ask for enhancements and I would go back and do it. So, yeah.

1:01:27 Neha Sharma: Great.

1:01:28 I never thought I would just… my evening would be like this, exciting. You know, it's like, it just kind of blew my mind. Great.

1:01:38 Rob Tullo: Yeah.

1:01:40 Chris McClellan: That's awesome. Um-

1:01:41 Rob Tullo: Thanks

1:01:41 Chris McClellan: … we'll move on to the survey.

1:01:45 Um, so the results are, um, where do you live? State and country. So we've got Australia and a few different places. A few places in the US, and Toronto in Canada, which is what we would expect at this time of the day.

1:01:58 Uh, what industry do you work in? So higher ed, SAS, automotive, and a lot more consulting, 'cause it's a word cloud, so it pops up with big- bigger sizes.

1:02:10 And how many years have you been using Tableau? No one's been using Tableau for less than five years today, but it always changes. It's always interesting.

1:02:19 And the quiz questions for today, um, pretty technical questions maybe. In a worksheet, you create a calculated field that is sum sales divided by the fixed LOD of region and sum of sales, and what does the calculation return for each row?

1:02:34 It should be the ratio of the row's sales to the total sales for its region, 'cause that's basically what the formula says.

1:02:45 And which filter type is applied before data is aggregated when creating an extract, thereby reducing the size of the extract file?

1:02:54 One person said data source filter, and everyone else said extract filter, and I thought the answer was data source filter.

1:03:01 I'm pretty sure it is, but I'm not sure. I'm not, not so sure what everyone answers the other way.

1:03:07 All these questions were written by AI and, um, I did check the answers. I thought that was right.

1:03:13 And when using live connection to SQL Server, although SQL Server doesn't really matter, uh, which user action forces Tableau to issue a new query to the database? Is the only relevant values sitting on a filter.

1:03:29 And where are we up to? Which statement about Tableau's incremental extract refresh is correct?

1:03:34 Everyone got this right. It adds rows where the incremental key value is greater than the maximum key already stored in the extract.

1:03:43 Easy.

1:03:45 Well, easy if you've done incremental extracts. If you've never touched them before, it c- gets quite hard.

1:03:50 And I think this must be the last question.

1:03:53 When a parameter drives a measure selection via a calculated field on a live connection, how does Tableau handle the parameter value in the generated SQL?

1:04:02 Um, the parameter value has to be passed to the SQL so that it can get the right answer back, or the right result back.

1:04:12 Um, and then obviously our two… There's supposed to be a response here, but I can't see it. What topic should be presented at future TUG meetings? Maybe someone typed in a space, 'cause I can't read that.

1:04:23 And who would you like to present? A space again, maybe.

1:04:27 And our leaderboard is Neha got first with five answers correct, and then Anne, Andy, Rob, and Paul.

1:04:36 Quite good.

1:04:38 And as I said, all those questions are generated by AI, but, um, you can always submit your questions to either this TUG or any other TUG. QR code, link, or talk to me offline.

1:04:51 But next TUG meeting is Matthew Miller. As we were talking before we started the recording here, uh, next week Matthew Miller doing an AMA, so ask me anything about Tableau Studio.

1:05:04 We've picked this date, obviously just one meeting depending on where you are in the world.

1:05:10 We picked this date purely because Tableau Studio is due to be released around that date, and I'm, I'm not being, um, vague by choice.

1:05:20 No one knows when the release date is. Maybe Matthew does.

1:05:24 But when we booked this time in, we had no idea when Studio was being released. So it's around that time. I'm not really sure. But anyway, if you've got any questions about Tableau Studio, either attend the meeting live, or it's much easier to submit the questions to me beforehand because then I can, uh, create the slide deck properly. Matthew can actually be more prepared to answer those questions as well.

1:05:48 But again, that's in about, in a week's time from now.

1:05:52 But this meeting, every other meeting we do, a whole heap of other TUGs are on the YouTube channel at team.DataFam, and you c- you've also got the audio podcast on Spotify and Apple. And if anyone wants to present or if you've got any feedback, please email me at team.DataFam@Gmail.com.

1:06:09 But as we've said leading up to this point, thanks, Rob, for that. That was awesome to, to go and see something that was just as, as it said on the, on the tin, completely non-retail related, but a really awesome example of how to use Tableau. So thank you for doing that presentation for us.

1:06:26 Rob Tullo: Thanks for having me.

1:06:29 Chris McClellan: Awesome. And if there's any other comments, now's the time. Otherwise, that's the end of the meeting for today.

1:06:35 Andy Holt: Cool. Thanks, Rob. Thanks, Chris.

1:06:37 Rob Tullo: Thanks, everybody.

1:06:38 Chris McClellan: Okay.

1:06:38 Andy Holt: Talk to you later.

1:06:39 Neha Sharma: Thanks, everyone. Take care.

1:06:40 Chris McClellan: Awesome. Thanks a lot. Talk to you soon.

1:06:41 Rob Tullo: Have a great week.

1:06:41 Chris McClellan: See you. Okay, bye.

Shorts for this TUG

Leave a comment

Your email address will not be published. Required fields are marked *