Professional sports are a huge source of local pride for a lot people. In some countries, simply wearing the wrong jersey at the wrong time and place is practically a death sentence. While North American professional sports are not quite that extreme, without a doubt there are millions of people who get immense local pride from watching their favorite team play.

Hockey fans (potentially) about to fight for their team. Credit

The problem with this is that professional athletes rarely have quite the same local pride as their fans do. This, of course, is because they rarely have any connection to the home city for the team they play for…


Personalized Covid-19 Data

The local effects of Covid-19 should be apparent to everyone at this point in time, unfortunately. We are all very aware that there are peaks and valleys in the number of Covid cases. When it comes to judging the risk involved in doing certain things, it’s very difficult to put your actions in perspective if one isn’t sure how Covid is currently affecting their area. In order to remove this uncertainty, I decided to write a script that will display the current number of recent cases in a county in less than 10 seconds. With this one-click tool in hand…


All maps lie.

Allow me to explain: every map is designed to show a specific feature of our world. Every detail of the map highlights features that the mapmaker wants the viewer to see. The projection, the words, the colors, everything helps communicate a certain viewpoint.

Map of light pollution over Italy (lighter color means more light pollution).

In most cases, maps successfully show political boundaries, major cities, land area, and water area. These are all features we expect from maps. One feature that is rarely shown, though, is the population of political units. In order to demonstrate how population within political units can be mapped, I will take the case of…


The game of hockey has gone through many changes throughout its lifetime. Both the equipment and the rules have radically altered the game, and with it, the strategy teams employ to win. No longer do goalies instinctively play a “stand-up” style in order to avoid a puck to their unprotected face. Similarly, the team with a lead is no longer allowed to freely shoot the puck down the ice, as they did before icing was introduced in 1937–38. …


Few countries have as much of a strong and symbiotic relationship as Mexico and the United States. Since the railroads connected the two countries, there have been millions of Mexicans working in the U.S. at any given time. Much of the American food supply was, and still is, dependent on Mexican labor. Despite the U.S. having one of, if not the most diverse immigrant pools in the world, Mexico has been the most represented country for decades. A full 25% of all foreign born immigrants in the U.S. were born in Mexico.

Not only has this relationship benefitted the U.S…


In part 1, I described the goal of determining the home regions of Mexican immigrants in the United States. I provided context for the question and gave an outline of how I would attempt to answer this question. I explained why I chose these cities in particular and why restaurants can (partially) display the origin of the people living there. In this blog post, I will examine the results and discuss their significance in helping us understand why immigrants settle where they do.

Analyzing the Results For Each City

The results were gathered in a Pandas Dataframe and compared between each city. Each match was checked…


The United States has always been an immigrant nation. Despite this truism, American immigration looks very different based on the time period one is referring to. No longer does one immediately think of a Swede when one pictures an immigrant, as one might have in the late 1800’s in the upper Midwest. Today, when one thinks of an immigrant, they probably picture a Latino, probably from Mexico.

Origin of Immigrants to U.S. by host country from 1820’s to 2010’s (credit to FastWeb)

This view is well reflected in reality: in the past 30 years, most immigrants have in fact come from Mexico (and many travelled through Mexico to get to the U.S.). As the chart…


Geo-plotting nearly always requires a shape object to show the boundaries of an area. In almost all cases, when trying to make a Geopandas shape you already have your data nicely formatted in a shape object. In almost all cases. Recently I had the unfortunate situation where the boundary points for a Polygon shape were simply coordinate pairs. How should one turn these into a Polygon shape? This seemingly simple question caused me much more pain that it should have. …


This post is a follow up to my earlier post where I posed the question: can the number of ethnic restaurants in an ethnic neighborhood be a measure of how “ethnic” a place is? In other words, if there are more people of a certain group in a neighborhood, will there be more restaurants of that group in that area?

In this post, I’ll present some initial findings about this question using Yelp data. I’ll also show census data for the Ghanaian people. To test my hypothesis, I searched and counted the number of public eateries for three groups in…


Ethnic neighborhoods* are as old as America itself. Ever since English pilgrims set up the first ethnic neighborhoods in what would later become Jamestown, Virginia and Plymouth, Massachusetts, there have been newcomers arriving through the sea, in the air, and on the ground to make a new life in the United States. The existing culture of where these newcomers arrive is vastly different depending on the time and space, but the benefits of immigrants living near each other are many: lower cost of living, cultural and family connections, cultural familiarity, etc. …

Greg Feliu

Data Engineer | Data Analyst — Interests in transportation/logistics, language and geographic visualizations

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store