Skip to content

trevordavenport/Farmers-Market-Trends

Repository files navigation

Farmers-Market-Trends

The Department of Agriculture recently released over 8,000 detailed locations of farmers markets in the U.S. With this data, my goal was to find trends that relate number of farmers markets per state (or county) and the obesity rates of said locations. This will perhaps give insight to trends in obesity and availability of farmers markets. Some libraries used include Matplotlib, Folium (mapping coordinates), pandas, numpy, and quite a bit more.

General Overview

  Working with Open Data, this script uses iPython in combination with a number of libraries.
  The Dataset: U.S. Dept. of Agriculture Farmers Markets (2012)

Dataset Queryable Keys

Findings

Top 5 States with Highest Numbers of Farmers Markets

 1) California: 754
 2) New York: 637
 3) Illinois: 336
 4) Michigan: 330
 5) Ohio: 300

Bottom 4 States

 1) Delaware: 29
 2) Alaska: 31
 3) Dist. of Columbia: 35
 4) South Dakota: 38

Percentage of Farmers Markets vs. Fast Food

  California -> 35:1 Ratio (Fast Food / Farmers Markets)
  New York   -> 27:1 Ratio (Fast Food / Farmers Markets)
  Illinois   -> 26:1 (Fast Food / Farmers Markets)
  Ohio       -> 24:1 (Fast Food / Farmers Markets)
  Michigan   -> 22:1 Ratio (Fast Food / Farmers Markets)

Library Dependencies

  - Pandas
  - Matplotlib
  - D3.js
  - Numpy
  - Json
  - Folium

Link to iPython Notebook

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages