A new technical note from JDS Communications introduces greenfeedr and demonstrates how it can generate easy-to-read reports and insights using real dairy cow data
Philadelphia, May 6, 2025 – The dairy and agriculture sectors’ pursuit of sustainability and efficiency has fueled a dramatic expansion in research aimed at understanding and reducing livestock greenhouse gas emissions. Central to this effort is the ability to accurately measure methane and carbon dioxide output from cattle on a large scale. GreenFeed is a popular tool helping researchers and producers measure emissions in real time. A new open-source tool—outlined in a new technical note in JDS Communications—is simplifying processing and data reporting from GreenFeed systems, making it easier to get flexible, useful, and impactful data and accelerate the work toward a sustainable future for dairy and livestock production.
GreenFeed systems are portable head chambers that measure individual animal gas production in real time, generating substantial amounts of data. Animals voluntarily use the machine, receiving pelleted feed throughout the day, meaning that the system gathers data 24 hours a day, often for weeks at a time. While all of these data are crucial for researchers and producers aiming to understand and mitigate livestock’s contribution to climate change, it comes with challenges. Managing and analyzing this high volume of data—especially across different research projects, dairy herds, and teams—is often time consuming and can lead to mistakes and data inconsistencies.
“The sheer volume of data produced by GreenFeed systems can be really overwhelming,” said Guillermo Martinez-Boggio, PhD, of the Department of Animal and Dairy Sciences, University of Wisconsin–Madison (Madison, WI) and lead author on the article. “We set out to create an open-source tool that simplifies this process, making it more efficient and reproducible, and flexible to the variety of situations these systems are used in.”

Caption: The greenfeedr package helps improve the management and analysis of GreenFeed data, offering a streamlined and efficient tool tailored to the needs of different teams (Credit: Guillermo Martinez-Boggio)
Motivated by the principle of “doing as little as possible by hand and as much as possible with functions,” Martinez-Boggio, of the Peñagaricano Lab, developed greenfeedr—a toolkit with functions for downloading, processing, and reporting GreenFeed data—all freely and publicly available as an R package, an open-source software and programming language. Interested users can access greenfeedr on the Comprehensive R Archive Network (CRAN) at https://cran.r-project.org/web/packages/greenfeedr/ and its code on GitHub at https://github.com/GMBog/greenfeedr.
The greenfeedr package helps with downloading, processing, and reporting GreenFeed data. “The R package has functions for downloading GreenFeed data (get_gfdata), for generating daily and final reports (report_gfdata), for processing daily and final records (process_gfdata), and extra functions that help to extract information regarding pellet intakes and daily visits (pellin and viseat),” explained Martinez-Boggio.
After development, the team demonstrated the package’s capabilities using data from 32 lactating dairy cows. The article demonstrates how greenfeedr can generate comprehensive reports and efficiently process large datasets, allowing for a detailed analysis of methane and carbon dioxide emissions. The package also permits user-defined parameters to allow the best use of each research group’s datasets.
“We wanted the tool to be as versatile as possible, so it was designed to be used with all livestock species and housing systems, including freestall, tiestall, and pasture based,” Martinez-Boggio said. This important advancement allows teams to automate routine processes as they gather data with GreenFeed systems, simplifying formerly complex workflows, saving time, and creating insightful outputs that can inform study results and farm management decisions.
This tool is expected to benefit researchers and producers by enhancing the efficiency and accuracy of GreenFeed data analysis, ultimately contributing to a better understanding of livestock emissions and the development of mitigation strategies.
Notes for editors
The article is “greenfeedr: An R package for processing and reporting GreenFeed data,” by Guillermo Martinez-Boggio, Patrick Lutz, Meredith Harrison, Kent A. Weigel, and Francisco Peñagaricano (https://doi.org/10.3168/jdsc.2024-0662). It appears in JDS Communications, volume 6, issue 2 (March/April, 2025), published by ADSA and Elsevier.
The article is openly available at https://www.jdscommun.org/article/S2666-9102(24)00187-X/fulltext, and the PDF version is available at https://www.jdscommun.org/action/showPdf?pii=S2666-9102%2824%2900187-X.
Journalists wishing to interview the authors should contact Guillermo Martinez-Boggio, PhD, of the Department of Animal and Dairy Sciences, University of Wisconsin–Madison, Madison, Wisconsin, at guillermo.martinezboggio@wisc.edu.
About JDS Communications
JDS Communications®, an official journal of the American Dairy Science Association®, is co-published by Elsevier and ADSA. The journal publishes narrowly focused, hypothesis-driven original research studies designed to answer a specific question on the production or processing of milk or milk products intended for human consumption. In addition to short research articles, JDS Communications publishes mini reviews—unsolicited, concise review papers. Research published in this journal is broadly divided into the production of milk from food animals (nutrition, physiology, health, genetics, and management) and processing of milk for human consumption (dairy foods). JDS Communications aims for rapid turnaround and a short time to publication. www.jdscommun.org
About the American Dairy Science Association (ADSA®)
The American Dairy Science Association (ADSA) is an international organization of educators, scientists, and industry representatives who are committed to advancing the dairy industry and keenly aware of the vital role the dairy sciences play in fulfilling the economic, nutritive, and health requirements of the world’s population. It provides leadership in scientific and technical support to sustain and grow the global dairy industry through generation, dissemination, and exchange of information and services. Together, ADSA members have discovered new methods and technologies that have revolutionized the dairy industry.www.adsa.org
About Elsevier
As a global leader in information and analytics, Elsevier helps researchers and healthcare professionals advance science and improve health outcomes for the benefit of society. We do this by facilitating insights and critical decision-making with innovative solutions based on trusted, evidence-based content and advanced AI-enabled digital technologies.
We have supported the work of our research and healthcare communities for more than 140 years. Our 9,500 employees around the world, including 2,500 technologists, are dedicated to supporting researchers, librarians, academic leaders, funders, governments, R&D-intensive companies, doctors, nurses, future healthcare professionals, and educators in their critical work. Our 2,900 scientific journals and iconic reference books include the foremost titles in their fields, including Cell Press, The Lancet and Gray’s Anatomy.
Together with the Elsevier Foundation, we work in partnership with the communities we serve to advance inclusion and diversity in science, research, and healthcare in developing countries and around the world.
Elsevier is part of RELX, a global provider of information-based analytics and decision tools for professional and business customers. For more information on our work, digital solutions, and content, visit www.elsevier.com.