<p><div><div><div><div data-width="100" data-show-faces="false" data-send="true" data-layout="button_count" data-height="21" data-href="https://www.r-bloggers.com/forecasting-gentrification-in-city-neighborhoods-with-r/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://blog.revolutionanalytics.com/2017/02/forecasting-gentrification.html"> Revolutions</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<div>
<p>If you've lived in a big city, you're likely familiar with the impact of <a target="_blank" rel="nofollow" href="https://en.wikipedia.org/wiki/Gentrification">gentrification</a>. For longtime residents of a neighbourhood, it can represent a decline in the culture and vibrancy of your community; for recent or prospective residents, it can represent a financial opportunity in rising home prices. For those that live in a gentrifying neighbourhood, it's one of those you-know-it-when-you-see-it things, but for economists and urban planners it can be difficult to identify. So a team of analysts at <a target="_blank" rel="nofollow" href="http://urbanspatialanalysis.com/about/">Urban Spatial</a> to build a <a target="_blank" rel="nofollow" href="http://urbanspatialanalysis.com/portfolio/predicting-gentrification-using-longitudinal-census-data/">longitudinal model based on census tract data to quantify gentrification</a>. Their motivation?</p>
<blockquote>
<p>Neighborhoods change because people and capital are mobile and when new neighborhood demand emerges, incumbent residents rightfully worry about displacement.</p>
<p>Acknowledging these economic and social realities, policy makers have a responsibility balance economic development and equity. To that end, analytics can help us  understand how the wave of reinvestment moves across space and time and how to pinpoint neighborhoods where active interventions are needed today in order to avoid negative outcomes in the future.</p>
</blockquote>
<p>They also provide a <a target="_blank" rel="nofollow" href="http://urbanspatialanalysis.com/dataviz-tutorial-mapping-san-francisco-home-prices-using-r/">detailed data visualization tutorial</a> showing how they used R to visualize the results, like this sequence of panels showing the dramatic rise in prices for homes in the Mission District of San Francisco over the last eight years.</p>
<p><a target="_blank" rel="nofollow" href="http://urbanspatialanalysis.com/dataviz-tutorial-mapping-san-francisco-home-prices-using-r/"><img title="Mission" alt="Mission" src="http://a4.typepad.com/6a0105360ba1c6970c01b8d265448c970c-800wi" border="0"></a></p>
<p>The R full code behind this and other interesting charts is included, often making extensive use of the <a target="_blank" rel="nofollow" href="https://mran.microsoft.com/package/ggmap/">ggmap package</a>.  </p>
<p>Zooming out from neighbourhoods to cities, the <a target="_blank" rel="nofollow" href="http://urbanspatialanalysis.com/portfolio/predicting-gentrification-using-longitudinal-census-data/">full report</a> describes the analysts built a model to predict gentrification within &quot;legacy&quot; US cities (and even produced detailed maps within those cities showing where gentrification was likely to occur). At the city level, the impact is shown in rising or declining average housing values:</p>
<p><a target="_blank" rel="nofollow" href="http://urbanspatialanalysis.com/portfolio/predicting-gentrification-using-longitudinal-census-data/"><img title="City bar chart" alt="City bar chart" src="http://revolution-computing.typepad.com/.a/6a010534b1db25970b01bb097e071c970d-800wi" border="0"></a></p>
<p>If you're into the economic aspect, check out the <a target="_blank" rel="nofollow" href="http://urbanspatialanalysis.com/portfolio/predicting-gentrification-using-longitudinal-census-data/">full report</a> for lots of interesting analysis of housing trends in US cities. Or, if you just want to learn how all the charts and maps were made, click the link below to see the tutorial.</p>
<p>Urban Spatial: <a target="_blank" rel="nofollow" href="http://urbanspatialanalysis.com/dataviz-tutorial-mapping-san-francisco-home-prices-using-r/">#Dataviz tutorial: Mapping San Francisco home prices using R</a> (<a target="_blank" rel="nofollow" href="https://twitter.com/sharon000/status/834248549038698502">via</a> Sharon Machlis)</p>
</div>
<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://blog.revolutionanalytics.com/2017/02/forecasting-gentrification.html"> Revolutions</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a title="The R Project for Statistical Computing" rel="nofollow" href="https://www.r-project.org/">R</a> news and <a title="R tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/tutorial">tutorials</a> on topics such as: <a title="Data science" rel="nofollow" href="https://www.r-bloggers.com/search/data%20science">Data science</a>, <a title="Big Data" rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data">Big Data, <a title="R jobs" rel="nofollow" href="https://www.r-users.com/">R jobs</a>, visualization (<a title="ggplot and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2">ggplot2</a>, <a title="Boxplots using lattice and ggplot2 tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/boxplot">Boxplots</a>, <a title="Maps and gis" rel="nofollow" href="https://www.r-bloggers.com/search/map">maps</a>, <a title="Animation in R" rel="nofollow" href="https://www.r-bloggers.com/search/animation">animation</a>), programming (<a title="RStudio IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/RStudio">RStudio</a>, <a title="Sweave and literate programming" rel="nofollow" href="https://www.r-bloggers.com/search/sweave">Sweave</a>, <a title="LaTeX in R" rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX">LaTeX</a>, <a title="SQL and databases" rel="nofollow" href="https://www.r-bloggers.com/search/SQL">SQL</a>, <a title="Eclipse IDE for R" rel="nofollow" href="https://www.r-bloggers.com/search/eclipse">Eclipse</a>, <a title="git and github, Version Control System" rel="nofollow" href="https://www.r-bloggers.com/search/git">git</a>, <a title="Large data in R using Hadoop" rel="nofollow" href="https://www.r-bloggers.com/search/hadoop">hadoop</a>, <a title="Web Scraping of google, facebook, yahoo, twitter and more using R" rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping">Web Scraping</a>) statistics (<a title="Regressions and ANOVA analysis tutorials" rel="nofollow" href="https://www.r-bloggers.com/search/regression">regression</a>, <a title="principal component analysis tutorial" rel="nofollow" href="https://www.r-bloggers.com/search/PCA">PCA</a>, <a title="Time series" rel="nofollow" href="https://www.r-bloggers.com/search/time+series">time series</a>, <a title="finance trading" rel="nofollow" href="https://www.r-bloggers.com/search/trading">trading</a>) and more...
<img height="1" alt="" width="1" src="http://feeds.feedburner.com/~r/RBloggers/~4/3Qwq66aqyn8"></a></div>