<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Paul Glenn</title><link href="https://pdglenn.com/" rel="alternate"/><link href="https://pdglenn.com/feeds/all.atom.xml" rel="self"/><id>https://pdglenn.com/</id><updated>2020-12-03T00:00:00-05:00</updated><entry><title>Analytics Engineering at Spotify</title><link href="https://pdglenn.com/articles/analytics-engineering-at-spotify/" rel="alternate"/><published>2020-12-03T00:00:00-05:00</published><updated>2020-12-03T00:00:00-05:00</updated><author><name>Paul Glenn</name></author><id>tag:pdglenn.com,2020-12-03:/articles/analytics-engineering-at-spotify/</id><summary type="html">&lt;h1&gt;Analytics Engineering at Spotify&lt;/h1&gt;
&lt;h2&gt;Peter Gilks, Senior Director of Insights, Spotify Advertising&lt;/h2&gt;
&lt;p&gt;Since 2016 I've led the Insights team for Spotify's advertising business. Our role is to provide guidance that enables the product and business teams we work with to meet their objectives through evidence-based decision-making and customer focus. We're …&lt;/p&gt;</summary><content type="html">&lt;h1&gt;Analytics Engineering at Spotify&lt;/h1&gt;
&lt;h2&gt;Peter Gilks, Senior Director of Insights, Spotify Advertising&lt;/h2&gt;
&lt;p&gt;Since 2016 I've led the Insights team for Spotify's advertising business. Our role is to provide guidance that enables the product and business teams we work with to meet their objectives through evidence-based decision-making and customer focus. We're a multi-disciplinary team that covers both qualitative user research and data science, as per the Spotify model. Our work includes exploratory analysis, experimentation, metric setting, building dashboards, user testing, ethnography, and surveys.&lt;/p&gt;
&lt;p&gt;The data scientists on the team spend a good chunk of time on that old favorite that never seems to go away — data preparation. At Spotify, we have a continuously evolving and growing volume of data at our fingertips. As we launch new features and develop new products, we instrument our product to capture the right data, transform it into something usable for analysis or experimentation, and build pipelines to keep it coming. And as we expand and transform our business, we are always looking at how we cut and slice that data to make sure we're keeping up with the questions we are trying to answer. In short, we need to make our data 'analytics friendly' (thank you to Rishi Nalin Kumar from whom I picked up this term).&lt;/p&gt;
&lt;p&gt;A few years ago, I recognized that this stage of data preparation, to make it 'analytics friendly', was becoming a challenge for my team of data scientists. They could do it, but they were doing it independently. Applying business logic, choosing levels of aggregation, grouping and transforming fields, checking data quality and cleaning data — these are all crucially important tasks, but they are also enormously time-consuming not to mention prone to error and inconsistency if they are done anew for each piece of analysis.&lt;/p&gt;
&lt;p&gt;It struck me as I reviewed work that the SQL gymnastics my team members were each performing were at once both impressively masterful, but also disappointingly inefficient. So we set off to look for solutions — starting with considering what key datasets we could build that would be used by the whole team to save time and improve consistency. My goal as expressed to the team was "take a bunch of SQL this big and make it this small" [insert picture of me stretching my hands as vertically far apart as possible, followed by a short gap between my thumb and forefinger].&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;"As we expand and transform our business, we are always looking at how we cut and slice that data to make sure we're keeping up with the questions we are trying to answer."&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;We tried a couple of approaches to achieve this. One was to ask our friends in data engineering to help, but it was hard to make this work a smart priority for them for two reasons. One is that they have plenty of production work to do on our live systems, the other is that the understanding that is required to express how to make data 'analytics friendly' and helpful for a group of data scientists takes a lot of translation time, and back and forth.&lt;/p&gt;
&lt;p&gt;The other effort was to do this work collectively 'on the side of our desks'. But despite a keen start this effort also fell by the wayside as other priorities came along and questions of ownership became difficult to untangle.&lt;/p&gt;
&lt;p&gt;This is the point at which I thought "what we really need is someone who does this as a full time job". I wanted to find someone who had the experience of working in analytics and data science and understood the joys and the pains of that job, who was passionate about data quality, documentation and SQL efficiency, who was better at data engineering than most data scientists but who didn't want to be a data engineer and who could coach others in these skills. Not much to ask for right?&lt;/p&gt;
&lt;p&gt;So in early 2018 we put out a job ad for something called an 'analytics data specialist'. The tagline of the job description read "We are looking for an expert in building out analytical data layers to join the band and help drive a data-first culture across the ad-supported business in Spotify". Catchy.&lt;/p&gt;
&lt;p&gt;Somehow we found Paul and he quickly got to work revolutionizing our approach to data. The impact has been enormous. We are more effective and efficient than ever before. The time it takes us to turn around analysis is vastly reduced, the confidence and consistency in our results is increased and because the 'barrier to entry' for data is reduced we can share and collaborate across teams seamlessly. We have since invested further, building out our own team and spreading the gospel throughout the company.&lt;/p&gt;
&lt;p&gt;When we hired Paul he was quick to let me know that 'analytics data specialist' is a terrible job title. So we went with 'analytics engineer' instead...&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;"The time it takes us to turn around analysis is vastly reduced, the confidence and consistency in our results is increased and because the 'barrier to entry' for data is reduced we can share and collaborate across teams seamlessly."&lt;/p&gt;
&lt;/blockquote&gt;
&lt;h2&gt;Paul Glenn, Senior Analytics Engineer, Spotify Advertising&lt;/h2&gt;
&lt;p&gt;At Spotify, we've spent the last two years initiating, defining and evolving the role of analytics engineer. Peter was not alone in his realizations about the key problems data practitioners at Spotify faced, and when Michael Kaminsky's blog post on analytics engineering dropped just a few weeks after we'd settled on the same job title for my role, it was a very clear signal that we were on the right track.&lt;/p&gt;
&lt;p&gt;Early on, I described the role of an analytics engineer as someone who "reduces the complexity surface data scientists need to engage with in order to create meaningful insights." We try to achieve that in several ways:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;1. Create, maintain, support, and evolve a clean data ecosystem&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Spotify's business is large, complex and constantly evolving, and our data is even larger, more complex and more rapidly changing. A model where data scientists are staffed to projects, learn about and clean the necessary data, gather and standardize business requirements, produce an analysis, and move on, is not sustainable. Our first analytics engineering project was to review the landscape of projects and business needs, then consolidate the data into a handful of tables that would cover 80% of the data scientists' needs.&lt;/p&gt;
&lt;p&gt;Such an effort had been undertaken several times before, but the difference this time was the presence of dedicated support. My team's contract with our users is to make sure the data keeps flowing free of bugs, to quickly provide answers to questions about the data's provenance, reliability and applicability, and to add new columns — or gracefully deprecate and replace datasets — as the business changes.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;2. Provide engineering support to data practitioners, evangelize existing tools, and build new tools&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;It was once said that data scientists are data engineers who can do statistics. But with the evolution and growth of the role, and the complexity of our internal infrastructure, it's not reasonable to expect a data scientist to know how to do every engineering task or understand every underlying system involved in their day-to-day role. In addition to supporting our datasets, analytics engineers at Spotify use their dual knowledge of the most important tools and infrastructure, and the day-to-day experience of the data scientists we closely work with to provide support for common engineering challenges. We help make sure that nobody is "reinventing the wheel" and provide training and on-boarding for new hires. When there are gaps in the overall workflow, we're in a good position to recognize them and see potential solutions, leading to several new internal tools developed by analytics engineers.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;3. Use our central position and knowledge of available data to coordinate and assist on cross-team projects&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Many analytics engineers at Spotify were data scientists at one point in their careers, and most still like to throw on their insights hat and dive into the data from time to time. Because we get to touch a lot of different datasets and work with data scientists from many different teams in our day-to-day work, we're well positioned to coordinate cross-team efforts and provide data support to very large projects. In addition to being sometimes our most visible impact, this sort of work allows us to engage with the challenges data scientists face every day and "eat our own dog food" to better understand and hone the datasets and tools we build and maintain.&lt;/p&gt;
&lt;p&gt;While it may sound like we have analytics engineering all figured out at Spotify, one of the most exciting parts of the job is that we are in fact constantly evolving definition of the role — something that seems to be happening all over the industry. With every new blog post that comes out, whether from Michael Kaminsky, DBT, Netflix or the many others who have written on this topic, we see both echos of the journey we've already taken and ideas for new opportunities we can take on.&lt;/p&gt;
&lt;p&gt;The flexibility to make the role of analytics engineer whatever it needs to be is certainly my favorite part of the job. I sometimes say that my career archetypes are editor and librarian. As an analytics engineer, I get to play both of those roles frequently. Like an editor works with a writer to hone and improve their writing, I think of a key part of my role as working with data scientists and other stakeholders to hone and improve their processes for gathering, understanding, and interpreting data. And like a librarian works with a researcher to identify and retrieve resources, we analytics engineers can use our understanding of the data landscape to direct our stakeholders to the right resources to answer the pressing business questions they're faced with.&lt;/p&gt;
&lt;p&gt;&lt;em&gt;If you'd like to explore career opportunities in analytics engineering at Spotify, please check for postings on our &lt;a href="https://www.spotifyjobs.com/"&gt;job page&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;h1&gt;Credits&lt;/h1&gt;
&lt;p&gt;&lt;strong&gt;Peter Gilks&lt;/strong&gt;&lt;br&gt;
Senior Director of Product Insights&lt;br&gt;
—&lt;br&gt;
&lt;strong&gt;Paul Glenn&lt;/strong&gt;&lt;br&gt;
Senior Analytics Engineer &lt;/p&gt;</content><category term="Articles"/><category term="analytics"/><category term="engineering"/><category term="spotify"/><category term="data"/></entry><entry><title>Taking the Challenge to Work the Polls</title><link href="https://medium.com/@paulglenn/taking-the-challenge-to-work-the-polls-61a3bb70e44e" rel="alternate"/><published>2018-11-11T00:00:00-05:00</published><updated>2018-11-11T00:00:00-05:00</updated><author><name>Paul Glenn</name></author><id>tag:medium.com,2018-11-11:/@paulglenn/taking-the-challenge-to-work-the-polls-61a3bb70e44e</id><summary type="html">&lt;h1&gt;Taking the Challenge to Work the Polls&lt;/h1&gt;
&lt;p&gt;&lt;em&gt;Note: This article was originally published on &lt;a href="https://medium.com/@paulglenn/taking-the-challenge-to-work-the-polls-61a3bb70e44e"&gt;Medium&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In the lead-up to the 2018 election, I decided to take on a new challenge: working as a poll worker. This article shares my experience and insights from this important civic duty.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://medium.com/@paulglenn/taking-the-challenge-to-work-the-polls-61a3bb70e44e"&gt;Read the full …&lt;/a&gt;&lt;/p&gt;</summary><content type="html">&lt;h1&gt;Taking the Challenge to Work the Polls&lt;/h1&gt;
&lt;p&gt;&lt;em&gt;Note: This article was originally published on &lt;a href="https://medium.com/@paulglenn/taking-the-challenge-to-work-the-polls-61a3bb70e44e"&gt;Medium&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In the lead-up to the 2018 election, I decided to take on a new challenge: working as a poll worker. This article shares my experience and insights from this important civic duty.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://medium.com/@paulglenn/taking-the-challenge-to-work-the-polls-61a3bb70e44e"&gt;Read the full article on Medium&lt;/a&gt; &lt;/p&gt;</content><category term="Writing"/><category term="elections"/><category term="civic engagement"/><category term="personal experience"/></entry><entry><title>Ode to a School of Information</title><link href="https://medium.com/berkeleyischool/ode-to-a-school-of-information-d3a4249f2cb8" rel="alternate"/><published>2017-05-17T00:00:00-04:00</published><updated>2017-05-17T00:00:00-04:00</updated><author><name>Paul Glenn</name></author><id>tag:medium.com,2017-05-17:/berkeleyischool/ode-to-a-school-of-information-d3a4249f2cb8</id><summary type="html">&lt;h1&gt;Ode to a School of Information&lt;/h1&gt;
&lt;p&gt;&lt;em&gt;Note: This is the text of my commencement speech delivered to the graduating masters in information management and systems class of 2017 at the UC Berkeley School of Information as the elected student commencement speaker.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I'd like to take a moment to thank Dean …&lt;/p&gt;</summary><content type="html">&lt;h1&gt;Ode to a School of Information&lt;/h1&gt;
&lt;p&gt;&lt;em&gt;Note: This is the text of my commencement speech delivered to the graduating masters in information management and systems class of 2017 at the UC Berkeley School of Information as the elected student commencement speaker.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;I'd like to take a moment to thank Dean Anno Saxenian, our distinguished faculty, the wonderful staff, and our invited guests, especially our family members. My parents, Gary and Nora, and their partners, my brother Dylan and my beautiful fiancé Mollie. Thank you all for getting us to where we are today.&lt;/p&gt;
&lt;p&gt;I'd also like to specifically thank our classmate Emily Witt. Emily and I were partners on virtually everything over these last two years, from InfoCamp to our final project. We stood on this podium together as IMSA co-presidents just a year ago, and she has every right as I do to be before you today. Thank you Emily, none of us, especially me, could have done what we've done without you.&lt;/p&gt;
&lt;p&gt;I am going to talk about beauty and truth.&lt;/p&gt;
&lt;p&gt;When we MIMS students came to Berkeley, we had divided ourselves, knowingly or not, into seekers of beauty and seekers of truth. Designers or engineers. Product managers or data scientists. UX researchers or policymakers.&lt;/p&gt;
&lt;p&gt;We arrived and put ourselves into these buckets. Some of us sought beauty in the interactions of humans and computers. Others sought truth under mountains of observations.&lt;/p&gt;
&lt;p&gt;But at the I School, we try to add beauty to the truth. Our program unites the truthful, unfeeling beauty of the sciences with the beautiful, rigorous truth of the humanities and arts. We visualize, present, and experience truth and try to bring it to others.&lt;/p&gt;
&lt;p&gt;We now all know the beauty of a clean user interface, and the beauty of a slick, efficient algorithm. We find truth in a well-run experiment, and truth in the experience of a user. We know the beauty of an accelerating adoption curve, and the truth of a convincing explanation. The beauty of a well thought out categorization, and the truth of a compelling legal argument.&lt;/p&gt;
&lt;p&gt;There's a reason we became obsessed with Sketchnotes and the affordances of paper. There's a reason that a well-organized closet turns you on. We are a rare breed that's able to not just take pleasure in these small, beautiful truths, but to study, prod and understand them. Replicate them and take them to the world.&lt;/p&gt;
&lt;p&gt;We recoil at privacy violations and bad experiments because they lack beauty. We reject pie charts because they lack truth. We must reject discrimination in our industry because it is true, but not beautiful.&lt;/p&gt;
&lt;p&gt;The I School has taught us to do something that's incredibly hard in practice: be the person who says no. The great idea is illegal. The great thought is illogical. The company cannot be saved in this way because it would sacrifice the dignity of the users. The team cannot be the best it possibly can without a diverse set of voices, spoken and heard. We have our ideas and our ideals. Beauty and truth. Those cannot be denied.&lt;/p&gt;
&lt;p&gt;Our better angels will push us to aggressively accept these concepts, beauty and truth. We admire the designer who puts a graphic of a hamburger as a menu icon. We follow the reporter who chronicles his understanding in a notebook and sends daily update photos. We marvel at the simplicity of encryption and tremble before the complexity of its implementation.&lt;/p&gt;
&lt;p&gt;But we can't expect that these concepts will carry us home on their own. So often the push for truth and the inspiration of beauty let us remove ourselves from ground reality. We must consider people with different beauties and different truths. They have different needs and operate in complete social systems. They cannot be forgotten.&lt;/p&gt;
&lt;p&gt;We came to Berkeley not as an add-on to our jobs. Not for a credential to tout at our next review. We gave up our lives, left our homes and devoted ourselves for two years to the exploration and betterment of ourselves and these concepts.&lt;/p&gt;
&lt;p&gt;We can now step out of our buckets and share the language of truth and beauty. To know that there's no design that's not engineering. To know that there's no data science that's not product management. To know that there is no beauty that is not true.&lt;/p&gt;
&lt;p&gt;And today, as we embark from here to our next adventures, we must not only be inquisitive, and mindful of the tussle. We must not only be accountable for our creations, responsible for our code, and wary of the power of defaults. We must also remember: there is a truth of beauty, and a beauty of truth.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://medium.com/berkeleyischool/ode-to-a-school-of-information-d3a4249f2cb8"&gt;Read the original article on Medium&lt;/a&gt; &lt;/p&gt;</content><category term="Writing"/><category term="commencement"/><category term="speech"/><category term="education"/><category term="information science"/></entry></feed>