<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Sergio Ramos on Medium]]></title>
        <description><![CDATA[Stories by Sergio Ramos on Medium]]></description>
        <link>https://medium.com/@sergioramos3.sr?source=rss-e158cd48df5e------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*9NfjlIOrh1rdBint_X281w.jpeg</url>
            <title>Stories by Sergio Ramos on Medium</title>
            <link>https://medium.com/@sergioramos3.sr?source=rss-e158cd48df5e------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 19:51:24 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sergioramos3.sr/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Game Plan for getting your SnowPro Core (COF-C03) Certification]]></title>
            <link>https://medium.com/@sergioramos3.sr/game-plan-for-getting-your-snowpro-core-cof-c03-certification-326dd10c1f18?source=rss-e158cd48df5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/326dd10c1f18</guid>
            <category><![CDATA[snowflake-data-cloud]]></category>
            <category><![CDATA[snowpro-core-exam]]></category>
            <category><![CDATA[snowflake-snowpro-core]]></category>
            <category><![CDATA[snowflake]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Sergio Ramos]]></dc:creator>
            <pubDate>Fri, 21 Aug 2026 16:50:53 GMT</pubDate>
            <atom:updated>2026-08-21T16:52:33.243Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*_iHNmhYcxD4mV5V66FfTGA.png" /></figure><h3>Introduction</h3><p>Hello, my name is Sergio. I am a self taught analytics engineer with 5+ years of experience in the data space.</p><p>I recently attained my SnowPro Core certification and want to share the exact steps I took to prepare in a concise and actionable way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*EbxPkv1QI-zhiXq7Zus6iw.png" /></figure><p>I will share two approaches. The first is the list of things I did to prepare. I took an approach inspired by Alex Hormozi’s advice on volume.</p><p>His basic premise is, if you want to guarantee success at something, do so much work you make achieving your goal inevitable.</p><p>You can see him talk about it <a href="https://youtube.com/shorts/Gc7rC0sp6gE?si=OxCgdR8JSFS_dZwA">here</a> or <a href="https://www.youtube.com/shorts/nh7xjgk1Sjk">here</a>.</p><p>I am also someone who likes to learn theory and feel that I really understand something as opposed to memorizing answers.</p><p>The second approach is what I consider the MVP approach, and is especially helpful if you have a lot of data fundamentals under your belt and some experience with Snowflake.</p><p>You can use either of these as your checklist depending on the approach that best resonates with you.</p><p>Let’s get into it!</p><h3>What I did (Volume Approach)</h3><ol><li><strong>Attended my local Snowflake user group</strong>. Before I knew I wanted to take the certification, I had already been a regular at the DFW user group. I didn’t attend every session, but I kept an eye out for topics I wanted to learn more about. You can find your local group <a href="https://usergroups.snowflake.com/">here</a>.</li><li><strong>Read an entire book on Snowflake.</strong> At the user group, I discovered a book called <a href="https://medium.com/@sergioramos3.sr/self-taught-reviews-snowflake-the-definitive-guide-by-joyce-kay-avila-0af3c40d644a?sharedUserId=sergioramos3.sr"><em>Snowflake: The Definitive Guide</em></a><em> </em>by Joyce Kay Avila. I purchased a copy of the first edition and read it cover to cover. This alone took months. I did all the practice problems and questions, and asked an LLM to check my understanding on certain topics.</li><li><strong>Got hands on experience.</strong> At the time I decided to start pursuing the cert, I had started a role as an analytics engineer working in Snowflake. Aside from trying every new feature I learned about within our instance or my trial instance, I got daily experience navigating the platform, querying data, and setting up tasks to build reporting tables.</li><li><strong>Asked the data community for help.</strong> Whenever I reached a particularly tricky topic, I would pose a question in <a href="https://joereis.substack.com/p/communities-matter-more-than-ever"><em>The Practical Data Discord Community</em></a>, a Discord server hosted by Joe Reis, co-author of <a href="https://medium.com/@sergioramos3.sr/self-taught-reviews-fundamentals-of-data-engineering-by-joe-reis-and-matt-housley-36b66ec9cb23?sharedUserId=sergioramos3.sr">Fundamentals of Data Engineering</a>. I highly recommend joining his community and any others you find out there. Having somewhere to discuss these topics helps sharpen your understanding in ways self-study alone can’t.</li><li><strong>Took practice exams. </strong>After finishing the book, I bought <a href="https://www.udemy.com/share/10dXN33@oldk17lJxjbJDVVvLI7cs-FlgBTVTjANTh01cI3K9GcmOlCuTwyIpc_8o3vBxc9m/">this course</a> that is composed of 5 practice exams. I took one a week. After taking the exam, I would review all questions and answers (correct or incorrect) and copy/paste all the results into a Claude chat for further feedback.</li><li><strong>Practiced with flash cards.</strong> I used <a href="https://ankiweb.net/about">Anki</a> to review specific questions I had trouble on. For me these were highly specific and arbitrary facts like data transfer limits, names of features, and exact syntax.</li><li><strong>Used LLMs.</strong> I have mentioned this in bits and pieces through the other steps but I had a dedicated chat where I asked Claude to check my understanding as I learned, analyze practice exam results, and surface relevant documentation. It even recommended I take a week off after practice exam results declined two weeks in a row and I was taking exams faster, signaling fatigue with the process. The brain break was incredibly helpful.</li><li><strong>Took the exam.</strong> I finally scheduled my exam after passing a practice exam on a re-test. I went to an in-person testing location early in the morning, made sure to rest the night before, and limited any screen time or distractions leading up to the test. I also found it helpful to take as much of the exam time as possible, read each question in full, eliminate answers one by one, and flag questions for review at the end. Though it felt like it took forever to complete, the result was a passing score!</li></ol><h3>Alternate Path (MVP Approach)</h3><ol><li><strong>Take practice exams. </strong>I recommend <a href="https://www.udemy.com/share/10dXN33@oldk17lJxjbJDVVvLI7cs-FlgBTVTjANTh01cI3K9GcmOlCuTwyIpc_8o3vBxc9m/">this course</a>. If you pass, you are set to make an attempt at the real thing.</li><li><strong>Ask an LLM for a study plan. </strong>Assuming you did not pass a practice exam, copy and paste all 100 questions and results into a new chat and ask it for both flash cards and a study guide for more theory based misses. Personally, I recommend prompting it for official documentation links as a top priority, supplementing only where documentation is unclear. Study this at whatever pace makes sense for you.</li><li>Repeat 1 and 2 until you have a passing score.</li><li>Take the test!</li></ol><h3>Additional Resources</h3><ol><li>A Snowflake free trial can be helpful while you study. There is a 120-day student trial at this link; and I have found you can keep re-using the same email address for it each time it expires: <a href="https://signup.snowflake.com/?trial=student">Snowflake Free Trial (Student, 120 days)</a></li><li>The official Snowflake <a href="https://learn.snowflake.com/en/certifications/snowpro-core-c03/?pdf_name=SnowProCoreStudyGuideC03">SnowPro Study Guide</a></li><li>The official Snowflake <a href="https://learn.snowflake.com/en/pages/snowpro-track/">SnowPro Learning Track</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=326dd10c1f18" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Self Taught Reviews: Snowflake: The Definitive Guide by Joyce Kay Avila]]></title>
            <link>https://medium.com/@sergioramos3.sr/self-taught-reviews-snowflake-the-definitive-guide-by-joyce-kay-avila-0af3c40d644a?source=rss-e158cd48df5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/0af3c40d644a</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[snowflake]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Sergio Ramos]]></dc:creator>
            <pubDate>Fri, 14 Aug 2026 21:27:47 GMT</pubDate>
            <atom:updated>2026-08-21T16:53:43.038Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*rah09ZDHnqnUrn4A.jpg" /><figcaption><a href="https://bookshop.org/a/126759/9781098103828">Snowflake: The Definitive Guide: Architecting, Designing, and Deploying on the Snowflake Data Cloud, 1st Edition by Joyce Kay Avila</a></figcaption></figure><h3>Introduction</h3><p>One of the biggest names in the data industry currently is Snowflake. In the last couple years, we have been hearing about them everywhere; and as of late more and more recruiters have been asking for Snowflake experience as a greater share of companies have begun to adopt the cloud data platform.</p><p>In tech, there is a near constant stream of new technologies to keep track of. Most of the time, you would be well advised to tune them out until they show some staying power and stand out from the noise. I think it is safe to say Snowflake is now well entrenched in the industry and worth paying attention to.</p><p>Whenever I am getting oriented to a new technology or tool, I often like to dive into a single resource that gives me the most thorough introduction to its architecture and capabilities.</p><p>Most often, this resource is a book. In my search for such a resource for Snowflake, I came across <em>“Snowflake, The Definitive Guide” </em>written by Joyce Avila, an active member of the Snowflake community and regular at the DFW Snowflake user group.</p><p>Now that I have read the book, I want to share my take on it with you.</p><h3>Who this book is for</h3><p>This book is for data professionals with at least a couple years of experience.</p><p>It assumes a good degree of prerequisite knowledge, such as SQL, data modeling, and some good data fundamentals.</p><p>This book is especially useful for analytics engineers and data engineers.</p><p>The most common analytics engineer tech stacks I have seen involve either Databricks or Snowflake and this book goes into some technical depth about how the platform works under the hood.</p><p>A business analyst or non-technical data analyst might not need to go that deep. That said, they may still get some value from the earlier chapters covering some of the basics.</p><p>Just be aware that this book is a collaboration between O’Reilly and Snowflake and can have a promotional undertone at times. It’s subtle and doesn’t negate the educational content, however.</p><h3>Inside the Book</h3><p>The book is comprised of 12 chapters plus 3 appendixes. Each chapter covers a unique topic of varying scope within Snowflake.</p><h4>Chapters</h4><ol><li>Getting Started</li><li>Creating and Managing the Snowflake Architecture</li><li>Creating and Managing Snowflake Securable Database Objects</li><li>Exploring Snowflake SQL Commands, Data Types, and Functions</li><li>Leveraging Snowflake Access Controls</li><li>Data Loading and Unloading</li><li>Implementing Data Governance, Account Security, and Data Protection and Recovery</li><li>Managing Snowflake Account Costs</li><li>Analyzing and Improving Snowflake Query Performance</li><li>Configuring and Managing Secure Data Sharing</li><li>Visualizing Data in Snowsight</li><li>Workloads for the Snowflake Data Cloud</li></ol><p>The early chapters shed light on how Snowflake works under the hood. The author describes previous data architectures and their challenges, as well as the components of Snowflake and how they work together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*3nYxg0hF8-i60zpDuuU6YA.png" /><figcaption>Snowflake’s Architecture | Source: Snowflake: The Definitive Guide</figcaption></figure><p>One of my favorite parts of this book was the illustrations. There are several visuals showing how scaling warehouses up and out works, and how doing so can help you manage different workloads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/1*3cg44hNoPWlRPZxS4-hmAQ.png" /><figcaption>Managing Snowflake Workloads | Source: Snowflake: The Definitive Guide</figcaption></figure><p>One of the most informative chapters was chapter 5 on access control.</p><p>Snowflake has a unique way of implementing access control, and the example implementations really helped me understand how to leverage the different modes: <strong>Role-Based Access Control</strong> (RBAC), <strong>Discretionary Access Control</strong> (DAC), and <strong>User-Based Access Control </strong>(UBAC).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/760/1*Nak-4vMCJJBXELpe2r0Jkg.png" /><figcaption>Functional Level Roles | Source: Snowflake: The Definitive Guide</figcaption></figure><p>The chapter on managing Snowflake account costs builds on the foundation laid earlier in the architecture sections, and walks you through practice exercises where you set up resource monitors for your environment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/846/1*eDHKDqFZ9jEPuMV6uX8ycw.png" /><figcaption>Resource Monitoring | Source: Snowflake: The Definitive Guide</figcaption></figure><p>My favorite diagrams in the entire book dealt with the logical vs physical structure of data within Snowflake.</p><p>I had attended a presentation where partitions were explained at the DFW user group prior to reading the book; and seeing it visualized drove the point home for me and finally made this concept stick.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*4EfRarSQPczHrJmTjs5zXw.png" /><figcaption>Logical vs physical storage structure | Source: Snowflake: The Definitive Guide</figcaption></figure><p>Overall, you have some chapters on narrow topics like navigating the UI and creating dashboards (which are now <a href="https://docs.snowflake.com/en/release-notes/bcr-bundles/un-bundled/bcr-2260/">deprecated</a>), and others on broader topics like Snowflake workloads and architecture.</p><p>Most chapters have practice exercises and questions, and are written to be consumed independently. No chapter requires you to have run code from previous chapters for examples to work properly. But they do build nicely on one another if read in order.</p><p>You can treat this book like a full course on Snowflake and read it cover to cover like myself, or you can dive into the specific chapters as needed to fill in gaps in your knowledge.</p><p>The Workloads chapter is a great reference guide, and Appendix B is a guide on naming conventions which can be super helpful.</p><p>This edition came out in 2022, so you will occasionally run into menu items that have moved or features that have changed, but 90% of the material is rather evergreen.</p><p>The author has <a href="https://www.linkedin.com/feed/update/urn:li:activity:7488603584499052544/">confirmed</a> she is currently working on the Second Edition to the book, with the first two chapters currently available on the O’Reilly learning platform!</p><h3>Review</h3><p>My overall review of this book is that it is an excellent investment!</p><p>I came away feeling confident I had a working knowledge of Snowflake as a whole, not just how to run a query or schedule a task for example.</p><p>I felt that I finally understood <strong>what </strong>Snowflake is under the hood, what its unique value proposition is, and all of the features contained within it.</p><p>Reading this book was the first step I took towards obtaining my SnowPro Core certification! It was the bulk of the learning I did and prepared me super well. My guide to studying for this exam is <a href="https://medium.com/@sergioramos3.sr/game-plan-for-getting-your-snowpro-core-cof-c03-certification-326dd10c1f18?sharedUserId=sergioramos3.sr">here</a>!</p><p>The author is very knowledgeable and a Snowflake user herself, which certainly comes through in the writing.</p><p>There are elements I feel could be improved. The earlier chapters progress at a far slower pace compared to the later chapters.</p><p>When you are learning the basics, there are step by step instructions and screenshots that assume 0 experience with the platform.</p><p>As the book goes on, however, there isn’t a ton of continuity in that experience. Later chapters move a lot faster, and spend less time explaining prerequisite concepts.</p><p>Other issues were more minor such as inconsistencies with conventions in the code examples, typos, and a missing asset from the GitHub repo needed for one of the examples.</p><p>It seems most of these have been fixed as of this writing. You can find errata for the book <a href="https://www.oreilly.com/catalog/errata.csp?isbn=0636920519300">here</a>.</p><p>In the copyright page, you’ll see this book is a collaboration between Snowflake and O’Reilly. There are also a number of Snowflake employees named in the acknowledgements section.</p><p>While details on the partnership are sparse, it’s worth noting Snowflake’s involvement in the book.</p><p>On the positive side, the author had access to subject matter experts and presumably technical information straight from the source. That most certainly comes through in the depth of some of the material.</p><p>However, Snowflake is unapologetically self-promotional in my experience. Even in their educational content. At their events and workshops I have attended, they were not shy about pitching Snowflake to their audience.</p><p>And that tone definitely came across for me in my reading of the book. Whole paragraphs and sections of the book felt like press releases or at the very least superfluous.</p><p>If you can get past the occasional block of marketing speak, there is still a lot of good information in the book. Just keep in mind the perspective it’s being written from. You won’t be hearing about Snowflake’s limitations in this book, that’s for sure.</p><p>If you’re looking for a lay of the land when it comes to Snowflake this book is a great read!</p><h3>Companion resources and further reading</h3><ol><li>You’ll need a Snowflake free trial in order to do the practice exercises in this book. While the author shares a link to the typical 30 day free trial, I prefer the 120-day student trial in order to avoid constantly creating a new one. I have found you can keep re-using the same email address for trials also: <a href="https://signup.snowflake.com/?trial=student">Snowflake Free Trial (Student, 120 days)</a></li><li>If you’re anything like me, you’re also wondering how the business of Snowflake works. The YouTube channel Modern MBA did an excellent video on the topic years ago. It seems they’ve taken it down, but this article goes over the main points very well: <a href="https://medium.com/@modernmba/how-snowflake-won-over-warren-buffet-cecf9cb5888c">How Snowflake Won Over Warren Buffett</a></li><li>I mentioned user groups several times here so I’d be remiss to not show you where to find one near you: <a href="https://usergroups.snowflake.com/">Snowflake User Groups</a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0af3c40d644a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Self Taught Reviews: The Data Warehouse Toolkit by Ralph Kimball and Margy Ross]]></title>
            <link>https://medium.com/@sergioramos3.sr/self-taught-reviews-the-data-warehouse-toolkit-by-ralph-kimball-and-margy-ross-b8dd71916704?source=rss-e158cd48df5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/b8dd71916704</guid>
            <category><![CDATA[data-modeling]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[analytics-engineering]]></category>
            <category><![CDATA[book-review]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Sergio Ramos]]></dc:creator>
            <pubDate>Thu, 31 Jul 2025 15:06:47 GMT</pubDate>
            <atom:updated>2026-07-30T14:15:45.930Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/370/0*I1_oKJjitI2wYX8P.jpg" /><figcaption><a href="https://bookshop.org/a/126759/9781118530801">The Data Warehouse Toolkit, 3rd Edition by Ralph Kimball and Margy Ross</a></figcaption></figure><h3>Introduction</h3><p>In the data community, there are some words that get thrown around in every conversation.</p><p>Popular terms of art that are almost assumed to be understood by everyone include <em>“dimensions”</em>, <em>“facts”</em>, <em>“data modeling”</em>, and <em>“Kimball”</em> or “<em>Inmon”</em>.</p><p>I encountered one of these early in my career, during my first data analyst role.</p><p>Our database at that company had a naming convention that produced seemingly cryptic, nonsensical table names like: td_sw_gem_dim_date.</p><p>I knew what the <em>“date” </em>part meant. But why all the stuff before it?</p><p>I later learned that aside from the rest of the name — which represented the database type, instance, and team among other things — <em>“dim” </em>denoted a dimension table, which is a Kimball concept.</p><p>We also used Tableau to build dashboards, which works by dragging and dropping dimensions and measures (essentially dimensions and facts) into their places to create visualizations.</p><p>Another common word in our data and tech parlance is <em>“stream”</em>. <br>Things are said to be <em>“upstream”</em> and <em>“downstream”</em> of each other.</p><p>And the <em>“stream”</em> is one of my favorite analogies. It lays things out in a nice sequential order that one can trace to understand dependencies.</p><p>We often hear of <em>“streams”</em> used to describe single, isolated processes.</p><p>There is a data project <em>“stream”</em>, and there are business process <em>“streams”</em>, and the two are discussed separately.</p><p>But in my view, the business <em>“stream”</em> is part of, and integral to the data <em>“stream”</em>. The two are in fact, a single, indissoluble entity.</p><p>We’ll come back to that, and how it ties into this book a little later in this post.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*R_hwB67luCsGKDu5grE_aA.png" /><figcaption>The Business Data Stream</figcaption></figure><p>So, how did I eventually get up to speed on this data vocabulary?</p><p>During a career gap, I took some time to learn more about data engineering as a whole, including data modeling.</p><p><strong><em>“The Data Warehouse Toolkit” </em></strong>was the third book I picked up during that break.</p><p>Many consider it required reading in this field, and after finishing it, I can absolutely see why.</p><h3>Who this book is for</h3><p>I have seen DWTK most commonly recommended for data engineers.</p><p>Data engineers are the team members who typically concern themselves with the movement, structure, and organization of data, especially in larger companies.</p><p>Kimball’s methodology is one of the most well established approaches to the data modeling aspect of that role.</p><p>Even companies that do not purport to implement Kimball directly, wind up using concepts from it in their own models.</p><p>So, I think it is a safe assumption to say data engineers already in the field should pick this up, and new data engineers could benefit from adding it to their early learning queue.</p><p>As for other data professionals or aspiring entrants to the field, the answer is a bit more nuanced.</p><p>If we all had infinite time and could read <strong>all</strong> the books<strong>, </strong>I would urge everyone to pick up a copy immediately.</p><p>But, unfortunately, we have to work within our constraints.</p><p>New data analysts or business analysts (or any mostly business facing data professionals) should not have this book at the very top of their list for trying to break into the field.</p><p>Once you have landed a job, and have a solid grasp of your core responsibilities, this book is a great investment to broaden your knowledge.</p><p>But, be prepared to adjust.</p><p>Read a few articles if modeling comes up in interviews often; and if you get into a new role (no matter the title) and realize you need to model data regularly, it makes sense to invest in the skill.</p><p>As a data analyst, I have personally worked on a few projects where I would have benefitted from this knowledge.</p><p>One involved measuring usage of an internal reporting tool, analyzing page views relative to the total number of users the report was intended to serve.</p><p>Chapter 15: Electronic Commerce would have been super helpful in understanding how to model sessions, pages and events.</p><p>Another project involved a complex hierarchy. Since the company was international, data had to be rolled up by geography, local licenses, subsidiaries etc.</p><p>Chapter 7: Accounting has an example on this exact use case, showing how variable depth hierarchies can be drawn up.</p><p>For both of these, data structures to support the reporting were either non existent, or not useful in their normal state and had to be reworked.</p><p>Had I read this book at that time, I might have been able to complete these projects more quickly and with less headache.</p><p>But, learning these concepts on day one of my career would have been overkill since the knowledge was not necessary to get my foot in the door, and I would have lost the skill from lack of practice.</p><h3>Inside the Book</h3><h4>Overview</h4><p><strong><em>“The Data Warehouse Toolkit”</em></strong> <strong>(Third Edition)</strong> is 542 pages long.</p><p>The intro contains useful previews to each chapter.</p><p>The first chapter can be seen as a primer/review/front-loaded summary of the book. It walks through Kimball’s architecture and data modeling approach</p><p>The second chapter holds an inventory of all of the data modeling techniques discussed in the rest of the book, along with definitions and forward pointers to the case studies they are used in.</p><p>This will serve as your quick reference guide in the future.</p><p>Chapters 3 through 16 are the business case studies. When read in order, each case study builds on the one before.</p><p>These chapters cover industries like Retail, Healthcare, and E-commerce, as well as general business processes like Inventory and Customer Relationship Management.</p><p>They go in depth into the business case for each project, and illustrate the value the data will provide to each enterprise.</p><p>The data modeling techniques are demonstrated within the context of each case study, but the approaches are general enough to be applied elsewhere.</p><p>Chapters 17–20 are drawn from another book by the authors: <strong><em>“The Data Warehouse Lifecycle Toolkit</em>”</strong> (<strong>Second Edition)</strong>.</p><p>They cover the Kimball project lifecycle, modeling and ETL task lists and project outlines, as well as an inventory of 34 ETL subsystems and techniques that can be used as building blocks for any ETL system.</p><p>These chapters can be a useful reference for organizing your work when tackling data modeling and ETL design initiatives, and a reference of modular functions you need within your ETL such as quality checks, and deduplication logic.</p><p>The outlined tasks and workflows are technology agnostic, which means they can be applied with whatever tech stack you are working with.</p><h4>Key concepts</h4><p>These key ideas will be a bit out of order from how they originally appear in the book. I believe thinking about them in this order makes the most sense.</p><p>The authors also provide multiple definitions or reiterations of key terms, and I have tried to find the most helpful ones.</p><p><strong>Value chain</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*oQqSztGtaWGtfmZdXKmViQ.png" /><figcaption><strong><em>Data Warehouse Toolkit (Third Edition) Figure 4–1</em></strong></figcaption></figure><p>The value chain to me is the natural starting point for understanding how a business operates, and by extension how its data is produced.</p><p>It is the series of events that occur when conducting business. And at each step of the value chain you can find one or more business processes.</p><p>Recall the earlier mention of business and data <em>“streams”</em>— commonly treated as separate. This is where they visibly converge: in the value chain.</p><p>The intersection of the value chain and business process forms a tributary that feeds directly into data modeling.</p><p><strong>Four-Step Dimensional Design Process<br></strong>This process organizes the effort of creating a single dimensional model into steps:</p><ol><li>Select the Business Process</li><li>Declare the Grain</li><li>Identify the Dimensions</li><li>Identify the facts</li></ol><p>Step 1 makes sense in the context of the value chain we saw above. The value chain exposes the business processes we might choose to model.</p><p><strong>Business Process</strong></p><blockquote>“Business processes are the operational activities performed by your organization, such as taking an order, processing an insurance claim, registering students for a class, or snapshotting every account each month.</blockquote><blockquote>Business process events generate or capture performance metrics that translate into facts in a fact table.</blockquote><blockquote>Most fact tables focus on the results of a single business process.”</blockquote><p>I define a business process as any recurring activity within a business.</p><p>Think of the simple example of a lemonade stand. Even at that elementary stage in a business, there are multiple processes needed to operate successfully.</p><p>You start with a <strong>procurement</strong> process, which are the steps taken to secure the ingredients for the lemonade.</p><p>The <strong>production</strong> process outlines the way it is prepared. How much water? How much sugar? Is it made to order, or in bulk?</p><p>There is even a <strong>marketing</strong> process which describes how much effort goes into raising awareness of the stand.</p><p>Things such as yard signs, or cold calling friends and family to make them aware of the endeavor.</p><p>Then we come to the all important <strong>sales</strong> process. How do we accept payment for our lemonade and record transactions?</p><p>These processes scale in number and complexity alongside a business. In some more complicated or highly regulated industries you need more of them just to open your doors!</p><p><strong>Operational Systems </strong>are the tools used to manage these processes. These may be anything from paper invoices and a to-do list on the office whiteboard, to software solutions that record point of sale transactions or track inventory.</p><p>They may be fit for purpose (designed for their current use) or “adapted” for a given use case. This might involve using fields in non standard ways, or intricate workarounds for processes that the software isn’t made to track.</p><p>Operational systems generate data. That data can be analog or digital, it is still data.</p><p>What is available in these systems is an important constraint on your design work.</p><p><strong>Grain</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/775/1*5gJgVJo38OqDfqGpNABJKA.png" /><figcaption><strong><em>Data Warehouse Toolkit (Third Edition) Figure 1–2</em></strong></figcaption></figure><blockquote>“Declaring the grain means specifying exactly what an individual fact table row represents.</blockquote><blockquote>The grain conveys the level of detail associated with the fact table measurements.</blockquote><blockquote>It provides the answer to the question, ‘How do you describe a single row in the fact table?’</blockquote><blockquote>The grain is determined by the physical realities of the operational system that captures the business process’s events.”</blockquote><p>Grain is one of the most important things to establish when discussing a new design or even orienting oneself to an existing table.</p><p>Chapter 3 follows the above grain definition with several examples to illustrate the point.</p><p>I think <em>“level of detail”</em> is the key part of the definition. Another related concept is <strong>Atomic Grain.</strong></p><p><strong>Atomic grain</strong> means the lowest level of detail available. A simple example is recording each item and its sale amount from a transaction as opposed to the total for the overall sale.</p><p>The authors recommend creating atomic grained fact tables whenever possible, because you can always aggregate up, but you can never start from aggregate data and drill down.</p><p><strong>Facts and Dimensions — </strong>The core concepts of this modeling approach are defined as:</p><p><strong>Facts</strong></p><blockquote>“The fact table in a dimensional model stores the performance measurements resulting from an organization’s business process events.”</blockquote><p>The three types of fact tables are <strong>Transaction</strong>, <strong>Periodic Snapshot</strong>, and <strong>Accumulating Snapshot:</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/808/1*rUYP4r7XvHVH19ml_1sTNA.png" /><figcaption><strong><em>Data Warehouse Toolkit (Third Edition) Figure 4–7</em></strong></figcaption></figure><p><strong>Dimensions</strong></p><blockquote>“The dimension tables contain the textual context associated with a business process measurement event. They describe the ‘who, what, where, when, how, and why ’ associated with the event.”</blockquote><p>The language used for the last two definitions seems a bit esoteric and overly elaborate.</p><p>But, as the book progresses, you learn why all that wiggle room was needed in the verbiage.</p><p>The authors build from these concepts and go much further into many more, including slowly changing dimensions (SCDs), using multiple fact table types in complementary ways, and dealing with less straightforward problems that can’t be modeled so simply.</p><p>There is even a chapter where you practice conducting a data model review to improve upon an existing model.</p><h3>Review</h3><p>I knew before starting <strong><em>“The Data Warehouse Toolkit”</em></strong>, that I’d learn the proper definitions of dimensions, facts, and other such terms of art.</p><p>But I was surprised to learn that alongside Kimball’s systematization of his data modeling best practices, he emphasizes the role of the people in data projects, and exhibits an orientation toward modeling in<strong> </strong>service of <em>“the business”</em>.</p><p>In my reading of the online discourse surrounding it, I have seen this book called outdated, timeless and everything in between.</p><p>I am not the arbiter of “outdated”, though I’d argue talking heads in tech are prone to think anything not happening in some hypothetical future is outdated.</p><p>Kimball’s methodologies are still implemented everywhere, and the vocabulary he created for understanding data still permeates our discourse.</p><p>As data professionals, we get paid to work with what is handed to us, not our academic idea of what is “current”.</p><p>And understanding Kimball makes you a more effective data professional in the real world.</p><p>The pace of this book is slow and meticulous, which I really appreciated. Others may find it a bit repetitive or slow, however.</p><p>Reading each case study helped me ground the concepts from his approach in reality and practical application.</p><p>He did not throw the “kitchen sink” at every problem, but picked only the techniques that were absolutely necessary.</p><p>This minimalism and design was another positive trait I really enjoyed, and carried over to individual table design as well.</p><p>There are ample diagrams for each idea throughout the book, and justifications for all the design choices.</p><p>At times, some of the phrasing was a bit confusing, or it was unclear why things were drawn up a certain way.</p><p>But, the other positive of studying such a widely adopted and long-lived methodology is that LLMs have ample source material to pull from online.</p><p>There are tons of articles and discussion threads along with official material on their website.</p><p>So, using a model as a bit of a tutor to clarify things or check my understanding was very easy.</p><p>I believe this book is a must read as soon as data modeling becomes relevant to your career. It’s a foundational text of this field and is still as relevant today as when it first came out.</p><h3>Companion resources and further reading</h3><p>Here are a few interesting resources that pair well with this book!</p><p>Some I have mentioned briefly above, but I wanted to put them all in one place.</p><ol><li>I reviewed this book a while back. It is a great overview of the field of data engineering, and contains a very informative section on the different types of data modeling, including Kimball: <a href="https://medium.com/@sergioramos3.sr/self-taught-reviews-fundamentals-of-data-engineering-by-joe-reis-and-matt-housley-36b66ec9cb23"><strong>Fundamentals of Data Engineering</strong></a></li><li>This article is by one of the authors of FoDE, Joe Reis. It is a great case study building a traditional data model in the real world with example requirements gathering discussions and all: <a href="https://practicaldatamodeling.substack.com/p/example-building-a-traditional-data"><strong>Example — Building a Traditional Data Model</strong></a></li><li>Seattle Data Guy on YouTube has tons of great videos on this topic. He did a series on modeling but never put it into a playlist. Here are the three videos from it I recommend: <br><a href="https://youtu.be/nof9jYIhv54?si=mwQydqQBrbwR4fvO"><strong>1. Data Modeling — Why Data Engineers Need To Understand It — An Introduction To Data Engineering</strong></a><br><a href="https://youtu.be/gG7upg6QaBI?si=DHVDYf-XQqi0fQys"><strong>2. Data Modeling — Walking Through How To Data Model As A Data Engineer — Dimensional Modeling 101</strong></a><strong><br></strong><a href="https://youtu.be/rqLbn1PQPKA?si=TQmx9mPT0kOaQmDH"><strong>3. Data Modeling Where Theory Meets Reality — How Different Companies I Worked At Modeled Their Data</strong></a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b8dd71916704" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[City of Fort Worth Development Permits Data Analysis]]></title>
            <link>https://medium.com/sergio-ramos-data-portfolio/city-of-fort-worth-development-permits-data-analysis-99edb98de4a6?source=rss-e158cd48df5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/99edb98de4a6</guid>
            <category><![CDATA[postgresql]]></category>
            <category><![CDATA[power-bi]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-modeling]]></category>
            <dc:creator><![CDATA[Sergio Ramos]]></dc:creator>
            <pubDate>Fri, 23 May 2025 17:01:20 GMT</pubDate>
            <atom:updated>2025-05-23T17:01:20.997Z</atom:updated>
            <content:encoded><![CDATA[<p>Economic development through the lens of permit data <strong><em>(Exploring COFW Part 3 of 3)</em></strong></p><blockquote><strong>This post is part three of a three-part series on the City of Fort Worth.</strong></blockquote><blockquote><strong>In this series I explore the city’s history, recent planning and economic development reports, and its publicly available development permit data to better understand where we’ve been, and where we’re going from here.<br><br>You can read part one </strong><a href="https://medium.com/@sergioramos3.sr/the-economy-that-made-the-city-67ee7a26f8aa"><strong>here</strong></a><strong>, and part two </strong><a href="https://medium.com/@sergioramos3.sr/the-quantification-of-our-lives-ab3621d4f33e"><strong>here</strong></a><strong>.</strong></blockquote><h3>Introduction</h3><p>Although I was born and raised in Fort Worth, I realized only recently how little I actually knew about the city.</p><p>In 2024, I found myself learning a ton through exhibits at the local museum of science and history.</p><p>And since I had also recently decided to revamp my data project portfolio, I thought it was a perfect opportunity to explore public data.</p><p>That led me to <a href="https://data.fortworthtexas.gov/">https://data.fortworthtexas.gov/</a>. There, I found a dataset on development permits and decided to dive in.</p><p>Permits are an especially interesting lens to view a city through.</p><p>For starters, they represent highly visible real-world activities. You can look through the data and find your favorite restaurant or gym, or that building that’s been half-built for far too long.</p><p>They are also a proxy for economic development.</p><p>Building activity means economic activity. It means more housing, more businesses, more infrastructure.</p><p>And Fort Worth has had plenty of activity.</p><p>In recent years, the city has gone through the COVID pandemic, along with the rest of the world, and grown through it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uir9BmmigKN_TfQJDS71bQ.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. Photograph, Fuel City<em>, Fort Worth, TX</em>. 2020.</figcaption></figure><p>Just in one neighborhood (Riverside), I’ve spotted two restaurant renovations, two new large gas stations, and at least two new apartment complexes.</p><p>Not to mention additional projects in Downtown and Southside.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VpL8aPXimOyujJ1CYvB4uA.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kKWLaYgsWzGs93TOlQC73Q.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. Photographs, <em>Fort Worth, TX</em>. Apr 4 2021, Oct 3 2021.</figcaption></figure><p>Instead of slowing down, it feels as though construction ramped up in the early 2020s.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*f7lm3G8ZIyxaN0n6HP2ysw.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*se2kDkL5EOePvT9uiUyPNg.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. Photographs, <em>Fort Worth, TX</em>. Jun 28 2021, Oct 15 2021.</figcaption></figure><p>I worked in construction for a brief time, so watching these projects progress is especially satisfying.</p><p>The scope of my initial data project expanded quite a bit, to the point I had to split it into three parts.</p><p>Part 1 covers the history of Fort Worth.</p><p>Part 2 explores the topic of economic development, and how Fort Worth and other cities quantify different aspects of their performance.</p><p>This is the final installment, part 3.</p><p>In this post, I will share how I cleaned and understood the permits dataset, visualized the data, and answered questions like <em>“does the permit process take too long?”</em> and <em>“Who owns all these new buildings?”</em></p><p>But more importantly, I will share my broader takeaways for performing data analysis as a whole.</p><p>Let’s dive in.</p><h3>Data <strong>Research</strong> and Cleaning</h3><p>I downloaded the <a href="https://data.fortworthtexas.gov/Development-Infrastructure/Development-Permits/quz7-xnsy">development permit dataset</a> available on the city’s website.</p><p>Then, I imported and cleaned it on a PostgreSQL instance on my local machine.</p><p>The publicly available permits dataset contains one row per permit, and is modeled like an <a href="https://www.kimballgroup.com/data-warehouse-business-intelligence-resources/kimball-techniques/dimensional-modeling-techniques/accumulating-snapshot-fact-table/">Accumulating Snapshot Fact Table</a>.</p><p>The status_date field holds the date of the latest status, both of which are <a href="https://www.kimballgroup.com/data-warehouse-business-intelligence-resources/kimball-techniques/dimensional-modeling-techniques/type-1/#:~:text=With%20slowly%20changing%20dimension%20type,therefore%20this%20technique%20destroys%20history.">Type 1 Slowly Changing Dimensions</a>.</p><p>That just means they both contain the latest recorded value.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cpIWDxZTnbmYWpPOFI7kzg.png" /><figcaption>Sample row of cleaned COFW development permits dataset. Subset of of columns.</figcaption></figure><p>The same table also contains every descriptor or “dimension” relating to the permit, such as its geographic location and owner.</p><p>A data model like this, with everything in a single table is cleverly referred to as “One Big Table”.</p><p>This is likely (hopefully) not how it is represented in the data warehouse at the city, but rather a common way data from multiple sources is collected for the purposes of a report, such as their own <a href="https://data.fortworthtexas.gov/stories/s/i6gk-um2v">Development Permit Dashboard</a>.</p><p>To better understand all the steps in the permitting process, I reviewed some <a href="https://www.fortworthtexas.gov/departments/development-services/process/process-charts">process charts</a> on the city’s website.</p><p>I found <em>Master Process Chart </em>and<em> Building Permit Process Chart </em>to be most useful.</p><p>I was still a bit unsure, so I called the city and was able to reach a subject matter expert to walk me through it in depth.</p><p>I spoke with Giselle Gonzales, a Senior Plans Examiner, who helped tremendously.</p><p>She explained that for new construction and other large projects, an overall permit is needed, along with separate “sub-permits” for each trade (e.g. Plumbing, Electrical).</p><p>So while it seems the internal dataset represents this hierarchy, the public facing dataset does not.</p><p>Now that I better understood what the fields meant, and how they related, I could continue processing the data.</p><p>I decided to tackle duplicates first.</p><p>The method I thought of to identify any potential duplicates was hashing the rows, though I am sure there is a far simpler way to accomplish the same thing.</p><pre>-- Counting total duplicate records in the whole table<br>WITH duplicates AS<br><br>(<br><br>SELECT hash_subquery.*<br>,      ROW_NUMBER() OVER (PARTITION BY hash_value ORDER BY permit_number) AS row_num<br>FROM <br><br>(<br><br>SELECT permits.*<br>,      MD5(CAST(permits.* AS TEXT)) AS hash_value<br>FROM cofw_development_permits AS permits<br>  <br>) AS hash_subquery<br> <br>)<br><br>SELECT COUNT(*) AS total_duplicates  -- 17241<br>FROM duplicates <br>WHERE row_num &gt; 1;<br><br>-- 1.19% of records in this table are exact duplicates<br>SELECT CAST( ROUND( ( CAST(17241 AS NUMERIC) / CAST(1452365 AS NUMERIC) ) * 100, 2 ) AS TEXT)||&#39;%&#39; AS percent_duplicates;</pre><p>There were duplicates in the data (1.19% of rows), though I could not confirm how they ended up there.</p><p>One possible explanation is lack of uniqueness constraints on this public facing report table.</p><p>A lot of the cleanup was a column by column process that looked a lot like the code below, doing a quick high-level check of what any given field was used for.</p><pre>-- Checking work_description<br>SELECT COUNT(*) AS total_records  -- 572031 most records are not NULL<br>FROM cofw_development_permits<br>WHERE work_description IS NULL;<br><br>SELECT MIN(LENGTH(work_description)) AS min_len  -- 1<br>,      MAX(LENGTH(work_description)) AS max_len  -- 3659 <br>,      AVG(LENGTH(work_description)) AS avg_len  -- 45.1033654542442124<br><br>FROM cofw_development_permits<br>WHERE work_description IS NOT NULL;<br><br>SELECT permit_number<br>,      permit_type<br>,      permit_sub_type<br>,      permit_category<br>,      special_text    <br>,      work_description  -- Random single letters and characters<br>,      legal_description -- Does not appear to be missing text <br><br>FROM cofw_development_permits<br><br>WHERE 1 = 1<br>AND LENGTH(work_description) = 1;  -- min length<br><br>SELECT permit_number<br>,      permit_type<br>,      permit_sub_type<br>,      permit_category<br>,      special_text    <br>,      work_description  -- Denial letter text<br>,      legal_description <br>FROM cofw_development_permits<br><br>WHERE 1 = 1<br>AND LENGTH(work_description) = 3659;  -- max length</pre><p>One other thing I quickly learned about this dataset was that a lot of the information was captured as freeform text, which is possibly the worst way to capture data that could be otherwise standardized with a drop-down selection or other input validation.</p><p>On the bright side, this issue prompted me to come up with an interesting approach for normalizing a field I will bae able to reuse in later projects.</p><p>It came together while cleaning the owner_name field.</p><p>I made a distinction between cleaning and normalizing a name in this operation.</p><p><strong>Cleaned</strong> names just had spacing standardized, while <strong>normalized</strong> names had all non-letter characters removed (including spaces), and were capitalized.</p><p>I used the normalized names to identify every occurrence of the same owner, and set them all to the most common cleaned version of the name.</p><p>I was able to accomplish this with REGEXP_REPLACE() in PostgreSQL rather smoothly.</p><pre>-- Found a more streamlined way to do cleanup I did for earlier column<br><br>CREATE TEMP TABLE owner_mapping_temp AS<br><br>(<br><br>WITH cleaned_names AS (<br><br>SELECT REGEXP_REPLACE(TRIM(owner_name), &#39;\s+&#39;, &#39; &#39;, &#39;g&#39;) AS cleaned_name<br>,      COUNT(*)                                          AS total_occ<br>FROM cofw_development_permits<br>GROUP BY cleaned_name<br><br>)<br><br>, norm_names AS (<br><br>SELECT REGEXP_REPLACE(TRIM(UPPER(owner_name)), &#39;[^a-zA-Z]&#39;, &#39;&#39;, &#39;g&#39;) AS normalized_name<br>FROM cofw_development_permits<br><br>)<br><br>, most_common AS (<br><br>SELECT cleaned_names.cleaned_name<br>,      norm_names.normalized_name<br>,      ROW_NUMBER() OVER <br>       (<br>    PARTITION BY norm_names.normalized_name<br>    ORDER BY cleaned_names.total_occ DESC<br>    ) AS most_used<br>  <br>FROM cleaned_names<br>JOIN norm_names <br>    ON REGEXP_REPLACE(TRIM(UPPER(cleaned_names.cleaned_name)), &#39;[^a-zA-Z]&#39;, &#39;&#39;, &#39;g&#39;) = norm_names.normalized_name  <br><br>)<br><br>SELECT *<br>FROM most_common<br>WHERE most_used = 1;<br><br>)<br><br>-- Checking results<br>SELECT *<br>FROM owner_mapping_temp<br>LIMIT 50;<br><br>-- Preview changes <br>SELECT perms.owner_name                                              AS original_val<br>,      REGEXP_REPLACE(TRIM(UPPER(owner_name)), &#39;[^a-zA-Z]&#39;, &#39;&#39;, &#39;g&#39;) AS perms_join_val<br>,      map_tmp.normalized_name                                       AS map_tmp_join_val <br>,      map_tmp.cleaned_name                                          AS map_tmp_replacement_val<br>FROM cofw_development_permits AS perms<br>JOIN owner_mapping_temp       AS map_tmp<br>    ON REGEXP_REPLACE(TRIM(UPPER(owner_name)), &#39;[^a-zA-Z]&#39;, &#39;&#39;, &#39;g&#39;) = map_tmp.normalized_name<br>ORDER BY RANDOM() <br>LIMIT 50; <br><br>START TRANSACTION;<br><br>UPDATE cofw_development_permits<br>SET owner_name = cleaned_name<br>FROM owner_mapping_temp<br>WHERE REGEXP_REPLACE(TRIM(UPPER(owner_name)), &#39;[^a-zA-Z]&#39;, &#39;&#39;, &#39;g&#39;) = normalized_name;<br><br>-- Check output<br>SELECT owner_name  <br>,      COUNT(*) AS total_records<br>FROM cofw_development_permits<br>WHERE owner_name IS NOT NULL<br>GROUP BY owner_name<br>ORDER BY total_records DESC;<br><br>-- Commit changes after confirming changes look as intended.<br>-- COMMIT;<br>-- Rollback if changes do not look right<br>-- ROLLBACK;</pre><h3>Exploratory Analysis</h3><p>Once clean up was done, I performed some analysis in SQL to see if anything interesting stuck out to me.</p><p>Starting with checking the permit counts and averages year over year.</p><pre>-- How many distinct permits have been filed over time <br>WITH monthly_permits AS (<br><br>SELECT TO_CHAR(filing_date, &#39;YYYY-MM&#39;) AS year_mnth<br>,      COUNT(DISTINCT permit_number)   AS total_permits<br><br>FROM cofw_development_permits<br>GROUP BY year_mnth<br><br>)<br><br>SELECT year_mnth<br>,      total_permits<br>,      total_permits - LAG(total_permits, 1) OVER (ORDER BY year_mnth) AS month_over_month_diff<br>,      ROUND(AVG(total_permits) OVER (ORDER BY year_mnth ROWS BETWEEN 2 PRECEDING AND CURRENT ROW), 2) AS running_3_month_avg<br><br>FROM monthly_permits<br>ORDER BY year_mnth;</pre><p>I was curious about looking into with the newly cleaned owner_name field to check for concentration of owners of permits.</p><pre>-- Permits by owner<br>SELECT owner_name<br>,      COUNT(DISTINCT permit_number) AS total_permits<br><br>FROM cofw_development_permits<br>WHERE owner_name IS NOT NULL<br><br>GROUP BY owner_name<br>ORDER BY total_permits DESC;<br><br>-- Some DR HORTON entity or another show up 4x in the top 50<br>-- Lennar homes shows up 2x</pre><p>Among the top owners of all time were major homebuilders. This also held true on a year over year basis.</p><pre>-- Permits by owner and year<br><br>WITH yearly_ranking AS (<br><br>SELECT TO_CHAR(filing_date, &#39;YYYY&#39;) AS filing_yr<br>,      owner_name<br>,      COUNT(DISTINCT permit_number) AS total_permits<br>,      ROW_NUMBER() OVER (<br>                           PARTITION BY TO_CHAR(filing_date, &#39;YYYY&#39;)<br>                           ORDER BY COUNT(DISTINCT permit_number) DESC<br>                           ) AS yr_rank<br><br>FROM cofw_development_permits<br>WHERE owner_name IS NOT NULL<br><br>GROUP BY filing_yr, owner_name<br><br>)<br><br>SELECT *<br>FROM yearly_ranking <br><br>WHERE yr_rank &lt; 6<br>ORDER BY filing_yr, yr_rank;</pre><p>The above query showed the same handful of builders amongst the top 5 consistently.</p><p>The publication “The Hustle” argued in a recent video that this sort of concentration puts upward pressure on home prices in a <a href="https://www.youtube.com/watch?v=VryFaFsKhVE">recent analysis</a>.</p><h3>Data Visualization</h3><p>The next step in this analysis was to visualize the data I had pulled.</p><p>I used Power BI for this, with the help of Figma to make the report a bit more aesthetically pleasing.</p><p>You accomplish this by creating a background graphic in Figma, then fitting your charts to it. <a href="https://youtu.be/u6Vq6SrQxqM?si=YKj2Pg9tioO_-xsq">This tutorial</a> explains it super well and it is what I followed.</p><p>Connecting to Postgres is pretty straightforward in Power BI using their built in connector.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2rdUtnlJtJ2GEsFv4kpMkA.png" /><figcaption>Power BI Postgres connector setup</figcaption></figure><p>The concentration of owners was one of the first metrics I developed for the dashboard, where you can see the homebuilders I mentioned earlier in the top 5.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/829/1*1S4gfO2j21CeGy4r1OTimw.png" /><figcaption><strong>Source:</strong> Sergio Ramos. COFW Permits Dashboard “Top Owners” for Finaled permits, All Time (2001–06–30 to 2024–07–17)</figcaption></figure><p>I reached out <a href="https://www.linkedin.com/in/anthonydebarros/">Anthony Debarros</a>, a Data Journalist and author of the book “<a href="https://nostarch.com/practical-sql-2nd-edition">Practical SQL</a>” for feedback as I was working on this project.</p><p>One of the first things he asked about my dashboard was residential permit trends during ‘08.</p><p>So, thanks to him I took a look!</p><p>I broadened the search to all permit types for this report, and the trend largely follows the same pattern as residential alone.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/1*RPA4A_YQOM0sjJHcdDawMQ.png" /><figcaption><strong>Source:</strong> Sergio Ramos. COFW Permits Dashboard “Permits and job value over time” for Finaled permits, all types, By Permit Filing date, Filing Dates in 2002–2023</figcaption></figure><p>The interesting things I noted after taking a fresh look at this data was that at the height of permit <strong>volume</strong> in ’06, total permit <strong>value</strong> was far far lower than in 2023.</p><p>In my conversation with the Senior Plans Examiner, she informed me that the recorded job value is the estimated cost to build a project.</p><p>In 2014, it looks like value started to rise quickly, while the number of permits submitted took a slower path to recovery between about 2016 and 2023 where it started to near pre-Great Recession numbers.</p><p>What that data does not tell us, is if development activity could be stronger, and how the developer community feels about working in the City of Fort Worth.</p><p>To shed some light on this aspect of the development process, we turn first to some qualitative datapoints:</p><p>As part of the initial <a href="https://www.fortworthtexas.gov/files/assets/public/v/4/ecodev/documents/strategic-plan/strategic-plan-complete.pdf">Economic Development Strategic Plan</a> in 2017, consultants surveyed a group of commercial real estate brokers and developers about Fort Worth.</p><p>According to the report:</p><blockquote>“Questions were focused on views of Fort Worth’s business climate, its appeal as a location for business expansion and relocation projects, and perceptions about the City’s key cultural and industry assets.”<br><br><em>- </em><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</blockquote><p>The development process was cited as a common complaint.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*chuMhngs5XLf9U42JW-dLw.png" /><figcaption><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/841/1*AGcziRbkVU4NT1D-EkD29Q.png" /><figcaption><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</figcaption></figure><p>I assume anything besides instantaneous approval will elicit complaints from developers in any city.</p><p>I am also curious if selection bias was accounted for in the survey.</p><p>Was this group representative the local real estate community overall, or a vocal minority with a bone to pick with city staff?</p><p>While time did not allow for me to pull data from other cities to benchmark and get an objective read on permitting speed across cities, we are able to have a look at relative approval timelines within different periods of the city’s history.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/993/1*HHGO9gt7ne8bj7V42IeizQ.png" /><figcaption><strong>Source:</strong> Sergio Ramos. COFW Permits Dashboard “Average Days Elapsed from Filing Date” for Finaled permits, all types, By Permit Filing date, Filing Dates in 2002–2023</figcaption></figure><p>Predictably, as the volume of permits went down in the early 2010’s, they moved through the process faster.</p><p>If surveys were conducted in the year or two prior to the economic development report in 2017, respondents were indeed seeing slower speeds than recent history, but not far from their pre-Great Recession levels.</p><p>These numbers tell the story at an aggregate level.</p><p>But, that means mixing the lag times for sub-permits (e.g. a plumbing permit as part of a larger commercial construction), with the time required to permit a project end to end.</p><p>They also mix project sizes. The timeline for a commercial project is naturally longer than a residential one, or another smaller-scale project like an accessory structure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aaekn0q5H0KblXXF5_9U7w.png" /><figcaption><strong>Source:</strong> Sergio Ramos. COFW Permits Dashboard</figcaption></figure><p>And when broken out, we can see that in fact commercial building permits do take the longest overall to make their way through the process.</p><p>If the city’s goal is to increase commercial development for uses like office space, which will in turn attract employers to the area, then addressing these concerns amongst developers would be helpful.</p><p>In the 2023 Comprehensive Plan, the City of Fort Worth addressed this topic directly:</p><blockquote>“While a wide variety of residential units are essential to accommodate future population growth, the 2017 Economic Development Strategic Plan highlighted that Fort Worth is continuing to grow more single-family suburban housing than jobs, and Fort Worth is at risk of becoming overly dependent on low density residential uses to support its tax base and pay for services.</blockquote><blockquote>Together with a focused business development effort, sufficient land must be planned for increases in job creation, mixed-use development, and appropriately located higher density housing, all which support a more balanced tax base and improved return on public investment.”<br><br><strong>Source:</strong> City of Fort Worth Comprehensive Plan (2023)</blockquote><p>When you compare commercial and residential building permit volume, the difference is immediately apparent.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1Wz6fxYVWqhMQNb7lwVsCA.png" /><figcaption><strong>Source:</strong> Sergio Ramos. COFW Permits Dashboard</figcaption></figure><p>Along with permit types, job values are used as a measure of economic growth.</p><p>The numbers below are cited as a positive trend in Fort Worth’s 2023 <a href="https://www.fortworthtexas.gov/files/assets/public/v/3/the-fwlab/documents/comprehensive-planning/adopted/2023-comprehensive-plan-full.pdf">Comprehensive Plan</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*7RI5jHRGY8VvIWRNXd0r_Q.png" /><figcaption><strong>Source:</strong> City of Fort Worth Comprehensive Plan (2023)</figcaption></figure><p>In order to validate my analysis, I tried to match these figures. Below are some metrics that show the closest match I could get to the Comprehensive Plan’s stated numbers, without far exceeding their estimates.</p><p>Depending on permit types I included, or statuses I considered valid, I saw figures as high as $7bn in 2022.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wh6L8A2HAT_OeRwR9kD5uA.png" /><figcaption><strong>Source:</strong> Sergio Ramos. COFW Permits Dashboard</figcaption></figure><p>I could not find any methodology on the report, which only cites <em>“City of Fort Worth, Development Services Department, 2022.” </em>as its source for those yearly permit values.</p><p>Since my numbers were matching for 2021, but not for 2022, I concluded this was a business logic or dataset mismatch, not a double counting of permit values or other major logical error on my end.</p><p>Keeping an eye on these figures can help us understand what type of development is occurring, the pace at which permits are being granted and the value of developments over time.</p><p>Along with other data sources, we can start to paint a complete and clear picture of economic development activity on the ground, and understand if it falls in line with the city’s stated goals.</p><h3>Conclusion</h3><p>This was such a fascinating project !</p><p>While the specific facts and trends around permit data were interesting, my takeaways were more generalized to data work as a whole:</p><p><strong>Good analysis takes a lot of time.</strong></p><p>I keep coming back to this notion that I just don’t know enough about the data.</p><p>I read the diagrams, had conversations with folks at the city, and read tons about the topic; but I still don’t feel like I have the amount of context I’d need to feel truly knowledgeable about the subject matter.</p><p>Almost a year later, there is so much more research I could do <em>around</em><strong> </strong>the data to really deepen my understanding of our history, of economic development, and of the processes on the ground that leads to this dataset.</p><p>There were metrics from other reports I could not reproduce 1:1.</p><p>I knew I was <em>close</em>, but without more conversations, I can’t be sure I am defining things the exact same way as those sources (or even working with the exact same dataset).</p><p>I also did not have time to bring in ancillary data (like census data), or other city data to benchmark against.</p><p><strong>Source systems and data modeling have a huge impact on downstream analysis.</strong></p><p>Had the source systems enforced dropdowns and standardized many fields, 2/3 of my work in cleaning the data would not have been needed.</p><p>It would likely also speed up the day-to-day process. Two clicks is much faster than typing a name, for example.</p><p>If the data were a true accumulating snapshot with more date fields, I could do a lot more analysis on the time it takes to get through every step in the process, as opposed to defaulting to the time between the only two dates provided.</p><p><strong>The importance of human communication.</strong></p><p>You can find your way around a dataset solo.</p><p>You can remove duplicates, assign data types, model the data, get statistical summaries of it, and try to reverse engineer it all day long.</p><p>Or, you could spend an hour talking to someone who knows how it is produced in the real world, and who can answer most questions for you in a few minutes.</p><p>There is a phrase I really like, which I’m borrowing from <a href="https://joereis.substack.com/p/the-tension-of-orthodoxy-and-speed">Joe Reis</a>: <em>“undifferentiated heavy lifting”</em>.</p><p>Its the type of work that is time consuming, uncreative, and does not generate any net new value. Its already been done for you somewhere else. So there’s no sense in <em>“reinventing the wheel”.</em></p><p>If you can talk to the people who do the real work on the ground, do so.</p><p>You’ll get your questions answered much faster and move on to the more interesting tasks where you can actually uncover useful information and add something new.</p><h3>Sources</h3><p>All of my sources referenced for this three-part series, along with my code for the data analysis I conducted can be found on GitHub at <a href="https://github.com/0sergio-hash/COFW_Development_Permits_Data_Analysis">this link</a>.</p><h3>Bonus: Further reading/listening/learning</h3><p>With so much time invested in this project, I have found a ton of amazing resources !</p><p>Here are a few I think you’ll like:</p><ol><li>I took a great deal of inspiration from Anthony DeBarros, a data journalist, and his book “Practical SQL”: <a href="https://www.linkedin.com/in/anthonydebarros/"><strong>Anthony DeBarros LinkedIn</strong></a></li><li>I really enjoy this newsletter, especially their unique data visualizations and graphics: <a href="https://thehustle.co/originals/can-god-fix-americas-housing-crisis"><strong>The Hustle Newsletter</strong></a></li><li>I have been reading this data modeling classic, which was very helpful in understanding the data: <a href="https://bookshop.org/p/books/the-data-warehouse-toolkit-the-definitive-guide-to-dimensional-modeling-margy-ross/11206644?ean=9781118530801&amp;next=t"><strong>The Data Warehouse Toolkit</strong></a></li><li>My friend Alex the analyst has some of the best tutorials. This is one I used as a refresher on Power BI: <a href="https://www.youtube.com/watch?v=g0m5sEHPU-s&amp;list=PLUaB-1hjhk8HqnmK0gQhfmIdCbxwoAoys"><strong>Alex the analyst Power BI tutorials</strong></a></li><li>This AI app helped me with my research. I was able to listen to lengthy reports and documents in audio form while I read along, which made things so much easier: <a href="https://elevenreader.io/"><strong>ElevenReader by ElevenLabs</strong></a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=99edb98de4a6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sergio-ramos-data-portfolio/city-of-fort-worth-development-permits-data-analysis-99edb98de4a6">City of Fort Worth Development Permits Data Analysis</a> was originally published in <a href="https://medium.com/sergio-ramos-data-portfolio">Sergio Ramos Data Portfolio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Quantification of Our Lives]]></title>
            <link>https://medium.com/@sergioramos3.sr/the-quantification-of-our-lives-ab3621d4f33e?source=rss-e158cd48df5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/ab3621d4f33e</guid>
            <category><![CDATA[fort-worth]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[economic-development]]></category>
            <category><![CDATA[ecnomics]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Sergio Ramos]]></dc:creator>
            <pubDate>Fri, 16 May 2025 17:05:48 GMT</pubDate>
            <atom:updated>2025-05-23T17:03:34.631Z</atom:updated>
            <content:encoded><![CDATA[<p>The discipline of economic development from the outside looking in <strong><em>(Exploring COFW Part 2 of 3)</em></strong></p><blockquote><strong>This post is part two of a three-part series on the City of Fort Worth.</strong></blockquote><blockquote><strong>In this series I explore the city’s history, recent planning and economic development reports, and its publicly available development permit data to better understand where we’ve been, and where we’re going from here.<br><br>You can read part one </strong><a href="https://medium.com/@sergioramos3.sr/the-economy-that-made-the-city-67ee7a26f8aa"><strong>here</strong></a><strong>,</strong> <strong>and part three </strong><a href="https://medium.com/@sergioramos3.sr/city-of-fort-worth-development-permits-data-analysis-99edb98de4a6"><strong>here</strong></a><strong>.</strong></blockquote><h3>Introduction</h3><p>While searching for a narrative to tie together the analysis I performed on Fort Worth’s development permit data (coming in part three), I read several materials from the city, including the 2017 <a href="https://www.fortworthtexas.gov/departments/econdev/edplan">Economic Development Strategic Plan</a> and its 2022 update, as well as the <a href="https://www.fortworthtexas.gov/departments/the-fwlab/planning/comprehensiveplan/adopted">2023 Comprehensive Plan</a>.</p><p>These explained every facet of the city and its inhabitants through the lens of economic development.</p><p>For the uninitiated, this perspective and its accompanying vocabulary can be disquieting.</p><p>Reducing so much of our lived experience to KPIs and statistical figures feels wrong in a sense, and a bit unnerving — even if it’s necessary and pragmatic step in the planning process.</p><p>That is why I call it “The quantification of our lives”.</p><p>In this post I will share learnings from my exploration as I wrestled with this feeling, and make the case that we should be involved in decisions made using data about us.</p><h3>The “Workforce Pipeline”</h3><p>My introduction to the topic of economic development came before I embarked on my broader project of understanding Fort Worth.</p><p>It all started with the term “workforce pipeline”.</p><p>The first time I heard the word “pipeline” used to describe a “workforce” or “talent” (i.e. a population of children and young adults) was in an <a href="https://www.thefortpod.com/9-mayor-betsy-price-small-business-growth-in-fort-worth/">interview</a> with former Fort Worth mayor Betsy Price.</p><p>What is a workforce pipeline? To answer that question, we need to take a broader look at cities as a whole.</p><p>One useful way to understand cities in the context of economic development is to view them as two-sided marketplaces:</p><p>On one side a city renders services and provides amenities to citizens who in turn elect to live within its jurisdiction and pay taxes.</p><p>The other side of this marketplace are businesses. Businesses are also the beneficiaries of infrastructure, but what they are really being sold is a <strong>workforce</strong>.</p><p>The workforce can either be enticed to move to the city, or <em>“produced”</em> from within.</p><p>How does the city produce a workforce?</p><p>By putting in place institutions which take children as inputs, and return properly educated and trained employees as outputs.</p><p>This is accomplished through traditional K-12 schools, as well as colleges, trade schools and other upskilling programs.</p><p>When businesses move in and hire local residents, the city captures economic value — directly through property taxes, and indirectly through things like sales taxes from employee spending.</p><p>The businesses a municipality is wishing to court or keep within its boundaries drive demand for people with specific degrees and skillsets.</p><p>The strength of a pipeline, therefore, can be measured in how many adults a city is producing at a given academic achievement and skill level.</p><p>I find using pipelines as a framework for thinking about education to be overly callous and utilitarian.</p><p>We go from thinking of learning as a joyful exploration of curiosity, to viewing schools as playing the role of feedlot where kids are intellectually fattened up for their eventual “owners”.</p><p>As I dug deeper, I found that this disposition — whether it be a byproduct of the subject matter, or more generalized— towards citizens as products was a constant.</p><p>So, let’s jump into government, inc., shall we?</p><h3>Fort Worth’s Strengths</h3><p>The 2017 Economic Development Strategic Plan began by identifying broader trends which benefit Fort Worth, as well as the city’s unique strengths and weaknesses.</p><p>One of the positive trends has been migration. In 2023, Fort Worth’s population reached 978,468.</p><p>The city has been expanding steadily since its inception, and as of this writing (2025) it has grown to 359 square miles.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r57aX7xqmBk2uZ-wOr_-Sg.png" /><figcaption><strong>Source: </strong>City of Fort Worth website, population page <a href="https://www.fortworthtexas.gov/about/population">https://www.fortworthtexas.gov/about/population</a></figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5SzcpCA4K4YSMVzSBgFOEg.png" /><figcaption><strong>Source:</strong> City of Fort Worth Comprehensive Plan (2023)</figcaption></figure><p>Fort Worth’s legacy industries such as manufacturing, transportation and aerospace have also enjoyed tremendous growth.</p><p>This is driven in part by the these industries’ long history in the area.</p><p>The location of Fort Worth also helps. One geographic advantage of the city is its proximity to Mexico.</p><p>Mexico is an important long term trade partner of the U.S., and both countries rely on one another for continued economic prosperity.</p><p>According to the <a href="https://www.state.gov/u-s-relations-with-mexico">U.S. Department of State</a>:</p><blockquote>“Mexico was the United States’ top goods trading partner in 2023 with total two-way goods trade at $807 billion.”</blockquote><p>The city’s highway, rail, and air infrastructure complement its unique geography, making it a conduit and beneficiary of international trade.</p><p>For example, interstate 35 crosses the metroplex on its way from the border town of Laredo up to the northern end of the U.S. ; and DFW airport <a href="https://www.dfwairport.com/business/about/facts/">ranks third in the world</a> in terms of total passengers as of 2025.</p><p>Aside from geography and infrastructure, available land also seems to have played a role in the size of the logistics and manufacturing sectors in Fort Worth.</p><blockquote>“In Fort Worth’s case, the city encompasses a vast supply of land, much of it still undeveloped, which has made it possible to support low density, land-using employment sectors (like transportation &amp; warehousing) that might have gone to suburban or exurban fringes of the urbanized area in any other metropolitan area.”</blockquote><blockquote><em>- </em><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/897/1*TGDoorDczHPQfbini3mtFQ.png" /><figcaption><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017),</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dgic5vg7KuIxoNVFvfILwA.png" /><figcaption><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S5zoYWfi6JvVYiL04SLERQ.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. “Cowtown Takes Flight” Photograph, Fort Worth Museum of Science and History, 9 Jun. 2024.</figcaption></figure><p>Aerospace companies like Bell Helicopter and American airlines were both among the top 10 property tax payers in the city in 2016.</p><p>That same year, transportation and warehousing were the largest sectors by employment, illustrating their dominance in the local economy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m8Oz_LQHRGL_8UriQJesGg.png" /><figcaption><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/864/1*okuwYMcQ21Wjt7xrJ8TwLA.png" /><figcaption><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</figcaption></figure><p>Fort Worth boasts a booming economy with strong competitive advantages and ample potential for growth.</p><p>But, as with any city, there are also areas for improvement.</p><h3>Weaknesses and opportunities</h3><p>There are a lot of unique calculations and metrics used to measure the city’s performance in different areas.</p><p>A few numbers stood out to me at the city-wide level:</p><p><strong>Jobs to housing ratio</strong>. A city with less jobs per resident is at risk of becoming a suburb of neighboring cities.</p><p>Public resources are consumed by its tax base, but a lot of economic activity associated with their employment occurs outside its jurisdiction.</p><p>It cannot generate as much sales and property tax, and incurs great risk of becoming reliant on the economy of another city for its growth.</p><blockquote>“Tarrant County would become more residential by 2040, and the surrounding suburbs would become much more commercial and industrial … A target ratio of two or more jobs per household would be more in line with the city’s role as an employment center.”</blockquote><blockquote><em>- </em><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/411/1*Co2xRSle_RlyMvLQ4ZceFA.png" /><figcaption><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</figcaption></figure><p><strong>Employment by sector using location quotients (LQs). </strong>In one report, employment by sector was measured using location quotients for relative comparisons between the city and the Country as a whole.</p><p>Of particular interest to me was the LQ for Fort Worth of Computer &amp; Math jobs.</p><p>Attracting companies who employ computer and math professionals would mean a higher wage population.</p><p>A higher wage population can afford more expensive homes, and therefore generate more property tax revenue for the city since property taxes are based on assessed home value.</p><p>A higher wage population would also have more discretionary income and likely spend more per capita, producing more sales tax revenue for the city.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/889/1*HnJa2WhtWWwzICEPFEDz3w.png" /><figcaption><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</figcaption></figure><p><strong>Distribution of Employment by Skill Level. </strong>This metric was an especially interesting one. The authors use traditional education level as a proxy for skill.</p><p>Quantifying something as abstract as skill level is near impossible. But, it had to be measured somehow, and this is the method that was chosen.</p><blockquote>“Low-skilled occupations are defined as those requiring a high school diploma or less, while occupations requiring a bachelor’s degree or above are categorized as high skill. The remaining jobs (those typically requiring more than high school, but less than a four-year degree), are deemed middle-skills jobs.</blockquote><blockquote>This broad category encompasses a variety of jobs that are essential to a wide range of industries.</blockquote><blockquote>They include skilled trades, such as plumbers and electricians, as well as production workers, healthcare technicians, and administrative support functions.</blockquote><blockquote>By this measure, Fort Worth has seen above-average growth in middle-skills positions, but lags the region, state, and nation in high skills employment growth.”</blockquote><blockquote><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zosESXsw7xWCSBMRGwW1lQ.png" /><figcaption><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</figcaption></figure><p>As we’ve seen above, traditionally “middle-skills” and “low-skills” industries are dominant in the city.</p><p>One could reasonably assume a lack of opportunity in high-wage areas would draw those professionals away from Fort Worth.</p><p>But, the jobs to housing projections seem to predict that growth in these areas will not be sufficient. And it appears some of these industries are becoming more “high-skill” as they evolve:</p><blockquote>“Technological innovations in the aerospace industry are affecting the occupations and skills required by employers, especially original equipment manufacturers (OEM) such as Lockheed Martin and Bell Helicopter.</blockquote><blockquote>The traditional emphasis on “drill and fill” assembly workers dominating the production floor is shifting.</blockquote><blockquote>New technologies and products like fly-by-wire flight controls and unmanned systems are increasing the demand for IT specialists (e.g., software developers and computer engineers).</blockquote><blockquote>Likewise, the growing use of composites and utilization of additive manufacturing (3D printing) and robotics is also driving demand for production workers with advanced technical skillsets.”</blockquote><blockquote><em>- </em><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</blockquote><p>And here, our favorite term <strong>“talent pipeline”</strong> comes out in full view:</p><blockquote>“In order to meet the talent pipeline needs of regional aerospace and air transportation employers, the (unpublished) North Texas Aerospace and Aviation Talent Pipeline Study recommends the development of a demand-driven career pathways system to connect residents to jobs in the aerospace and aviation industries.</blockquote><blockquote>This is especially true for building a long-term supply (within existing K-12 population) to meet many of the critical skills needs, especially in advanced manufacturing, information technology, and systems engineering.”</blockquote><blockquote><em>- </em><strong>Source:</strong> City of Fort Worth Economic Development Strategic Plan (2017)</blockquote><p>From my perspective, this framing is squarely at the intersection of pragmatic and disturbing.</p><p>While we should want to prepare the next generation for high-paying jobs, this feels like an employer centric approach to education.</p><p>This approach makes sense in the economic development strategic plan, though I would have liked to see the scope of goals broadened in the 2023 city comprehensive plan.</p><p>I feel there is a need for complementary aspects of education — priorities that include fostering creativity, critical thinking, civic engagement, and personal fulfillment.</p><p>The 2025 <a href="https://www.fwisd.org/about/strategic-plan">Fort Worth ISD strategic plan</a>’s <em>“Portrait of a Graduate”</em> includes attributes like <em>“Critical thinkers”</em> and <em>“Lifelong learners”.</em></p><p>However, I didn’t find clear strategies in the plan to those attributes to life.</p><p>I hope future ISD plans offer more intentional pathways to those outcomes — and that these are incorporated into the city’s comprehensive plan to show alignment between the district and city leadership.</p><p>The earlier skills distribution chart shows a higher concentration of low and middle skills jobs. Let’s now turn to a couple figures that outline the implications of this at an individual level — starting with income:</p><p><strong>Household, family, and per capita income and spending. </strong>The final stop downstream of industry, education, and employment is income.</p><p>What people make, how they spend it, and their quality of life.</p><p>There is a balance that should not be disturbed. Should its economy fail its citizens, a workforce the city will not have.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*h-VC8Spm5qVvm-6jExSl6g.png" /><figcaption><strong>Source:</strong> City of Fort Worth Comprehensive Plan (2023)</figcaption></figure><p>The impact of everything we have talked about so far is a bit of a contradiction.</p><p>Fort Worth is lagging in high-wage jobs as property values continue to rise.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/679/1*9i1ey6LPepNVptS0cxoObg.png" /><figcaption><strong>Source:</strong> City of Fort Worth Comprehensive Plan (2023)</figcaption></figure><p>Even if we attract higher wage jobs, we cannot do away with “low-skill” or “middle-skill” jobs or shift the workforce to be exclusively “high-skill”.</p><p>Some of the most critical professionals for a functioning city are not making enough to reasonably afford housing, which is concerning.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/595/1*RXKuradRH2VVdf8nuIW0pQ.png" /><figcaption><strong>Source:</strong> City of Fort Worth Comprehensive Plan (2023)</figcaption></figure><blockquote>“These sample occupations earn less than 80 percent of the Fort Worth Arlington Median Family Income for a family of four, making them susceptible to housing affordability issues.”</blockquote><blockquote><em>- </em><strong>Source:</strong> City of Fort Worth Comprehensive Plan (2023)</blockquote><p>The above matrix represents <strong>per capita income</strong> (individual persons) by profession, while housing affordability is calculated relative to the <strong>median family income </strong>(middle value of total income among all 2+ co-inhabitant households related by birth, marriage or adoption).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/667/1*fA7Xc39grsNcuZe11HdLLQ.png" /><figcaption><strong>Source:</strong> City of Fort Worth Comprehensive Plan (2023)</figcaption></figure><p>All that this means is, a family or individual living off one income is measured against the same figure as a family with two or more incomes.</p><p>In all the reports, there were stated goals of attracting businesses and start ups in target sectors.</p><p>The city created several initiatives for achieving these goals. One of which was a partnership with Tech Stars for an <a href="https://fortworthreport.org/2024/12/15/fort-worth-sought-to-attract-investment-in-new-health-care-startups-here-are-the-results/">accelerator program</a> focused on physical health companies that ran for 3 years.</p><p>I attended their final demo day at the end of 2024. There they stated that out of the 31 companies that they invested in, 10+ were locally active.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZglV1glB9CnEDM6XdqsAZA.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. 2024 Techstars Physical Health Fort Worth Demo Day at Tannahill’s Tavern &amp; Music Hall Dec. 11, 2024.</figcaption></figure><p>In private conversations, I have heard from some founders that the incentives for smaller tech companies are not yet compelling in the city.</p><p>That will be real sticking point if they wish to diversify their industries and attract tech sector growth.</p><p>And anecdotally, I do not see many programs or investment by the city into a grassroots tech community. Most meetups, events and conferences around data and tech I have attended occurred outside Fort Worth.</p><p>Let’s take a look at some other areas where interesting data is available.</p><p>My personal favorite metrics were around transportation. For example, we know exactly what our infrastructure consists of.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*CqpPLcctixODryeuSIULng.png" /><figcaption><strong>Source:</strong> City of Fort Worth Comprehensive Plan (2023)</figcaption></figure><p>Professionals who deal with these matters have come up with ingenious scoring mechanisms to measure quality.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/1*4G0YNnt7-9_WmcgJs89qnA.png" /><figcaption><strong>Source:</strong> City of Fort Worth Comprehensive Plan (2023)</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*x1aut9JxihSuaLsX0K778A.png" /><figcaption><strong>Source:</strong> City of Fort Worth Comprehensive Plan (2023)</figcaption></figure><p>Combined with other public data, scores can shed light on how well the city is serving different segments of its population, and uncover disparities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*ksdKB7egxWM3rkIrQryFTA.png" /><figcaption><strong>Source:</strong> City of Fort Worth Comprehensive Plan (2023)</figcaption></figure><p>There were so many more metrics contained in the reports that I did not include in the interest of time. I highly recommend checking out all the reports yourself and finding the metrics you care about !</p><h3>Conclusion</h3><p>One of the favorite talking points of data professionals is <em>“everything you do creates data”</em>.</p><p>While this is often interpreted as <em>“everything you do </em><strong><em>online</em></strong><em> creates data”</em>, that really misses the broader message behind the statement.</p><p>From birth, your life can be thought of as a series of numbers. At every milestone you will find a measurement is recorded.</p><p>Your choice of education, career, your living arrangements, spending habits, and migration patterns are known quantities.</p><p>We are reduced to a handful of KPIs, and our communities engineered to economic ends.</p><p>Whether this is a good or a bad thing is a matter of personal opinion.</p><p>You might say: <em>“It is the government’s job to tend to the plumbing of society. They should see me as a number. I can handle the more meaningful and soulful aspects of life myself.”</em></p><p>Or you might feel policy has leaned too far into economics, leaving out deeper human priorities.</p><p>Either way, the conclusion is the same: <strong>data is a tool</strong>.</p><p>And if it’s going to inform decisions that affect our lives, it’s incumbent on us to understand how we’re represented in it — and to actively participate in the decisions being made with it.</p><h3>Sources</h3><p>All of my sources referenced for this three-part series, along with my code for the data analysis I conducted can be found on GitHub at <a href="https://github.com/0sergio-hash/COFW_Development_Permits_Data_Analysis">this link</a>.</p><h3>Bonus: Further reading/listening/learning</h3><p>There is so much more good content I want to share that I found as I have been working through this project!</p><p>Here are a few things I believe complement this article:</p><ol><li>A look at the talent pipeline in the not too distant past: <a href="https://www.thefortpod.com/9-mayor-betsy-price-small-business-growth-in-fort-worth/"><strong>#9: Mayor Betsy Price — Small Business Growth in Fort Worth (The Fort Podcast)</strong></a></li><li>An interview about crime and an undercover operation in Fort Worth in the early 2000’s: <a href="https://open.spotify.com/episode/501aHle8Zckax2Ijz9avUP?si=lyjB-jWLSZOzDD_Tb8FJjw"><strong>#22: Tegan Broadwater — From Undercover Narcotics to Entrepreneurship (The Fort Podcast)</strong></a></li><li>An interview about economic development efforts: <a href="https://www.thefortpod.com/367-robert-allen-ceo-fort-worth-economic-development-partnership-fort-worth-tx-is-about-to/"><strong>#367 — Robert Allen — CEO @ Fort Worth Economic Development Partnership — Fort Worth, TX Is About to Explode With Growth (The Fort Podcast)</strong></a></li><li>An interview about the city’s recent city manager search: <a href="https://open.spotify.com/episode/5qNlx3qisVqueQOL47yDBf"><strong>Behind Closed Doors: Chris Nettles Speaks Out on Fort Worth’s City Manager Search (817 Podcast)</strong></a></li><li>An interview with the new Fort Worth city manager: <a href="https://open.spotify.com/episode/7zclSb099jgSyVTc6WagFA?si=6dt3dQB4R6Ok33QAd6v33A"><strong>Leading the Fort: Jay Chapa’s Vision for Fort Worth (Go Time In Fort Worth with Mayor Mattie Parker)</strong></a></li><li>An excellent podcast episode on the history of relations between the U.S and Mexico: <a href="https://www.latinousa.org/2025/03/02/acomplicatedrelationship/"><strong>The U.S. and Mexico: A Complicated Relationship (Latino USA)</strong></a></li><li>An article from a Nobel prize winning economist that argues for cross-discipline economics that involves philosophy and ethics: <a href="https://www.imf.org/en/Publications/fandd/issues/2024/03/Symposium-Rethinking-Economics-Angus-Deaton"><strong>Rethinking My Economics — Angus Deaton (IMF.org)</strong></a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ab3621d4f33e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Economy that Made the City]]></title>
            <link>https://medium.com/@sergioramos3.sr/the-economy-that-made-the-city-67ee7a26f8aa?source=rss-e158cd48df5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/67ee7a26f8aa</guid>
            <category><![CDATA[history]]></category>
            <category><![CDATA[us-history]]></category>
            <category><![CDATA[texas-history]]></category>
            <category><![CDATA[economic-development]]></category>
            <category><![CDATA[fort-worth]]></category>
            <dc:creator><![CDATA[Sergio Ramos]]></dc:creator>
            <pubDate>Fri, 09 May 2025 15:13:06 GMT</pubDate>
            <atom:updated>2025-05-23T17:03:20.891Z</atom:updated>
            <content:encoded><![CDATA[<p>Fort Worth and the myth of pulling yourself up by your<em> (cowboy)</em> bootstraps <strong><em>(Exploring COFW Part 1 of 3)</em></strong></p><blockquote><strong>This post is part one of a three-part series on the City of Fort Worth.</strong></blockquote><blockquote><strong>In this series I explore the city’s history, recent planning and economic development reports, and its publicly available development permit data to better understand where we’ve been, and where we’re going from here.<br><br>You can read part two </strong><a href="https://medium.com/@sergioramos3.sr/the-quantification-of-our-lives-ab3621d4f33e"><strong>here</strong></a><strong>, and part three </strong><a href="https://medium.com/@sergioramos3.sr/city-of-fort-worth-development-permits-data-analysis-99edb98de4a6"><strong>here</strong></a><strong>.</strong></blockquote><h3>Introduction</h3><p>In my free time, I’ve recently taken up visiting museums like the <a href="https://www.fwmuseum.org/">Fort Worth Museum of Science and History</a>.</p><p>My trips inspired a months-long project to better understand the history of Fort Worth.</p><p>In this post, I will share what I learned, going over how the city was founded and covering the evolution of its economy chronologically.</p><p>I will also highlight relevant historical events and federal investments which played a major role in its success, make a case for the role of societal institutions in economic development, and hopefully dispel the myth that any city (or person) can succeed completely independently.</p><h3>The History of Fort Worth</h3><h3>1836–1853</h3><p>The history of Fort Worth begins in the early 1800s.</p><p>The Industrial revolution was just kicking off, and on the other side of the world England’s East India still had a stronghold in India.</p><p>The United States gained its independence from Great Britain in 1776; and in 1836 Texas broke away from Mexico.</p><p>This exodus was preceded by longstanding tensions between the former state and Mexico, exacerbated by the Mexican government overturning its founding constitution of 1824, and moving to take power away from its states.</p><p>There were abundant natural resources and game animals. Cattle had been brought from Spain in the 1690s, and there was ample grassland for grazing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FgwCTwalgfvfo3bTqzowWQ.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. “Cattle Raisers Exhibit.” Photograph, Fort Worth Museum of Science and History, 4 Aug. 2024.</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_3BI_EY5sP__eI99czd_DQ.jpeg" /><figcaption><strong>Source: </strong>Sergio Ramos. “Cattle Raisers Exhibit.” Photograph, Fort Worth Museum of Science and History, 4 Aug. 2024.</figcaption></figure><p>The area was also situated along a large water source: The Trinity River.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PUrO2dmLBuHQfmO78LsbzQ.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. “Trinity River.” Photograph, Fort Worth, Texas, 09 Oct. 2022.</figcaption></figure><p>These factors all made the area attractive, and in 1840 a settlement named <strong>“Bird’s Fort”</strong> was established three miles east of present-day Birdville.</p><p>The settlement later became formalized under a treaty with native American tribes, who agreed to stay to the west of the area.</p><p>It would be another 5 years after the formation of Bird’s Fort before the United States would annex Texas in 1845.</p><p>As part of the US “picket line” strategy of establishing military forts along the western frontier, the official “<strong>Fort Worth”</strong> was created in 1849.</p><p>And so began a longstanding economic relationship between Fort Worth and the US military.</p><p>In the 4 years the fort was operational, Tarrant country was established, and about 350 early residents arrived, who relied on the military outpost for protection and income.</p><p>In 1853, the fort was vacated as the western frontier moved forward.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FxFK2BKHdGSlyeZIkwgc0A.jpeg" /><figcaption><strong>Source:</strong> “Fort Worth 1849–1853.” Historical Plaque, Downtown Fort Worth, 2006</figcaption></figure><h3>1861–1900</h3><p>Fort Worth was situated along the Chisolm Trail, and was a waystation for cattle drives to railheads in Kansas during the 1850s.</p><p>During the civil war (1861–1865), cattle remained mostly untended and multiplied in Texas due to blockades by the union on the Mississippi as well as local ranchers and cowboys enlisting in the war.</p><p>The <strong>City of Fort Worth</strong> was officially incorporated in 1873, with a population of 500.</p><p>Several early banks were founded throughout the 1870s, that would loan money and contribute to the economic development of the new municipality.</p><p>In 1876 with the arrival of its first railroad, Fort Worth became a <strong>destination</strong> for cattle drives rather than a waystation, and the Union Stockyards were created in 1887.</p><p>Trains displaced cattle drives, and Fort Worth became a hub for cattle trading.</p><p>In 1882, the first free school system began in the city, and in 1890 Polytechnic College was founded. The school still exists today and is now named Texas Wesleyan University.</p><p>In the early days of this era, long before modern infrastructure, something as simple as a bridge could determine the flow of trade.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ca58OZ_SvpugPbXReWxwZg.jpeg" /><figcaption><strong>Source:</strong> “Daggett’s Crossing” Historical Plaque, Fort Worth</figcaption></figure><p>Something we consider trivial today, barbed wire changed our landscape dramatically.</p><p>As time went on, we moved away from sharing an open frontier, to cordoning off slices for our private estates.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XXqxucObRSUaG3qTby1tsg.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. “Cattle Raisers Exhibit.” Photograph, Fort Worth Museum of Science and History, 4 Aug. 2024.</figcaption></figure><h3>1900–1970</h3><p>The early 20th century was a period of rapid growth and change for Fort Worth, as well as the country.</p><p>In 1902, Armour &amp; Co. began construction of a meat packing plant in the stockyards.</p><p>A year later in 1903, the Wright brothers were taking their first flight, followed by Ford’s launch of the Model T in 1908.</p><p>Adoption of the assembly line production method would bring the price down by roughly 2/3 in the coming years.</p><p>This would make cars and trucks more affordable for everyday people, and later prove consequential to the booming cattle industry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IAGOJ_ehfC7jeBwZ5GIB8w.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. “Cowtown Takes Flight” Photograph, Fort Worth Museum of Science and History, 7 Jul. 2024.</figcaption></figure><p>In 1909, the City’s Kessler plan brought the first parks and roads to Fort Worth, and by the 1910 census, the population had increased by 300% due to the impact of the meat packing industry.</p><p>World War 1 broke out in 1914.</p><p>During the war, the United States government created the airmail system to promote the fledgling aviation industry.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yUgjxOTgOEv_-XMkyIin-Q.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. “Cowtown Takes Flight” Photograph, Fort Worth Museum of Science and History, 7 Jul. 2024.</figcaption></figure><p>In 1917, Fort Worth businessman Ben E. Keith lobbied to bring three airfields to the city, along with an international pilot training program for the US and Canada.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U3DZ_qXHZOZJB8OV76rj0g.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. “Cowtown Takes Flight” Photograph, Fort Worth Museum of Science and History, 9 Jun. 2024.</figcaption></figure><p>In October of that same year, oil was discovered in Ranger Texas, a town about an hour outside present-day Fort Worth.</p><p>This marked the beginning of an oil rush in the area, greatly benefitting Fort Worth, which had 8 existing refineries and 4 more underway by 1920.</p><p>Oil money was a boon to DFW overall. It brought bank deposits and new businesses to both cities.</p><p>Office buildings were erected in Fort Worth, and companies like Neiman Marcus in Dallas were thriving with a new affluent customer base for their luxury goods.</p><p>In 1923, the first City Plan Board was created, and two years later the City Plan Commission was established.</p><p>The city had grown from a small military outpost, to livestock industry powerhouse, military contractor, and now a home for oilmen and their wealth.</p><p>One such oilman who amassed a fortune during subsequent boom and bust cycles was Sid W. Richardson. He left his money to his nephew Perry Bass, whose family is still influential in the city to this day.</p><p>Among their many projects in the city, is Bass hall in downtown.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/375/1*sjCxKzB5HpEC5HizZfi1Ug.jpeg" /><figcaption>Bass Performance Hall — Fort Worth, TX</figcaption></figure><p>In the late 1920s, Fort Worth Mayor Henry Clay Meacham worked with the United States army, building an airport to be used for their Model Airway system.</p><p>Later known as Meacham Field, it would serve as a base of operations and transport government officials and cargo.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6W_eeayGYntk6qj9RMrwAQ.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. “Cowtown Takes Flight” Photograph, Fort Worth Museum of Science and History, 9 Jun. 2024.</figcaption></figure><p>The booming city had some advantages in weathering the great depression given all this economic activity.</p><p>More help came from federal initiatives such as the McNary-Watres Act in 1930, and the New Deal in 1933.</p><p>Funds from the latter went towards the construction of the Fort Worth Botanic Garden.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xnEKxwMFsiUP2j6wRis_tg.jpeg" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4THpTuRvkRtZgeJWf40LfA.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. Fort Worth Botanic Garden<em>, Fort Worth, TX</em>. 17 Jul. 2022.</figcaption></figure><p>During the second world war, the city benefited once more from federal investment, with the creation of Air Force Plant 4.</p><p>The jobs created by the plant brought new residents, and it is estimated that during the second World War, <strong>1 in 5</strong> people living in the city were employed by the plant.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ANjs2mK3JW6__ilf3OWvLA.jpeg" /><figcaption><strong>Source: </strong>Sergio Ramos. “Cowtown Takes Flight” Photograph, Fort Worth Museum of Science and History, 7 Jul. 2024.</figcaption></figure><p>The cattle industry also did well, with 5,277,496 head of livestock being processed at the Fort Worth Stockyards, hitting its peak in 1944.</p><p>That high would not last long, however.</p><p>The interstate highway system developed during the war made way for the trucking industry.</p><p>With affordable trucks thanks to Ford, and robust infrastructure to transport cargo, trains were no longer essential for conducting trade.</p><p>As the <a href="https://www.fortworthstockyards.org/history">stockyard’s website</a> puts it:</p><blockquote>“This meant the market moved to the shipper instead of the meat packer, and smaller local livestock auctions and feedlots started drawing business away from central locations like the Stockyards.”</blockquote><p>The stockyards business hit an all-time low in 1986.</p><p>The final major development of this era, which became a key strength for the city into the present day, was the creation of DFW airport.</p><p>The joint effort between Dallas and Fort Worth in 1964 created what is now a major international airport and the 4th busiest in the US in terms of total passenger traffic, according to the <a href="https://www.fortworthtexas.gov/files/assets/public/v/4/ecodev/documents/strategic-plan/strategic-plan-complete.pdf">2017 Fort Worth Economic Development Strategic Plan</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*omPDvMQk4xRC5YI7YgEbYQ.jpeg" /><figcaption><strong>Source:</strong> Sergio Ramos. “Cowtown Takes Flight” Photograph, Fort Worth Museum of Science and History, 9 Jun. 2024.</figcaption></figure><p>As the 21st Century arrived, Fort Worth would have to face new challenges, take stock of its economy, and make a conscious effort to drive its growth and evolution.</p><p>In part two, we will dive into its current state and future plans.</p><h3>Conclusion</h3><p>Fort Worth started off as a military outpost located along a river.</p><p>It transformed into a stop along the trail for cattle drives; then into a hub for the cattle industry with the arrival of railroads, the stockyards and meat packing plants.</p><p>The city benefited from an oil boom, and military contracts during two consecutive world wars which helped cement the aerospace industry as a mainstay of its economy.</p><p>From the beginning, Fort Worth benefited from federal investment.</p><p>The US military provided protection and work for its earliest citizens. The city profited from money that flowed into railroads, air mail, military contracts, and roads.</p><p>New Deal funds found their way here, and to this day <a href="https://www.nbcdfw.com/news/local/fort-worth-city-leaders-to-break-ground-on-new-phase-of-transformation-in-stop-six/3631344/">federal grants</a> are a funding source for some city initiatives.</p><p>At the local level, banks played a major role in investing in upstart businesses; and the city played an active role in providing necessary infrastructure to serve residents and facilitate trade.</p><p>To me this story illustrates the importance of societal institutions, as argued by the winners of the <a href="https://www.nobelprize.org/prizes/economic-sciences/2024/press-release/">2024 Nobel Prize in Economic Sciences</a>:</p><blockquote>“The introduction of inclusive institutions would create long-term benefits for everyone, but extractive institutions provide short-term gains for the people in power.”</blockquote><p>I believe Fort Worth did not pull itself up by its proverbial bootstraps.</p><p>Its success was found at the intersection of geography, history, federal investment, and local institutions.</p><p>For a country, a city, a citizen, long term planning, collaboration and investment for the greater good are necessary if we have any hope for continued prosperity.</p><h3>Sources</h3><p>All of my sources referenced for this three-part series, along with my code for the data analysis I conducted can be found on GitHub at <a href="https://github.com/0sergio-hash/COFW_Development_Permits_Data_Analysis">this link</a>.</p><h3><strong>Bonus: Further reading/listening/learning</strong></h3><p>As if this long article wasn’t enough, here are some additional goodies you can check out !</p><p>From directly to tangentially related, I think these are all super interesting.</p><ol><li>An interview with the 2024 Nobel Prize in Economic Sciences winners: <a href="https://open.spotify.com/episode/1vF3odUzJuyOk0eroVGS1L"><strong>A Nobel prize for explaining why there’s global inequality (Planet Money)</strong></a></li><li>A podcast episode on the history of air travel: <a href="https://www.youtube.com/watch?v=f4CGIraAX7Q"><strong>A Brief History of Air Travel (Stuff You Should Know Podcast)</strong></a></li><li>A podcast episode on Henry Ford: <a href="https://www.youtube.com/watch?v=v9HUfy3Aqq8"><strong>Henry Ford: The Good, Bad and Ugly</strong></a><strong> (Stuff You Should Know Podcast)</strong></li><li>A super interesting episode on the history of how we handled banking and currency in the US: <a href="https://www.npr.org/2024/07/30/1253934835/invention-of-the-dollar-bill"><strong>History 4: Banker vs president and the birth of the dollar (Planet Money)</strong></a></li><li>A fascinating book that gives a scientific lens to history: <a href="https://bookshop.org/p/books/accessory-to-war-the-unspoken-alliance-between-astrophysics-and-the-military-avis-lang/8752115?ean=9780393064445&amp;next=t"><strong>Accessory to War — The Unspoken Alliance Between Astrophysics and the Military (Avis Lang, Neil Degrasse Tyson)</strong></a></li><li>There is much more to history than I can cover in one post. This series and other history series by this channel are a great way to learn more: <a href="https://www.youtube.com/playlist?list=PL8dPuuaLjXtNNaritQa7QqwEJeQHH0TxX"><strong>Native American History (Crash Course)</strong></a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=67ee7a26f8aa" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Self Taught Reviews: Fundamentals of Data Engineering by Joe Reis and Matt Housley]]></title>
            <link>https://medium.com/@sergioramos3.sr/self-taught-reviews-fundamentals-of-data-engineering-by-joe-reis-and-matt-housley-36b66ec9cb23?source=rss-e158cd48df5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/36b66ec9cb23</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[book-review]]></category>
            <category><![CDATA[business-analysis]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-analysis]]></category>
            <dc:creator><![CDATA[Sergio Ramos]]></dc:creator>
            <pubDate>Fri, 17 Jan 2025 15:22:23 GMT</pubDate>
            <atom:updated>2026-07-30T14:16:32.919Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="Book cover featuring a small bird, the book’s title and author names" src="https://cdn-images-1.medium.com/max/398/1*Bb6coByhHOMuDe6ThSMrqg.jpeg" /><figcaption><a href="https://bookshop.org/a/126759/9781098108304/">Fundamentals of Data Engineering, 1st Edition by Joe Reis and Matt Housley</a></figcaption></figure><h3>Introduction</h3><p>I think it is helpful to contextualize my review by sharing where I was in my career when starting this book.</p><p>I am self-taught and entered the data field during the pandemic.</p><p>I spent 6 months doing an application support engineer position, before becoming a data analyst for about 3 years.</p><p>In my experience I was spending most of my time gathering requirements, and writing SQL, plus doing some analysis in excel and occasionally writing a little Python.</p><p>I was officially called a data engineer, though the extent of my engineering was scheduling Juptyer notebooks and writing some SQL transformations.</p><p>I encountered plenty of issues discussed in this book without knowing what the terms were for them.</p><p>I found myself writing data refresh logic in my notebooks, because pipelines would break without our upstream teams being aware of it (<em>Data Monitoring</em>).</p><p>I had to scrub special characters, change data types, and ignore fields altogether because they were freeform in the source system when they should have been in a drop-down (<em>Data Quality</em>).</p><p>I found myself pushing business logic upstream to source systems.</p><p>This is preferable, because, at a large company, other teams will report on your data without telling you.</p><p>Consequently, they will be unaware of any hard coded business logic in SQL queries you use for reporting (<em>Data Governance</em>).</p><p>I was helping a coworker with a project for months, and kept struggling to figure out a solution to their problem.<br> <br>They needed to report on multiple dimensions of business entities, legal entities, geographies, and other attributes in an interconnected and nested way that was not represented in any existing dataset(s) at the time.</p><p>I could not think of a way to source and organize all of the information that would facilitate the sort of reporting that was being required.</p><p>As I read this book I thought: “Oh sh*t, that was a <em>Data Modeling</em> problem!”<br>Welp, too late now haha. We’ll get em’ next time.</p><p>I left that job partly because I’d gotten bored with data analysis, and felt I’d hit a ceiling with my development.</p><p>I left without much of a backup plan besides learning and job hunting.</p><p>So, I started reading every morning, and Fundamentals of Data Engineering was the second book I picked up.</p><p>This book was exactly what I needed to get a lay of the land for the field of data engineering and contextualize my future learning and development in this area.</p><h3>Who this book is for</h3><p>This book is a very popular and well known title in the data space, written by two individuals with decades of experience.</p><p>When trying to figure out how to learn data engineering, I saw it recommended over and over.</p><p>Having read it, I can say its objectively a good book in the sense that it is well written and provides valuable and accurate information.</p><p>Whether <strong>you </strong>in particular get value from and enjoy this book will come down to where you are in your journey with data engineering and some preferences you have around learning.</p><p>Let’s tackle the latter first with a couple of stories.</p><p>A few years ago, I was having a meal with a friend. She asked if I wanted to put on a podcast for us to listen to together while we ate.</p><p>A short moment later, we were listening to the host of “<a href="https://www.philosophizethis.org/">Philosophize This</a>” lay out the historical context of a great thinker; as well as the other thinkers’ ideas they were responding to at the time.</p><p>She said: <em>“Oh my goodness, how can you listen to this? He’s just going on and on. I like my educational content to just be straight facts. Bullet point, bullet point, bullet point. I can’t stand all the extra talking.”</em></p><p>That brings us to my first point about learning style: In my humble opinion, this book is verbose. Which is not a bad thing if you’re like me and enjoy that sort of thing.</p><p>The authors describe the history of the data engineering field and its various stages. They talk about how various advancements in technology changed the field over time.</p><p>The book re-visits ideas throughout, and drives its points home in great detail and with plenty of visual aids.</p><p>Each idea tends to get its own illustration. (I thought I wouldn’t like this at first. But skimming headings and illustrations in this book make reviewing a topic a breeze.)</p><p>My second story is a lot more recent.</p><p>One evening, after a local data meetup, I was discussing this book with another attendee who was already working as a data engineer and they said <em>“I couldn’t get through it. It was way too basic and full of stuff I already knew. It wasn’t very technical.”</em></p><p>And everywhere I’ve looked, that is the most common critique I’ve heard about the book.</p><p>My second point about learning style relates to that critique, and it’s one I mentioned in <a href="https://medium.com/@sergioramos3.sr/self-taught-reviews-web-scraping-with-python-by-ryan-mitchell-fe4899cb868e">my review of Web Scraping with Python</a>:</p><p>I am always game to revisit the basics. I love to re-learn topics from multiple authors and perspectives.</p><p>But, some people would prefer to re-read whatever book taught them the basics, or not review them at all. And as this is a pretty comprehensive book, you are in for some review if you know anything about the space.</p><p>Which brings us nicely to our last point about where you might be professionally, and the value you’d get from this book:</p><p>The author’s go to great lengths, I believe, to tell us that the book is for anyone who has an interest in data engineering, works with data engineers, or data engineers looking to fill in the gaps in their knowledge.</p><p>Here is how they describe who the book is for on one site:</p><blockquote>“Our primary intended audience for this book consists of technical practitioners, mid- to senior-level software engineers, data scientists, or analysts interested in moving into data engineering; or data engineers working in the guts of specific technologies, but wanting to develop a more comprehensive perspective.</blockquote><blockquote>Our secondary target audience consists of data stakeholders who work adjacent to technical practitioners — e.g., a data team lead with a technical background overseeing a team of data engineers, or a director of data warehousing wanting to migrate from on-premises technology to a cloud-based solution.”</blockquote><p>In the conclusion of the book, they describe it as a sort of <em>“travel guide”</em> for the field, which I feel is an apt description as well.</p><p>I feel like the critiques that the book is not technical enough or is too basic are silly.</p><p>The book is not marketed as a highly advanced or technical book.</p><p>It’s called <em>“Fundamentals of Data Engineering”</em>, not<em> “Rocket Science of Data Engineering”</em>.</p><p>If you like a more comprehensive and contextualized look at a topic, enjoy learning the theory behind the application, and don’t mind review and repetition, I think you will greatly enjoy this book.</p><p>If you are a seasoned data engineer, and feel you would rather not tread over old ground, if you prefer to learn in a targeted way for a specific task at hand, or if you prefer a didactic over a narrative writing style, you might not have a great time.</p><h3>Inside the Book</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/798/1*wrpp_CVV6gUOaDhxZ8kXrQ.png" /><figcaption>The Data Engineering Lifecycle | Source: Fundamentals of Data Engineering</figcaption></figure><p>Fundamentals of Data Engineering is organized around the “Data Engineering Lifecycle”.</p><p>The aim of the lifecycle is to provide a map of the different areas of work a data engineer — or engineering team — will need to engage in.</p><p>The authors created this framing as a way to abstract away more transient factors in a data engineer’s job like specific databases and software.</p><p>CRMs and other source systems will come and go, but arguably data will always have to be generated for there to be any work to be done.</p><p>APIs or flat files may evolve or go away, but we’ll be moving data out of source systems for our own use elsewhere for a long time to come.</p><p>I really like this approach. As the author’s themselves point out, books about a specific technology have a short shelf life.</p><p>When I was first getting into data, I read the second edition of <a href="https://nostarch.com/automate-boring-stuff-python-3rd-edition">Automate the boring stuff with Python</a>.</p><p>As of this writing, the third edition is now on pre-order, roughly six years after its predecessor. The first edition came out only four years before that.</p><p>In ten years, there’s been three editions of that book!</p><p>I won’t even consider a new tech book if it hasn’t come out in the last 5 years; or doesn’t at least have a few editions so I know the author cares enough to keep it up to date.</p><p>Fundamentals of Data Engineering begins with a high level overview of the field, each stage of the data engineering lifecycle, tips on data architecture and choosing technologies across the data stack.</p><p>Then, each stage of the lifecycle gets its own chapter, followed by some closing thoughts on the future, and appendixes with more technical detail on a couple topics.</p><p>Each chapter on a specific stage examines how the undercurrents (common activities across stages) intersect with that stage.</p><p>This could be the specific security concerns around ingestion, data management best practices when serving data, etc.</p><p>There is an exploration of the way things were done historically, and current best practices, as well as an emphasis on first principles thinking and approaches to architecting each stage in a technology agnostic way.</p><p>The authors do a great job at translating abstractions and explaining the real-world nuts and bolts of many buzzwords we take for granted.</p><p>Below is just one example of this in the chapter on data storage.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/619/1*KRGXwDDLfC_J59UFQdZBrA.png" /><figcaption>Storage Abstractions | Source: Fundamentals of Data Engineering</figcaption></figure><p>They go into great, painstaking detail on every topic, and I found myself reviewing the high level ideas I learned any given day multiple times.</p><p>For reference, I was reading about 10 pages each morning with my daily coffee.</p><p>I wasn’t working, so no meetings and projects were taking up space in my head, and for all intents and purposes, I had my full attention to devote to this book.</p><p>Even then, I had a hard time digesting more than 10 pages of information a day.</p><p>I learned all the basic data engineering vocab and common questions you may get asked by recruiters.</p><p>The book defines ACID, CRUD, Normalization, OLAP vs OLTP, streaming vs batch, etc.</p><p>None of these were as intimidating as I first thought they would be.</p><p>Here is one of one of my favorite examples from the book — which, <a href="https://www.youtube.com/watch?v=nof9jYIhv54">this</a> video served as a great primer for by the way — , in which the authors walk through an example of normalizing a dataset step by step.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/769/1*ptr3kknKV1ixjmqomcTW9w.png" /><figcaption>Example of normalization | Source: Fundamentals of Data Engineering</figcaption></figure><p>Reading this chapter gave me confidence I had a good basic understanding of the concepts around data modeling and the high level differences between Inmon, Kimball, and Data Vault.</p><p>The book covers how optimizing queries and databases works in practice, and why those activities can provide massive cost savings.</p><p>I had coffee with another friend recently who’s a data engineer, and was actually able to follow along with his explanation of how he optimized his company’s database, purely from reading this book!</p><p>I also found paperback to be really well formatted and easy to read. <br>The text was in manageable chunks and a great font size.</p><p>If you plan to read such a hefty book, it starts to make a huge difference how easy it is to actually physically read the thing.</p><p>There is so much good information packed in, it feels hard to do it all justice in this one review.</p><p>The final point I will make, is that I am already considering coming back to this book in audio form at some point in the future to refresh my knowledge and hopefully absorb some of what I didn’t get on the first read through.</p><p>And, its organized in such a way, I will definitely be using it as a reference guide as I push to take on more data engineering projects in my future roles, and try to move my career into that direction.</p><h3>Conclusion</h3><p>Fundamentals of Data Engineering is a great book for anyone looking for an exhaustive guide to the field of Data Engineering.</p><p>If you enjoy a more “overexplained” and thorough approach, and are looking for a framing of DE that can underpin future learning or contextualize what you already know, you will enjoy this book.</p><p>It dedicates ample time and space to each topic, giving historical context and practical considerations, as well as further reading suggestions.</p><p>If you prefer a more condensed, or less narrative writing style, are not keen on reviewing some topics you may have already learned, or are looking for a guide on a specific tool or tech stack, this might not be the right pick for you.</p><h3>Companion resources and further reading</h3><p>As I was reading the book, I kept making connections to other content that I think would complement it really well!</p><p>Some of these suggestions are explicitly data related, others more general comp sci, and others are only tangentially related but oh so interesting.</p><p>Hope you enjoy!</p><h4>Data and tech suggestions</h4><ol><li>This interview gives a great history of the data industry and features the creator of Inmon data modeling: <a href="https://open.spotify.com/episode/3LAeRiAEB57haj4CqkTNLo"><strong>Bill Inmon — History Lessons of the Data Industry (The Joe Reis show)</strong></a></li><li>This interview touches on navigating your data engineering career: <a href="https://www.youtube.com/live/FBxZq15pUIg?si=1Hn7JDKmmAsppqun"><strong>Seattle Data Guy Live with Zach Wilson</strong></a></li><li>This interview will give you great perspective on what “strategy” means for a data leader: <a href="https://www.youtube.com/live/pr-yVGmfmxs?si=qiTVVk8v6XwvQcm7"><strong>Seattle Data Guy Live with Chad Sanderson</strong></a></li><li>Great companion for the chapter on storage, and a general refresher on Comp Sci: <a href="https://www.youtube.com/watch?v=tpIctyqH29Q&amp;list=PL8dPuuaLjXtNlUrzyH5r6jN9ulIgZBpdo"><strong>Crash Course — Computer Science</strong></a></li><li>A great way to dig deeper on one form of data ingestion: <a href="https://medium.com/@sergioramos3.sr/self-taught-reviews-web-scraping-with-python-by-ryan-mitchell-fe4899cb868e"><strong>Web Scraping with Python</strong></a></li></ol><h4>General suggestions</h4><ol><li>This book is a fun companion that will give you an idea of how advances in technology affected the music business via the live show industry. <br>Data access and ownership come up as big points of contention amongst promoters/venues and digital ticketing companies (before they merged). <br>Also, as you’ll see in this book and in Fundamentals of Data Engineering, IBM is everywhere: <a href="https://bookshop.org/p/books/ticket-masters-the-rise-of-the-concert-industry-and-how-the-public-got-scalped-dean-budnick/9383782?ean=9780452298088"><strong>Ticket Masters: The Rise of the Concert Industry and How the Public Got Scalped</strong></a></li><li>This book is an awesome companion to Fundamentals. It has great examples of how restrictive memory used to be, and some clever workarounds employed by a renowned game designer, plus a great general history of the gaming industry: <a href="https://bookshop.org/p/books/sid-meier-s-memoir-a-life-in-computer-games-sid-meier/16712356?ean=9781324005872"><strong>Sid Meier’s Memoir!: A Life in Computer Games</strong></a></li><li>This book is the story behind one of the largest companies left over from the dot com era, PayPal. A great way to learn more about the early internet age and products in it that created big data as we know it: <a href="https://www.linkedin.com/posts/sergio-ramos-analyst_paypal-books-businessbooks-activity-6991849340776456192-Mn7L?utm_source=share&amp;utm_medium=member_desktop"><strong>The Founders: The Story of Paypal and the Entrepreneurs Who Shaped Silicon Valley</strong></a></li><li>This video of from a YouTube series called “Mind Field”. It is an all time favorite of mine, and it features various episodes on AI concepts amongst other topics.<br>In this episode, the host attempts to reproduce a human neural network to illustrate how neurons work together; and of course touches on recent AI advancements: <a href="https://youtu.be/rA5qnZUXcqo?si=PwNs02hhyR1D8yL3"><strong>The Stilwell Brain — Mind Field (Season 3, Episode 3)</strong></a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=36b66ec9cb23" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Self Taught Reviews: Web Scraping with Python by Ryan Mitchell]]></title>
            <link>https://medium.com/@sergioramos3.sr/self-taught-reviews-web-scraping-with-python-by-ryan-mitchell-fe4899cb868e?source=rss-e158cd48df5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe4899cb868e</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[book-review]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Sergio Ramos]]></dc:creator>
            <pubDate>Tue, 05 Nov 2024 15:52:07 GMT</pubDate>
            <atom:updated>2026-07-30T14:17:22.475Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/339/1*AVHQ8mJzDrPQLPLJNFWajg.jpeg" /><figcaption><a href="https://bookshop.org/a/126759/9781098145354">Web Scraping with Python, 3rd Edition by Ryan Mitchell</a></figcaption></figure><h3>Background</h3><p>When I was first getting into the field of data analytics, I took many courses and did a bunch of projects to try to get my newfound skills to stick.</p><p>Among them was a <a href="https://github.com/0sergio-hash/Meal-Plan-scraping-project/blob/main/get_meals_generic.py">web scraping project</a>. I created a script in python to extract my meal plan from the app/site I used and write it to a word doc for easy reference during the week.</p><p>I had no idea what I was doing. I just kept searching the internet for answers to individual problems I encountered and stumbled my way into working code (working to this day, thank you very much).</p><p>For a long time I could not understand <strong>why </strong>I kept having certain issues with scraping, or even what practices and tools I should be attempting to learn.</p><p>I kept seeing content in the browser, but not in BeautifulSoup, or looking at the developer tools tab, lost as to what all the HTML meant, and what kind of elements I should be selecting.</p><p>All of the information online about the topic felt very piecemeal. One-off techniques here and there without any context or theory.</p><p>It was like being able to change a part on a car but having no idea what the part does, or why it might have malfunctioned.</p><p>After some searching, I found <a href="https://www.oreilly.com/library/view/web-scraping-with/9781098145347/?_gl=1*1110osg*_ga*NzAwMTQwMDE2LjE3MzAzODQ2NDQ.*_ga_092EL089CH*MTczMDM4NDY0My4xLjEuMTczMDM4NDY1Ni40Ny4wLjA.">Web Scraping with Python</a> by Ryan Mitchell.</p><p>This book was everything I was looking for! It promised a full end to end explanation of web scraping, and an overview of the practices associated with it.</p><p>I have spent the last couple months reading it, and wanted to share my thoughts on it with you.</p><h3>Who this book is for</h3><p>The author makes it very clear at the beginning of this book that it is not intended for a reader without an understanding of programming and/or python.</p><p>This book makes heavy use of objects and functions, as well as libraries within python.</p><p>While I firmly believe you can get value from <strong>anything</strong>, regardless of your skill level going in, you would be best served to get some python 101 under your belt before diving in here.</p><p>There are two books I have also read, that I think would be especially useful in getting you prepared to read Web Scraping with Python:</p><ol><li><a href="https://nostarch.com/automate-boring-stuff-python-3rd-edition">Automate the Boring Stuff with Python by Al Sweigart</a></li><li><a href="https://nostarch.com/beyond-basic-stuff-python">Beyond the Basic Stuff with Python by Al Sweigart</a></li></ol><p>Both of these books are published by No Starch Press, and also made available completely for free an the author’s website: <a href="https://inventwithpython.com/">https://inventwithpython.com/</a></p><p>The first covers python basics, as well as many libraries for automating tasks, including the one I used for Word.</p><p>The second book covers the object oriented programming side of python, as well as best practices for writing clean, “pythonic” code.</p><p>Both have amazing code examples and practice questions. I can’t stress enough how thorough they were in making sure these books were high quality and accurate.</p><h3>What I liked</h3><h4>Great explanation of theory</h4><p>This book really shines in its explanation of underlying concepts, history and theory.</p><p>I was pleasantly surprised by how comprehensive the work was in the subject matter it covered.</p><p>The book starts with three excellent chapters that get you up to speed on the architecture of the internet, its legal implications, and use cases for web scrapers, which help contextualize the techniques taught in the remainder of the book.</p><h4>Thorough introduction to web scraping techniques</h4><p>The author covers methods and techniques for accomplishing tasks from performing calls to extract a single element from a static page, to handling dynamically created content, internal APIs, beating a CAPTCHA , and writing web crawlers!</p><p>Towards the end, there is a chapter on common traps sites set up to deter web scraping, and how to get around them, should you run into any unexpected obstacles.</p><p>There are sections on websites and third party providers of web scraping services as well, which I found extremely helpful.</p><h4>Bonus topics</h4><p>The author discusses data modeling and data cleaning, as well as setting up and connecting python to MySQL; accompanied by code examples for reading and writing to a database while performing web scraping.</p><p>I fond those sections especially interesting as a data analyst looking to get more technical and head into the data engineer / full stack analytics engineer domain.</p><p>The book touches on some unexpected, but fascinating topics such as the history and differences of text encoding formats such as ASCII, UNICODE, and UTF.</p><p>There is a chapter on natural language processing techniques — very relevant in this Gen AI bubble we’re in — such as bigrams, Markov chains, and Lexicographical analysis using the python NLTK library.</p><p>This section will definitely be a reference for me in the future as it has great example code for cleaning up text, removing commonly used words, and analyzing the patterns within.</p><p>There was also a review of Regex, which I always appreciate revisiting and re-learning from a new perspective.</p><p>Text analysis can be powerful. For example, I will be analyzing my “To be read” list in the future. Removing common words, and analyzing how often others occur in book titles can help illustrate what topics I am most interested in.</p><h3>My unsolicited critiques</h3><blockquote>I just want to preface this bit here by saying that all of the points I am about to make are nit-picky at <strong>best</strong>.</blockquote><blockquote>I always get annoyed watching reviews of products where the widget is obviously amazing, but the reviewer is making a big fuss because it doesn’t come in a specific shade of burnt orange or whatever.</blockquote><blockquote>All these points are simply places where I think a future edition could improve on an already great book. But none of these should deter you from picking up a copy.</blockquote><h4>Typos</h4><p>If I were asked what I think should go into the fourth edition of this book, I’d implore the publisher to please address typos.</p><p>Most books have at least one or two, but I found easily half a dozen. It makes me feel as though this book was rushed a bit.</p><p>This carries over to the sample code. Some examples had imports missing, misnamed variables, or examples from the print edition were absent entirely.</p><h4>Sample code</h4><p>Some of the chapters relied on a site the author set up, in order to have a controlled environment to run the example code so it would always work.</p><p>I love this concept, and hope in a future edition, some more time can be put into setting up most if not all of the lessons with sample pages on there.</p><p>Some examples may not be practical to recreate (like dozens of pages to demonstrate a web crawler), so there may be a limit on this of course.</p><p>While on the topic of sample code, I would like to see some indicator when code is more of a pseudo-code example as opposed to working, complete code the reader is supposed to run.</p><h4>Content Structure</h4><p>I think the order of the chapters could be revisited, and potentially re-imagined, guiding a reader through building progressively more complex projects.</p><p>Code samples tend to demonstrate only <strong>new</strong> concepts, rather than combining them with those covered in earlier chapters.</p><p>I would love to see at least one robust and complete script per level of complexity or project type to demonstrate all of the topics covered so far working together.</p><p>The book gets on and off this path, and I just feel that at its current stage it is more of a textbook than a workbook.</p><p>That is not necessarily a bad thing. The workbook may be a separate book entirely, but I do enjoy a workbook approach; and it can be more helpful for hands-on learners.</p><p>Additionally, while I know code may become outdated, I’d love to see full scripts the author has written to scrape popular sites like Amazon etc. Even if just for reference, I think those would be a valuable addition.</p><p>I believe they do quite a bit of freelancing in this space, so I am sure there is some code they could refactor to share with us readers.</p><p>I think the chapters on storage, natural language analysis, and other topics could be move to the end. Although I can see the argument for them being placed where they were.</p><h4>Possible additions to the book</h4><p>I would really appreciate a complete section on the author’s approach to deciding which technique(s), data model, etc. are right for a given job; and when they would choose scraping an API over selenium for example.</p><p>I also think that Google Sheets would make a great addition into the mix of tools.</p><p>Google sheets supports web scraping with a few functions, including <a href="https://support.google.com/docs/answer/3093342?hl=en">importxml()</a>. I have been able to use it to pull data from TikTok videos !</p><p>It can sometimes be quicker and easier to drop in a function and pull data directly into a spreadsheet, since that is where it will likely end up anyway.</p><p>Here are some examples of what that function looks like in action, assuming you have a video URL in column B.</p><p><strong>Comments:</strong></p><pre><br>=IFERROR(IMPORTXML($B2, &quot;//strong[@data-e2e=&#39;comment-count&#39;]&quot;), &quot;N/A&quot;)</pre><p><strong>Likes:</strong></p><pre>=IFERROR(IMPORTXML($B2, &quot;//strong[@data-e2e=&#39;like-count&#39;]&quot;),&quot;N/A&quot;)</pre><p><strong>Bookmarks:</strong></p><pre>=IFERROR(IMPORTXML($B2, &quot;//strong[@data-e2e=&#39;undefined-count&#39;]&quot;), &quot;N/A&quot;)</pre><h3>Final Thoughts</h3><p>If you know python and have an interest in learning web scraping, you should absolutely grab a copy of this book.</p><p>Approach the book as an exploration of the theory and history behind the modern web, and all the tools and techniques to extract data from it.</p><p>Know that this book will not provide you fully functioning scripts, but it will have some useful illustrative code examples to reference, and working code snippets to put together or incorporate into your own projects.</p><p>It will serve as a handy reference guide when you run into issues in your web scraping projects, and give you keywords to search in order to find more information.</p><p>Web scraping is a valuable skill, and this book will put you well on your way to writing your very first web scraper !</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe4899cb868e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Music marketing analysis Excel dashboard]]></title>
            <link>https://medium.com/sergio-ramos-data-portfolio/music-marketing-analysis-excel-dashboard-634424dbfed8?source=rss-e158cd48df5e------2</link>
            <guid isPermaLink="false">https://medium.com/p/634424dbfed8</guid>
            <category><![CDATA[excel-dashboard]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[marketing-analytics]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[music-business]]></category>
            <dc:creator><![CDATA[Sergio Ramos]]></dc:creator>
            <pubDate>Wed, 11 Sep 2024 15:48:46 GMT</pubDate>
            <atom:updated>2024-09-11T15:48:46.138Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*U8ulWyTjRNKls7U5UL3FbA.png" /><figcaption>Finished dashboard, showcasing campaign metrics</figcaption></figure><h3>Background:</h3><p>Becoming a full-time musician is one of the historically most difficult things to do.</p><p>Until recently, the only way to get your music out into the world was through a major label.</p><p>However, in the digital era, things have changed. It is now cheaper than ever to record, distribute, and market an artist’s music.</p><p>Artists are becoming more business savvy, and companies like <a href="https://indepreneur.io/about-us/">Indepreneur</a> are popping up to teach artists marketing techniques employed on behalf of major labels by marketing agencies (like their agency arm IndieX).</p><p>This empowers artist’s to take charge of their own fan base growth and build their own marketing funnels.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/645/1*BRDedO-mfgeSKa1oleI3iw.png" /><figcaption>Musician marketing funnel example</figcaption></figure><p>Above is an example of one such funnel.</p><p>The thinking goes that a listener/fan journey will naturally progress from first impression, to listening to the artist and consuming their content, to eventually being retargeted to be put into an owned channel like email.</p><p>The fan may be made a freebie offer to join a list, or even added via an initial sales campaign with a <a href="https://powerdigitalmarketing.com/blog/what-is-a-tripwire/">tripwire offer</a>.</p><p>From there, the relationship is kept warm with regular emails, and the fan’s LTV (Life Time Value) grows through a cadence of sales campaigns much like any other e-comm business.</p><p>To introduce new listeners to an artist at the “top of funnel”, they might employ a campaign that:</p><ol><li>Reaches them using the Meta ads platform with a call to action to click a link to their full song</li><li>Sends them to a landing page where they can click out to a streaming platform of their choice</li></ol><p>For this project, I analyzed the results of one such campaign over the course of a few months, focusing on results from a test over the course of two weeks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/673/1*hTftgIW4pX7Y8x9GJkpYQg.png" /><figcaption>Meta Campaign structure</figcaption></figure><p>Above is a quick visual representation of how ads are structured in Meta.</p><p>Note that the budget is often set at the Ad set level, but for this campaign, the artist used <a href="https://www.facebook.com/business/help/153514848493595?id=629338044106215">campaign budget optimization</a>.</p><p>Simply put, with CBO, Meta allocates budget across <strong><em>Ad Sets </em></strong>based on where the best performing <strong><em>Ads</em></strong><em> </em>are housed.</p><p>And by default, Meta will then focus spend further to the best performing <strong><em>Ads </em></strong>within that set.</p><p>During this two week period, there were two ad sets going.</p><p>One contained creative which was already working well for the artist, and the other contained new short form videos they were testing.</p><p>If the new, testing ad set took most of the spend away from the incumbent ad set, the top performing video clip would be moved over to the winner’s ad set, and the test ad set would be shut off.</p><p>Otherwise, the testing Ad Set would simply be shut off as a failed test.</p><h3>Data Sources:</h3><p>For this project, I did a manual export from several platforms.</p><ol><li>Campaign data from the Meta ads platform</li><li>Website visit data from Google Analytics at the daily level per page</li><li>Spotify data at the song level for streams of each song day by day</li><li>Spotify data at the account level for account metrics</li></ol><h3>Data cleaning and modeling:</h3><p>Data cleaning was pretty straightforward. The only major challenge I faced was re-formatting dates I imported from Google analytics.</p><p>I turned each source into a table, and used Power Pivot to create a data model, to be able to analyze across datasets.</p><p>I added a “Dates” and a “Songs” tables to use as drivers for filters.</p><p>Then, I enriched campaign data. Since each ad name contained the song name it was for, a simple function in excel was able to handle this.</p><pre>=IFS(ISNUMBER(SEARCH(&quot;Crush&quot;, [@[Ad name]], 1)), &quot;Crush&quot;,<br>     ISNUMBER(SEARCH(&quot;Be up&quot;, [@[Ad name]], 1)), &quot;Be up&quot;,<br>     ISNUMBER(SEARCH(&quot;Closure&quot;, [@[Ad name]], 1)), &quot;Closure&quot;,<br>     ISNUMBER(SEARCH(&quot;Belong in LA&quot;, [@[Ad name]], 1)), &quot;Belong in LA&quot;,<br>     ISNUMBER(SEARCH(&quot;Muddy water&quot;, [@[Ad name]], 1)), &quot;Muddy water&quot;,<br>     ISNUMBER(SEARCH(&quot;WYSHOY&quot;, [@[Ad name]], 1)), &quot;WYSHOY&quot;,<br>     ISNUMBER(SEARCH(&quot;Swim&quot;, [@[Ad name]], 1)), &quot;Swim&quot;,<br>     ISNUMBER(SEARCH(&quot;Repeat&quot;, [@[Ad name]], 1)), &quot;Repeat&quot;,<br>     ISNUMBER(SEARCH(&quot;Voicemail&quot;, [@[Ad name]], 1)), &quot;Voicemail&quot;<br>)</pre><p>I was then able to tie all the sources together in a data model, creating relationships among them, so that when I filtered the final dashboard, metrics would change dynamically:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZOeoOUgXHxjUnCEVEHvEfQ.png" /><figcaption>Final Power Pivot data model diagram</figcaption></figure><h3>Results:</h3><p>After cleaning and modeling the data, I was able to create pivot tables from it, organized in a “Details” tab.</p><p>I used those pivot tables to create charts, and an interactive dashboard with a navigation pane.</p><p>You can check out the final dashboard <a href="https://1drv.ms/x/c/76b2e24c4b6249b6/EU5umN6e4HlEnQT_axguVlIBNNe49lHyVgKm8caMQTEjmQ?e=Wf4jUE">here</a>.</p><h4>Share of spend</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IlY9YpB2ZZh5E3tFkUwv7w.png" /><figcaption>Results by Ad Set and Ad over the two week testing period</figcaption></figure><p>The first thing I noticed, was that this was the first testing Ad Set to take a significant share of Ad spend since starting this campaign.</p><p>The benchmarks I have heard for what counts as a <em>“significant” </em>share of spend by a testing Ad Set have been between 50% and 80%.</p><p>For this artist, I knew that 37% was high for them, and had the added context that clips from this song had performed well on at least one platform organically.</p><p><strong>Takeaway:</strong> Ultimately, I made the decision the move over the winning creative. But, in future tests, we might adhere more to those benchmarks.</p><h4>Cost per result</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9YsNsD7lJ1vZECtTrISZoA.png" /><figcaption>Cost per result average and trend</figcaption></figure><p>In terms of cost per result, I have heard a benchmark of &lt; $0.30 cost per view content (click to the webpage, followed by clicking a link out to streaming which we have set up as an event in Meta).</p><p>The two week testing period had an average of $0.71, with an average for the campaign of $0.70, which leaves room for improvement.</p><p><strong>Takeaway: </strong>This is likely a timing or content issue.</p><p>Timing, we cannot control. But, the artist can continue to improve their music and content to continue to improve these figures.</p><h4>Overall Spotify trends</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n2YtxkZ5Ej9c75W9W5VO8g.png" /><figcaption>Overall profile trends April-August 2024</figcaption></figure><p>I included exports at the profile level for the artist to get additional context for how their audience as a whole is growing on Spotify.</p><p>Since the campaign leads listeners to a Spotify playlist of all their music, new listeners may not show up in the target song(s) from the ads.</p><p>Additionally, the results from the campaign alone do little to shed light on how new fans are engaging with the artist once they have discovered them.</p><p>Their followers, listeners and streams have been gradually growing over time, which is a positive indicator that the traffic being sent to the platform is likely to resonate with the artist.</p><p><strong>Takeaway: </strong>These broader trends in audience growth show that the people who are being reached enjoy the artist, and stick around to engage with them past their initial exposure through the ad campaign.</p><h3>Conclusion:</h3><p>At the end of this analysis, it is clear to me that this campaign is having an impact. The content is engaging new listeners and making them stop to watch.</p><p>They are compelled enough to click TWICE to get to the artist’s music on streaming, and are engaging meaningfully with the artist’s catalog.</p><p>There is also a lot of room for improvement.</p><p>The best course of action to follow here is to continue to create and improve the music and content surrounding it.</p><p>This process will allow for opportunities for ongoing tests like this one on a regular basis, leading to stronger performance and more growth of the fanbase.</p><p>The focus for the act should remain on this front, until they see a very meaningful improvement in these metrics, and more qualitiative engagmenet with the content.</p><p>At that point, they can start to consider strategies for monetizing their newfound fanbase.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=634424dbfed8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/sergio-ramos-data-portfolio/music-marketing-analysis-excel-dashboard-634424dbfed8">Music marketing analysis Excel dashboard</a> was originally published in <a href="https://medium.com/sergio-ramos-data-portfolio">Sergio Ramos Data Portfolio</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>