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.
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)
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)
- Pandas
- Matplotlib
- D3.js
- Numpy
- Json
- Folium