Skip to contents

Authors: Kehan (Sky) Sheng, Borbala Foris, Daniel Weary, Marina von Keyserlingk

Overview

moo4feed is an R package designed to extract novel individual-level traits from raw feeding and drinking data collected through precision livestock farming systems.

The package aims to support animal welfare research and data-driven monitoring by enabling reproducible, scalable analysis workflows.

Installation

To install the development version of moo4feed from GitHub, run:

install.packages("devtools")

# run below if you only want to install the package
devtools::install_github("skysheng7/moo4feed")

# run below if you want to read the vignettes, and install dependencies needed for development too
devtools::install_github("skysheng7/moo4feed", dependencies = TRUE, build_vignettes = TRUE)

Development

This package was developed using AI-assisted tools including Cursor and Claude Code. System prompts and development configurations can be found in the .cursor and .claude directories.

Documentation

Full documentation and examples are available at the package website.

Contributors

  • Principal Investigator: Marina von Keyserlingk
    • ORCID: 0000-0002-1427-3152
    • Affiliation: University of British Columbia
    • Email:
  • Co-Investigator: Daniel Weary
    • ORCID: 0000-0002-0917-3982
    • Affiliation: University of British Columbia
    • Email:
  • Contributor: Kehan Sheng
    • ORCID: 0000-0001-6442-5284
    • Affiliation: University of British Columbia
    • Email:
  • Contributor: Borbala Foris
    • ORCID: 0000-0002-0901-3057
    • Affiliation while working on this project: University of British Columbia
    • Current affiliation: University of Veterinary Medicine, Vienna
    • Email:
  • Contributor: Kratika Rathi
  • Contributor: Nicole Lopez
  • Contributor: Colombe Tolokin

Acknowledgements

This R package was developed following the instructions and recommended workflows outlined in several key resources:

Project Information

  • Funding: This project is funded by a Natural Sciences and Engineering Research Council (NSERC) Discovery Grant (RGPIN-2021-02848; Ottawa, ON, Canada) awarded to MvK. KS also received funding from the Pei-Huang Tung and Tan-Wen Tung Graduate Fellowship (Vancouver, BC, Canada), Elizabeth R. Howland Fellowship (Vancouver, BC, Canada), Wilson Henderson Fellowship (Vancouver, BC, Canada), Hugo E Meilicke Memorial Fellowship (Vancouver, BC, Canada), and Mary and David Macaree Fellowship (Vancouver, BC, Canada).