From d01025971d91205056363ea953cc0e07e02d80cf Mon Sep 17 00:00:00 2001 From: Daniel Berry Date: Sun, 27 Nov 2016 17:08:39 -0500 Subject: [PATCH] Added count people in food desert --- presentation.Rmd | 7 ++++++- presentation.html | 3 +++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/presentation.Rmd b/presentation.Rmd index 7d50f9f..4847908 100644 --- a/presentation.Rmd +++ b/presentation.Rmd @@ -15,11 +15,16 @@ output: revealjs::revealjs_presentation - Other definitions exist that also cover rural areas and take into account car ownership (harder to travel w/o a car) ## Where are food deserts in Chicago - +```{r, include = FALSE} +load('all_data') +``` ```{r, out.width = "600px", echo = FALSE} knitr::include_graphics("deserts_plot.png") ``` +## Number of people living in a food desert +According to the data and methodology used, estimate `r sum(all_data[all_data$desert, 'TOTAL.POPULATION'], na.rm = TRUE)` people living in a food desert. This is similar, but not exactly the same as previous estimates. In fact, other studies give a higher estimate. + # Chicago Demographics ## Distribution of Black People diff --git a/presentation.html b/presentation.html index b49c13a..15f3f43 100644 --- a/presentation.html +++ b/presentation.html @@ -95,6 +95,9 @@

What is a Food Desert?

Where are food deserts in Chicago

+
+

Number of people living in a food desert

+

According to the data and methodology used, estimate 161072 people living in a food desert. This is similar, but not exactly the same as previous estimates. In fact, other studies give a higher estimate.

Chicago Demographics

Distribution of Black People