create account

Walking Through Data: Hog and Pig Farms by somethingburger

View this thread on: hive.blogpeakd.comecency.com
· @somethingburger · (edited)
$34.92
Walking Through Data: Hog and Pig Farms
### In examining data, we can see telling relationships about agriculture. Here these relationships – and ways of visualizing them – are discussed.

# Data by farm size
<hr>

Yesterday I wrote [a post about pork agriculture](https://steemit.com/food/@somethingburger/the-tragedy-of-pork-agriculture) in the United States. In this post, I made a graph from the following data, which is from the [2012 US Census of Agriculture](https://www.agcensus.usda.gov/Publications/2012/#full_report):

Hogs/Pigs on Farm|Farms|Hogs/Pigs
---|---|---
1 - 24|41,688|244,250
25 - 49|3,435|116,808
50 - 99|2,161|146,967
100 - 199|1,469|201,460
200 - 499|2,115|683,977
500 - 999|1,977|1,384,921
1000 - 1999|2,677|3,662,168
2000 - 4999|4,718|14,867,199
5000+|3006|44,719,035

This data can be used to make a bar chart showing how many hogs and pigs are on large farms. Below is the graph I used in yesterday's post.

<center>![livestock](https://raw.githubusercontent.com/mackfinkel/agricultureData/master/hogsPigs/hogsPigslivestock.png)</center>

This graph is informative, but doesn't reflect all the interesting things in the above data. For instance, seeing this graph alone might lead you to an assumption that most farms are factory farms, but that's not true. Let's take a look at a graph of the number of farms by farm size.

<center>![farms](https://raw.githubusercontent.com/mackfinkel/agricultureData/master/hogsPigs/hogPigsfarms.png)</center>

# Trends can help explain perceptual disparity between facts and anecdotes.
<hr>

This trend is pretty surprising, but also may explain discrepancies that I have personally encountered. While we know that [96% of hogs and pigs are on factory farms](https://steemit.com/food/@somethingburger/the-tragedy-of-pork-agriculture), it can be hard to convince people that this is true. On several occasions when I have discussed pork agriculture with people, it is brought up that they know a friend or a family member who has worked on a farm where things aren't nearly as bad as "the other farms." 

Knowing that most farms are small while most hogs and pigs are on factory farms provides some explanation for this: while you are more likely to have seen or heard about a small farm, the pork on your plate is extremely likely to have come from a factory farm. Notably, the disparity between farms people have encountered and the prevalence of factory farms is exacerbated when you consider that people who have the luxury of leisurely discussing livestock populations are less likely to be around factory farms, since hog factory farms are about [nine times more likely](http://ehp.niehs.nih.gov/121-a182/) to exist in areas affected by poverty.

# Combining graphs
<hr>

It would be great to show all of this information in one simple graph, but to do so there should be a common metric that works to both numbers. While the number of total farms is in the ten thousands and the number of total pigs and hogs is in the ten millions, we can examine both of these quantities by farm size as a percentage of the total. Using the above data, we can make this conversion.

Hogs/Pigs on Farm|Percentage of total farms|Percentage of total Hogs/Pigs
---|---|---
1 - 24|65.914050|0.3699256
25 - 49|5.431174|0.1769100
50 - 99|3.416817|0.2225869
100 - 199|2.322677|0.3051186
200 - 499|3.344085|1.0359084
500 - 999|3.125889|2.0975139
1000 - 1999|4.232679|5.5464884
2000 - 4999|7.459760|22.5169210
5000+|4.752870|67.7286271

In order to graph this data, a bar plot with two variables does the trick.

<center>![together](https://raw.githubusercontent.com/mackfinkel/agricultureData/master/hogsPigs/plot.png)</center>

This graph illustrates disparity farms and livestock that helps to explain the anecdotes I personally have encountered. The drawback of this representation is that specific numbers are not available, and a viewer would not be able to tell that there are about 42 thousand farms with 1 - 24 pigs and hogs, or that 45 million pigs and hogs are on farms with over 5000 of the same species.

I hope this walkthrough has been informative and interesting! All code used to generate these charts is [on github](https://github.com/mackfinkel/agricultureData).

<center><h1>Until next time</h1>[![follow_somethingburger.gif](https://steemitimages.com/DQmTmkSz78xdKu8y8Emv2CfhzFbDoEjVxk2N8uwd3TRANvj/follow_somethingburger.gif)](https://steemit.com/@somethingburger)</center>

<center><sup>*This post is  <a rel="license" href="http://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>*</sup></center>
👍  , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorsomethingburger
permlinkwalking-through-data-hog-and-pig-farms
categoryfood
json_metadata{"tags":["food","science","vegan","education","sndbox"],"image":["https://raw.githubusercontent.com/mackfinkel/agricultureData/master/hogsPigs/hogsPigslivestock.png","https://raw.githubusercontent.com/mackfinkel/agricultureData/master/hogsPigs/hogPigsfarms.png","https://raw.githubusercontent.com/mackfinkel/agricultureData/master/hogsPigs/plot.png","https://steemitimages.com/DQmTmkSz78xdKu8y8Emv2CfhzFbDoEjVxk2N8uwd3TRANvj/follow_somethingburger.gif"],"links":["https://steemit.com/food/@somethingburger/the-tragedy-of-pork-agriculture","https://www.agcensus.usda.gov/Publications/2012/#full_report","http://ehp.niehs.nih.gov/121-a182/","https://github.com/mackfinkel/agricultureData","https://steemit.com/@somethingburger","http://creativecommons.org/licenses/by/4.0/"],"app":"steemit/0.1","format":"markdown"}
created2017-10-12 12:32:24
last_update2017-10-12 14:00:24
depth0
children5
last_payout2017-10-19 12:32:24
cashout_time1969-12-31 23:59:59
total_payout_value26.463 HBD
curator_payout_value8.454 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,529
author_reputation4,177,412,796,369
root_title"Walking Through Data: Hog and Pig Farms"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,487,343
net_rshares14,318,163,674,151
author_curate_reward""
vote details (24)
@kenfinkel ·
Really nice (valuable) walk through of the ways in which data can (should) be represented. You are definitely living up to your name @somethingburger! (And I think we know what's in that burger, eh?)
👍  
properties (23)
authorkenfinkel
permlinkre-somethingburger-walking-through-data-hog-and-pig-farms-20171012t181855798z
categoryfood
json_metadata{"tags":["food"],"users":["somethingburger"],"app":"steemit/0.1"}
created2017-10-12 18:18:57
last_update2017-10-12 18:18:57
depth1
children1
last_payout2017-10-19 18:18:57
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length199
author_reputation4,063,228,511,247
root_title"Walking Through Data: Hog and Pig Farms"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,515,442
net_rshares7,600,126,844
author_curate_reward""
vote details (1)
@somethingburger ·
Thanks @kenfinkel!
properties (22)
authorsomethingburger
permlinkre-kenfinkel-re-somethingburger-walking-through-data-hog-and-pig-farms-20171012t184228367z
categoryfood
json_metadata{"tags":["food"],"users":["kenfinkel"],"app":"steemit/0.1"}
created2017-10-12 18:42:30
last_update2017-10-12 18:42:30
depth2
children0
last_payout2017-10-19 18:42:30
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length18
author_reputation4,177,412,796,369
root_title"Walking Through Data: Hog and Pig Farms"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,517,176
net_rshares0
@steemitboard ·
Congratulations @somethingburger! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

[![](https://steemitimages.com/70x80/http://steemitboard.com/notifications/posts.png)](http://steemitboard.com/@somethingburger) Award for the number of posts published

Click on any badge to view your own Board of Honor on SteemitBoard.
For more information about SteemitBoard, click [here](https://steemit.com/@steemitboard)

If you no longer want to receive notifications, reply to this comment with the word `STOP`

> By upvoting this notification, you can help all Steemit users. Learn how [here](https://steemit.com/steemitboard/@steemitboard/http-i-cubeupload-com-7ciqeo-png)!
properties (22)
authorsteemitboard
permlinksteemitboard-notify-somethingburger-20171012t164221000z
categoryfood
json_metadata{"image":["https://steemitboard.com/img/notifications.png"]}
created2017-10-12 16:42:21
last_update2017-10-12 16:42:21
depth1
children0
last_payout2017-10-19 16:42:21
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length708
author_reputation38,975,615,169,260
root_title"Walking Through Data: Hog and Pig Farms"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,507,747
net_rshares0
@tanglebranch ·
$0.07
Hi!  Great post.  Im a small farmer in Canada (sheep, not pigs ), and youre absolutely right about how many people know a farmer (and see things are done humanely on that farm), but likely still eat factory farmed meat.  The very best solution that consumers can effect to take the power away from factory farming and their disregard for animal welfare is to shop direct from the farm!  You might pay a bit more because those small farmers need to have an income, and their profit margins work way differently than a huge factory farm, but by doing so, you have helped a family put their kids in music lessons.  You've sourced your meat from an animal who spent its life in the sunshine, with a great deal more freedom to move, play, and enjoy life, that was likely not medicated on a whim, and who only ever had one REALLY bad day, and it was over quick.

The next best solution is to start farming yourself, if at all possible.  This might be as simple as a pot of tomatoes grown on your apartment balcony, as unorthodox as tilling up your backyard and planting a huge garden with a few chickens to scratch between the rows, providibg fertilizer(manure), pest control, and eggs and meat from a completely verifiable source(city bylaws permitting you keeping chickens of course), or as crazy as buying a ramshackle plot of land in the country and raising crops and/or livestock to sell to all your friends who still live in the city!
👍  ,
properties (23)
authortanglebranch
permlinkre-somethingburger-walking-through-data-hog-and-pig-farms-20171012t181911374z
categoryfood
json_metadata{"tags":["food"],"app":"steemit/0.1"}
created2017-10-12 18:19:15
last_update2017-10-12 18:19:15
depth1
children1
last_payout2017-10-19 18:19:15
cashout_time1969-12-31 23:59:59
total_payout_value0.058 HBD
curator_payout_value0.014 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,434
author_reputation3,214,834,347,218
root_title"Walking Through Data: Hog and Pig Farms"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,515,473
net_rshares30,772,811,753
author_curate_reward""
vote details (2)
@somethingburger ·
Thank you so much for this fantastic comment, @tanglebranch! I am thrilled to hear from a small farmer who can speak to data, and advocate so well for buying directly from farms. These are great suggestions, and I look forward to your posts on this site!
👍  
properties (23)
authorsomethingburger
permlinkre-tanglebranch-re-somethingburger-walking-through-data-hog-and-pig-farms-20171012t185240125z
categoryfood
json_metadata{"tags":["food"],"users":["tanglebranch"],"app":"steemit/0.1"}
created2017-10-12 18:52:39
last_update2017-10-12 18:52:39
depth2
children0
last_payout2017-10-19 18:52:39
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length254
author_reputation4,177,412,796,369
root_title"Walking Through Data: Hog and Pig Farms"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id17,517,927
net_rshares595,636,600
author_curate_reward""
vote details (1)