Analyzing Global Food System Emissions Using Leaflet and Shiny

Posted on Nov 8, 2021

Github | Shiny App

Background and Objectives:

It goes without saying that cutting emissions is a common interest. Our survival depends on ecosystems and their ability to adapt with our changing climate. But when climate changes too fast, and certain species cannot cope, entire ecosystems can collapse. While this doesn't matter for mother nature, it does for humankind. With 8 billion people alive today, there isn't much space for shortage in our food supply chain. Already 10% of the world is in poverty, and with rising temperatures, climate change threatens to take stabilized ecosystems and flip them on their heads. Such tipping points are the repeated warning of a majority of scientists who claim that the world needs to cut emissions in half by 2050.

The objective of the project is to illuminate the amount of emissions created by the global food supply chain, a key contributor to global green house gases. By visualizing this data I hope to create actionable insights for politicians, lobbyists, business leaders, or anyone who wishes to push their nation towards a more sustainable future.

Food system emissions start on the farm, to the market, then the kitchen, and eventually the trash. I will be using two metrics. One, is the annual green house gas produced by a countries food system. The other, green house gas produced per capita by country. The first metric is there to show the largeness of some countries output and the latter to show the efficiency of them. The data being used is from the European Commission's Emissions Database for Global Atmospheric Research, which published data on all countries food system emissions from 1990 - 2015.

I will be referencing data I visualized with this interactive map, built in R Shiny.


China, Indonesia, Russia, Brazil, and the US; the largest emitters of food system greenhouse gas, who also fall into the same categories on overall emissions. For emissions per capita: surprisingly, impoverished countries like Ghana top the list for most efficient. This is likely due to low trade rates of food and consumption of food that is grown from inside the country. The US and other large countries fall in the middle of this metric, where as impoverished ones fall on the extremities.

Above, I used simple linear regression to fit a straight line to total global food system emissions. Clearly, they're rising fast - at around 200 kt c02 a year. Below, I visualized the top 10 and bottom 10 emitting countries.

The top emitters are producing more and more greenhouse gas every year but at a lower rate than the low emitters are. Overall, the bottom 10 countries increased emissions +13.75% from 2010 - 2015, while the top 10 emitters increased only +4.5%. This raises the question: Should developed countries help developing ones build out sustainable infrastructure?

Above is the distribution of global food emissions. The disparity between the top 10% is very large compared to the bottom 50%; therefore, the most focus and resources should be put towards reducing the top 10%'s emissions.


While this data only tells part of the story, it's important to breakdown and identify all contributors to global emissions. Any work that can be done to clarify the crises is worth showing. Overall, it is up to world leaders and those in positions of power to steer us towards a sustainable future. Our biggest hope is that young generations will continue to push for relentless change until we have a largely carbon neutral economy.




About Author

Tony Pennoyer

Aspiring Data Scientist. Currently a student at the NYC Data Science Academy.
View all posts by Tony Pennoyer >

Leave a Comment

Assessing Global Food System Emissions Using Leaflet and Shiny - Natluk November 8, 2021
[…] Source link […]

View Posts by Categories

Our Recent Popular Posts

View Posts by Tags

#python #trainwithnycdsa 2019 airbnb Alex Baransky alumni Alumni Interview Alumni Reviews Alumni Spotlight alumni story Alumnus API Application artist aws beautiful soup Best Bootcamp Best Data Science 2019 Best Data Science Bootcamp Best Data Science Bootcamp 2020 Best Ranked Big Data Book Launch Book-Signing bootcamp Bootcamp Alumni Bootcamp Prep Bundles California Cancer Research capstone Career Career Day citibike clustering Coding Course Demo Course Report D3.js data Data Analyst data science Data Science Academy Data Science Bootcamp Data science jobs Data Science Reviews Data Scientist Data Scientist Jobs data visualization Deep Learning Demo Day Discount dplyr employer networking feature engineering Finance Financial Data Science Flask gbm Get Hired ggplot2 googleVis Hadoop higgs boson Hiring hiring partner events Hiring Partners Industry Experts Instructor Blog Instructor Interview Job Job Placement Jobs Jon Krohn JP Morgan Chase Kaggle Kickstarter lasso regression Lead Data Scienctist Lead Data Scientist leaflet linear regression Logistic Regression machine learning Maps matplotlib Medical Research Meet the team meetup Networking neural network Neural networks New Courses nlp NYC NYC Data Science nyc data science academy NYC Open Data NYCDSA NYCDSA Alumni Online Online Bootcamp Online Training Open Data painter pandas Part-time Portfolio Development prediction Prework Programming PwC python Python Data Analysis python machine learning python scrapy python web scraping python webscraping Python Workshop R R Data Analysis R language R Programming R Shiny r studio R Visualization R Workshop R-bloggers random forest Ranking recommendation recommendation system regression Remote remote data science bootcamp Scrapy scrapy visualization seaborn Selenium sentiment analysis Shiny Shiny Dashboard Spark Special Special Summer Sports statistics streaming Student Interview Student Showcase SVM Switchup Tableau team TensorFlow Testimonial tf-idf Top Data Science Bootcamp twitter visualization web scraping Weekend Course What to expect word cloud word2vec XGBoost yelp