<?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[Fighting For Food Security - Medium]]></title>
        <description><![CDATA[Brown University Students using data science to explore food insecurity. - Medium]]></description>
        <link>https://medium.com/fighting-for-food-security?source=rss----58453e549205---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Fighting For Food Security - Medium</title>
            <link>https://medium.com/fighting-for-food-security?source=rss----58453e549205---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 14:36:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/fighting-for-food-security" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Blog Post 3]]></title>
            <link>https://medium.com/fighting-for-food-security/blog-post-3-c5e8f747e0d1?source=rss----58453e549205---4</link>
            <guid isPermaLink="false">https://medium.com/p/c5e8f747e0d1</guid>
            <dc:creator><![CDATA[Megha Malpani]]></dc:creator>
            <pubDate>Sat, 04 May 2019 13:20:25 GMT</pubDate>
            <atom:updated>2019-05-05T02:38:31.287Z</atom:updated>
            <content:encoded><![CDATA[<h3>The Full Story</h3><h3>Vision</h3><p>Our project aims to explore the intersection between food access, health, and economic disparity in Los Angeles county. As the following two graphs show, <strong><em>there is a clear link between household income and obesity.</em> </strong>Using these graphs as a starting point, we explore how food plays into this equation.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p5de7rDI6nBCZWFDbbR5vQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QVg1oftA2xYrt6cIMdvveg.png" /><figcaption><em>Median household income in LA County (left). Body mass index in LA County (right).</em></figcaption></figure><p>Our goal is to better understand the extent to which access to healthy food plays a role in income and health in LA. Existing studies argue that food access is a crucial determinant for neighborhood health, evidenced by high rates of obesity and diabetes in areas with minimal healthy food access.We decided to focus on Los Angeles because it has the highest number of fast food restaurants per capita in the United States, and despite mass produce production in surrounding areas is considered a “food dessert” for low income communities, meaning they lack access to healthy and nutritious options.</p><p>We hypothesized that supermarket and fast food access for a given neighborhood are inversely related (i.e., the more supermarkets, the less fast food restaurants) and that the number of supermarkets is directly correlated to income. We believe that this should explain above average rates of obesity in low income neighborhoods that lack access to healthy food options.</p><h3>Data Collection</h3><h4>SimplyAnalytics</h4><p>To construct our dataset on health and wealth in LA, we initially gathered data from different websites, joining them with zip code as the primary key. However, we later discovered the website SimplyAnalytics.com, which allowed us to generate a CSV file with all of our desired fields: employment, income, obesity and diabetes data, grouped by zip code.</p><h4>Google Maps API</h4><p>As SimplyAnalytics.com did not offer data on fast food restaurants and supermarkets at specific geographical locations, we generated a second dataset using the Google Maps Places API. For this, we scraped coordinates approximating the centers of each of the zip codes in Los Angeles county to retrieve the numbers of supermarkets and fast food restaurants within a 1km and 3km radius. A table with this data and a table with the data above comprised our SQL Database.</p><h4>Challenges with Data Collection</h4><p>Data collection served as the most challenging aspect of this project. We found it hard to find a consistent concept of “neighborhoods,” as different datasets were grouped by different location indicators (i.e geoIDs, census tracts, county districts, and zip codes). We ultimately chose to represent neighborhoods by zip codes, since this was the most manageable and consistent metric. To determine “centers” of each zip code, we scraped latitude and longitudes from a website that correspond to zip code centers. We recognize, however, that this may have resulted in overlapping information between zip codes and/or data that is not representative of all communities living in one zip code.</p><h3>Visualizations/Algorithms:</h3><p>Visualizing our data on food access (generated from the Google Maps API) was initially challenging. SimplyAnalytics, where we found health and economic data for LA, provides a nice way to visualize <em>their</em> data on a map of LA, but we were unable to use the site to plot our own data. Instead, we used ArcGIS, a mapping software that gives you more flexibility to do this. This allowed us to look at <em>where</em> in LA we see the highest numbers of fast food restaurants and supermarkets.</p><p>An initial analysis of these “density-maps” showed that the center of LA has the highest number of both supermarkets and fast food restaurants. Recall that areas in the center of the county tend to have lower incomes and higher rates of obesity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/806/1*bnsafjTPAJPY1hzKvSSSdA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/826/1*GZeOh4i0vpYFjLWlFTtVRg.png" /><figcaption>Density of fast food restaurants (left) and supermarkets (right) in LA.</figcaption></figure><p>In addition to visualizing supermarket and fast food density, we used a KMeans clustering algorithm and a Logistic Regression algorithm to determine the significance of our food access data. KMeans was used to cluster the data on unemployment, income, obesity, and diabetes, as well as all of our food access data (number of supermarkets/fast food restaurants within a 1km and 3km radius). Using ArcGIS to visualize these clusters, we saw the following:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-3OjTv_Lw0EpfXksyLTpNw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yLzFLikQ_IlPdQAMf-jSpw.png" /><figcaption>Zip codes clustered using K-Means on income, unemployment, obesity and diabetes data with k=3 (left). Zip codes clustered using K-Means on supermarket and fast food data with k=3 (right).</figcaption></figure><p>Note that colors in these clusters do not refer to densities; instead, they simply represent zip codes that are “similar” according to the data we provided our algorithm. Thus, they are a bit harder to draw conclusions from. The map on the left does show a “center” of LA (the lighter region in the middle), but it is not as definitive as our first visualizations using median household income and obesity. This suggests that adding unemployment and diabetes into our clustering is not necessarily useful for understanding why we see higher rates of obesity in low-income communities.</p><p>Meanwhile, our map on the right shows groups of zip codes in the center of LA (in dark and light colors), that look more like our visualizations of income and obesity. This suggests that food access does play a role in health. Without performing a regression, though, it’s hard to know how exactly these factors relate to health (i.e., whether fast food restaurants or supermarkets are more predictive of obesity).</p><p>Linear Regression was first used to test how well income predicts the number of fast food restaurants vs. supermarkets. We found that in general, as income increases the overall number of establishments (both fast food chains and supermarkets) decreases. This may be due to the fact that land in wealthier neighborhoods is often more expensive and more spread out, and the fact that urban, low-income areas often have larger populations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XRdn6tKVQ1vFFMR2S1c6sQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*to-lz22oA9FEFB3SUa5w-Q.png" /><figcaption>Regression performed on supermarkets vs. income (left) and fast food restaurants vs. income (right).</figcaption></figure><p>We also used linear regression to examine how well the number of fast food restaurants and supermarkets predicted obesity. Note the different p-values—Obesity vs. Supermarkets has a very high p-value, while Obesity vs. Fast Foods has a much lower p-value. This suggests that <strong>the number of fast food restaurants within 3km of each zip code center is a good indicator of health</strong>, while the number of supermarkets within the same radius is not. In other words, as the number of fast food restaurants goes up, obesity rates are likely to follow.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*w1ClV5IRqpBpkCSRrYHQmQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LLMoYBg0Tby3Q-amS0mD7g.png" /><figcaption>Regression performed on obesity vs. supermarkets (left) and obesity vs. fast food restaurants (right).</figcaption></figure><p>This begs the question of how supermarkets in wealthy and poor neighborhoods differ. Our final visualizations examine how expensive supermarkets in various neighborhoods are.<em> </em>Since our findings show the existence of many supermarkets in low-income neighborhoods, we wondered whether these establishments were actually <em>healthy</em>. In other words, are these supermarkets more like “corner stores” that sell cheap, packaged foods but lack more expensive, healthier options? The Google Maps API returns the “price level” for each establishment, ranging from 0–4. The following two pie charts show the price levels of supermarkets in the 15 lowest income neighborhoods and the 15 highest income neighborhoods. Recall that a “neighborhood” in our case study is just a zip code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SyDgjEDPQZY9ReWn-LdkLQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aRBDN_o3qBSg7r1-5uVj7w.png" /></figure><p>What these pie charts show is a notable difference in the % of high-price supermarkets across both “types” of neighborhoods. It is worth noting however, that the total number of supermarkets in the 15 lowest-income neighborhoods is 70, while the total number of supermarkets in the 15 highest-income neighborhoods is 13. So, while the percentage of high-price supermarkets in the lower-income neighborhoods is lower than in the higher-income neighborhoods, there are more high-price establishments overall in low-income communities. This data suggests that looking at price-level in itself is not very helpful, at least not at the zipcode scale. Perhaps we need more detailed neighborhood information.</p><h3>Main Takeaways</h3><p>Overall, we found that the number of fast food restaurants directly relates to both income and obesity, while unemployment, diabetes, and number of supermarkets require further study. In other words, more fast food restaurants in lower income neighborhoods often mean higher rates of obesity.</p><p>What is most unexpected is the finding that the prevalence of supermarkets is <strong>not</strong> a meaningful indicator of either income or health. We found a high number of supermarkets in low income areas which implies that simply having access to supermarkets does not lead to a healthier lifestyle. There may be many other factors at play, such as prices, food preference, and convenience.</p><h3>Moving Forward</h3><p>Though we found a high number of supermarkets in low income neighborhoods, we don’t have a concept of who frequents them and how much money they spend and need to better understand this to truly and effectively combat obesity. We know there is a strong relationship between income and obesity so, as we move forward, it will be important to look more into the details of both supermarkets and fast food restaurants to examine what’s actually being bought and what the revenue generated by each looks like. Are people frequenting supermarkets as often as fast food chains? If so, what are they actually buying? Healthy produce or equally unhealthy packaged foods? It’s possible that supermarkets are visited less often than fast food restaurants (due to price points or convenience).</p><p>It’s also possible that the loose term “supermarket” includes corner stores that lack healthy options. The Google Maps API doesn’t have a strict definition of what a supermarket is, so our data on supermarket density likely covers a wide range of establishments. Several studies also show that many of the “bodegas” in LA tend to only keep packaged and unhealthy foods because that’s what sells best. Those studies found that produce, if kept in stock at all, tended to be in the back and of questionable quality. If either of these are the case, then we’d have a better starting point for understanding how to combat obesity. Clearly just the presence of supermarkets isn’t enough to provide access to healthy foods. Other barriers are in place that are keeping low-income communities from accessing nutritious options.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c5e8f747e0d1" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fighting-for-food-security/blog-post-3-c5e8f747e0d1">Blog Post 3</a> was originally published in <a href="https://medium.com/fighting-for-food-security">Fighting For Food Security</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blog Post 2]]></title>
            <link>https://medium.com/fighting-for-food-security/blog-post-2-95008d8ab08b?source=rss----58453e549205---4</link>
            <guid isPermaLink="false">https://medium.com/p/95008d8ab08b</guid>
            <dc:creator><![CDATA[Megha Malpani]]></dc:creator>
            <pubDate>Sat, 20 Apr 2019 00:53:28 GMT</pubDate>
            <atom:updated>2019-04-20T00:57:12.366Z</atom:updated>
            <content:encoded><![CDATA[<p>In the time since our midterm report, our group has largely completed our process of data collection; furthermore, we have conducted a key machine learning analysis that we believe to be useful in furthering our progress towards answering our desired questions.</p><p>The machine learning analysis that we have conducted involves clustering similar neighbourhoods together using the K-Means algorithm. As a proof of concept, we have generated a clustering with K=2, a visual representation of which can be seen below. The yellow outlines in each image represents one zip code (i.e., our concept of one neighborhood). Each image shows all the zip codes included in one cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Bl1dLNolG3FTjH2jm0YI9Q.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ndvMl34_LUrmYfpxQv2qmw.png" /><figcaption><em>Visualizations created with SimplyAnalytics from results of K-Means clustering</em></figcaption></figure><p>These clusters were created using the zip-code-level data on health and economic factors in LA County (outlined in our previous blog post). More specifically, each data point has the following 4 attributes:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*q3lQ1iYHwdMzGYd-" /></figure><h3><strong>Observations:</strong></h3><p>The idea behind creating 2 clusters is to see what it means to split the data into 2 groups. For example, can we say that one cluster represents a “healthier” or “wealthier” population in LA?</p><p>Consider the following two visualizations, pictured in our previous blog post:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*p5de7rDI6nBCZWFDbbR5vQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QVg1oftA2xYrt6cIMdvveg.png" /></figure><p>What these visualizations show is that there seems to be some relationship between Median Household Income and % Obesity in LA. In places where there is a low median income — the lighter areas in the heart of LA in the graph on left — we see higher percentages of obesity. The reverse is also true. In the graph on the left, the areas around the center of LA tend to have higher median incomes. These same places tend to have lower obesity rates in the graph on the left.</p><p>Our clusters show a similar pattern, with one cluster indicating peripheral areas around the center of LA (in the first image) and the second cluster indicating areas in the center itself (the second image). While this is certainly not enough information to suggest that one area is “healthy” and the other is not, it suggests that just these four measures (income, unemployment, obesity, and diabetes) reveal patterns about the data that the above two graphs confirm. On the other hand, looking at the visualizations for % Unemployment and % Diabetes (pictured below), it seems like these factors have less of an influence on our clusters. We will keep this in mind when comparing these results to our food access data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CZNPsl1C26ShV3G_Xtw0oA.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lEcFqoc0ycwgDi73P99xkw.png" /></figure><h3><strong>Moving forward:</strong></h3><p>When we start to add visualizations of food security, we hope that these clusters will allow us to more accurately define the importance of both health and wealth. For instance, we hope to see whether neighborhoods grouped together using K-Means have a similar number of fast food restaurants/access to supermarkets. Finding such correlations would be the starting point for further investigations, such as running various regressions involving these indicators. Additionally, having clusters will allow us to see how the coefficients of the regression vary when using data-points from different clusters. For instance, one particular indicator could perhaps be more meaningful in one particular group of neighborhoods as opposed to another.</p><p>Moving forward, we intend to build on this clustering to further our understanding of the relationship between food security and health in various neighborhoods of Los Angeles. Our immediate starting point is to generate visualizations of food security in LA.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95008d8ab08b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fighting-for-food-security/blog-post-2-95008d8ab08b">Blog Post 2</a> was originally published in <a href="https://medium.com/fighting-for-food-security">Fighting For Food Security</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blog Post 1]]></title>
            <link>https://medium.com/fighting-for-food-security/blog-post-1-c43deb027554?source=rss----58453e549205---4</link>
            <guid isPermaLink="false">https://medium.com/p/c43deb027554</guid>
            <category><![CDATA[urban-planning]]></category>
            <dc:creator><![CDATA[Megha Malpani]]></dc:creator>
            <pubDate>Fri, 15 Mar 2019 22:37:57 GMT</pubDate>
            <atom:updated>2019-03-16T01:21:29.993Z</atom:updated>
            <content:encoded><![CDATA[<p>Our project aims to explore the intersection between food access, health, and economic disparity in Los Angeles county. Existing studies argue that food access is a crucial determinant for neighborhood health, evidenced by high rates of obesity and diabetes in areas with minimal food access. With our data, we intend to provide insights that will corroborate, nuance, and/or build upon this hypothesis. For instance, an ideal finding would be that a low average income in a specific neighborhood corresponds to low supermarket access, and that both of these statistics correlate with above-average rates of childhood obesity. We are focusing on Los Angeles as it has the highest number of fast food restaurants per capita in the United States, and as there is ample data available on its neighborhoods. We will obtain this neighborhood-level data from datasets available in the form of census tracts, over 1800 of which are contained in Los Angeles county.</p><p>In order to investigate access to food, we will use neighborhood-level data on proximity to grocery stores and fast food outlets respectively. This data can be collected through the Google Maps Places API. After dividing Los Angeles up into its constituent census tracts, we will generate random coordinates in each of these tracts. These coordinates will be passed into the API as ‘neighborhood centers,’ and the number of grocery stores and fast food locations within set radii (such as one mile and two miles) will be returned. We anticipate that this dataset will be the basis for our first visualization — a map of Los Angeles with a color scheme showing relative food access in each area would be highly informative. The Google Maps API allows us to easily search for “supermarkets” within a given radius, but it will be slightly more challenging to find fast food restaurants, as there is no provided category for this. To work around this issue, we will have to search for individual fast food restaurants and combine the results of each query. We will prioritize the most prominent/well-known fast food restaurants when constructing these queries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N12WsBN7SSFJnd6LSVDugA.png" /><figcaption>Example usage of Google Places API: Finding all restaurants within a 1km radius</figcaption></figure><p>After this data on food access has been accumulated, we will move on towards linking it with existing datasets on health and economic status. Examples of datasets that we plan to analyze, along with their sources, are listed below:</p><ol><li>This database gives the median income of each census tract or neighborhood in Los Angeles: <a href="https://censusreporter.org/data/table/?table=B19013&amp;geo_ids=16000US0644000,140%7C16000US0644000&amp;primary_geo_id=16000US0644000">https://censusreporter.org/data/table/?table=B19013&amp;geo_ids=16000US0644000,140|16000US0644000&amp;primary_geo_id=16000US0644000</a></li><li>This database allows us to obtain the geographic ID, longitude, and latitude of a specific census tract: <a href="https://www2.census.gov/geo/docs/maps-data/data/gazetteer/2017_Gazetteer/2017_gaz_tracts_06.txt">https://www2.census.gov/geo/docs/maps-data/data/gazetteer/2017_Gazetteer/2017_gaz_tracts_06.txt</a></li><li>The databases for adult and childhood obesity rates, respectively. For adult data it is across neighborhoods and for childhood it is across census tract: <a href="http://publichealth.lacounty.gov/ha/reports/habriefs/2007/Obese_Cities/Obesity_2011Fs.pdf">http://publichealth.lacounty.gov/ha/reports/habriefs/2007/Obese_Cities/Obesity_2011Fs.pdf</a>, <a href="https://usc.data.socrata.com/Los-Angeles/Childhood-Obesity-LA-/h7hu-btwv">https://usc.data.socrata.com/Los-Angeles/Childhood-Obesity-LA-/h7hu-btwv</a></li></ol><p>Both of these data sets have the advantage of already being divided into census tracts, the initial basis for creating our neighborhood-level analyses. Thus, we can easily join them with our food access data to generate comprehensive information on each of our neighborhoods. This data will be crucial for our machine learning and statistical analyses. For example, once we have our combined data, we could conduct a multi-variable regression to show how different characteristics of food access and economic status relate to health indicators. One example of such a regression could be testing the respective impacts on childhood obesity rates of grocery store proximity, fast food proximity, employment rates, average income, and/or vehicular access. This would allow us to see how well our collected data explains childhood obesity, and determine which factors are most useful for predictive purposes. Additionally, we intend to create plots to visually show our findings in this regard. Such plots could contain scattered points, and our lines of best fit generated from the regressions.</p><p>Alongside linear regression, we also intend to use clustering algorithms. An example of how we could use an algorithm like K-means would be to collect our randomly generated neighborhood data into a certain number of clusters. We could then conduct more qualitative forms of analysis on these clusters — for example, seeing if neighborhoods placed in the same cluster have similar indicators on socio-economic status and health issues. This would help move us towards identifying causal relationships between our data.</p><p>Overall, our immediate next step is to finalize our data collection, and produce a visualization showing our findings. After this, we will begin our analysis and hopefully produce some interesting results!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c43deb027554" width="1" height="1" alt=""><hr><p><a href="https://medium.com/fighting-for-food-security/blog-post-1-c43deb027554">Blog Post 1</a> was originally published in <a href="https://medium.com/fighting-for-food-security">Fighting For Food Security</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>