Next Article in Journal
TED-S: Twitter Event Data in Sports and Politics with Aggregated Sentiments
Previous Article in Journal
Daily Precipitation Data for the Mexico City Metropolitan Area from 1930 to 2015
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Data Descriptor

Goat Kidding Dataset

1
Instituto de Telecomunicações, Escola Superior de Tecnologia e Gestão de Águeda, Universidade de Aveiro, 3830-193 Aveiro, Portugal
2
Instituto Nacional de Investigação Agrária e Veterinária I.P. (INIAV), Quinta de Fonte-Boa, 2005-048 Vale de Santarém, Portugal
3
Instituto Politécnico de Viseu, CERNAS—Centro de Recursos Naturais, Ambiente e Sociedade, Escola Superior Agrária, Quinta da Alagoa-Estrada de Nelas, 3500-606 Viseu, Portugal
4
Instituto Federal Catarinense, Campus Araquari, Araquari 89245-000, Brazil
*
Author to whom correspondence should be addressed.
Submission received: 26 May 2022 / Revised: 26 June 2022 / Accepted: 28 June 2022 / Published: 29 June 2022

Abstract

:
The detection of kidding in production animals is of the utmost importance, given the frequency of problems associated with the process, and the fact that timely human help can be a safeguard for the well-being of the mother and kid. The continuous human monitoring of the process is expensive, given the uncertainty of when it will occur, so the establishment of an autonomous mechanism that does so would allow calling the human responsible who could intervene at the opportune moment. The present dataset consists of data from the sensorization of 16 pregnant and two non-pregnant Charnequeira goats, during a period of four weeks, the kidding period. The data include measurements from neck to floor height, measured by ultrasound and accelerometry data measured by an accelerometer existing at the monitoring collar. Data was continuously sampled throughout the experiment every 10 s. The goats were monitored both in the goat shelter (day and night) and during the grazing period in the pasture. The births of the animals were also registered, both in terms of the time at which they took place, but also with details regarding how they took place and the number of offspring, and notes were also added.
Dataset License: CC BY 4.0

1. Introduction

Animal monitoring based on ICT technologies is part of the smart-farming trend and has been receiving enormous attention in the last five years, both from academia and the business sector. Electronic monitoring of animals is of enormous importance, as it allows the human operator to be freed from the task and the consequent reduction of inherent costs. In the case of birth monitoring, monitoring also has an additional motivation, given the need to intervene in the birthing process due to the frequent problems associated with births, and to ensure animal welfare.
Sensors have several potential applications in modern livestock farming and are considered one of the most promising techniques in animal monitoring is the use of inertial sensors [1], due to their low cost and their ability to characterize animal behavior. The process consists of the periodic sensing of animal behavior data and the subsequent use of computer learning techniques in order to teach a machine about the desired behavior, so that the machine can later autonomously detect it [2,3].
Accelerometer sensors (neck, leg, and ear tags) have been developed for early detection of diseases or lameness in cattle and thus pain and stress [4,5], to study feed intake and feeding behavior (e.g., rumination time) in cows [2], in sheep [6,7,8,9], and in goats [10,11,12]. Moreover, in dairy cattle accelerometer sensors are used for calving and estrus detection [13].
The present dataset was generated from a set of Charnequeira goats from the INIAV flock, to which iFarmTec (Aveiro, Portugal) [14] collars were applied, before, during and in the postpartum period. Behavior data were sampled every 10 s and recorded on a 24/7 basis. In addition to these data, data about the births were recorded, such as the date/time at which they occurred, the place, the gender of the offspring, the number and the weight of the offspring born, and, additional, details such as the need for human intervention.
These data were collected to enhance knowledge of goat behaviors both indoors and at pasture. Goats were monitored 24/7, thus all types of behaviors have been recorded: from sleeping habits to feeding behavior, from kidding to suckling their kids, passing though social interactions and welfare. The development of an alert system based on this data, has the potential to reduce labor costs and animal mortality and increase goat farms’ performance.
The document continues with the characterization of the dataset and description of the data structure in Section 2 and with the description of the notes about deliveries in Section 3. Section 4 describes the data collection methodology and Section 5 concludes the paper.

2. Data Description

2.1. Dataset Summary

The original dataset contains 1,947,349 records collected during the interval between April 2022 and May 2022, considering the two environments (shelter and pasture). Section 2.2 presents the steps to process the original data, including transformation and adjusting of data.
The final dataset, described in Table 1, has 1,565,813 records ordered and summarized by index columns (ID, year, month, day, hour, minute, and second).
ID represents the identification of the animal; the timestamp stores the instant of the record produced by the collar. Year, month, day, hour, minute, second, and wd are derived measures computed from the timestamp value.
The location where the goats stay when the collar record is produced is stored in the attribute named “env”; the “p” value represents pasture, and the shelter by the “c” value. Information about the animal’s partum is represented by the attribute “partum”: “0” means no kidding, “1” one kid, “2” two kids, and “3” three kids.
The neck distance to the ground is stored in the Dist attribute. The attribute Pitch holds the measures of the inclination angle related to the horizontal plane, and Roll represents the rotation angle.
They were collected 1,201,247 records in the shelter and 364,566 in the pasture. The records produced during kidding events, distributed along the hour dimension, are presented in Figure 1.
The attributes correlation is the content of Figure 2. Correlation is a coefficient to represent the strength of a linear association between two variables. A perfect linear relationship is characterized by absolute value 1, and values close to 0 indicate no linear relationship. The data distribution along the hour, considering the combinations among localization (Shelter, Pasture) and kidding (0 or >0), is presented in Figure 3.
The quartiles of Pitch and Roll attributes are the contents of Figure 4 and Figure 5. For each hour, values of the Mean, Std (Standard Deviation), Min (Minimal), 25% (quartile 1), 50% (quartile 2), 75% (quartile 3), and Max (Maximal) related to values of Pitch and Roll are presented.
Finally, Figure 6 and Figure 7 represent the daily distribution of gathered records. Figure 6 presents pasture values, and the complete dataset is represented by Figure 7.

2.2. Dataset Preparation

Figure 8 shows the complete method designed to prepare the final dataset. The process contains four steps:
(a)
concatenation: concatenation of daily files content, from the both gateways
(b)
duplicates elimination: elimination of record duplicates and malformed records removal
(c)
additional attributes: insertion of additional attributes
(d)
partum annotation: record annotation with partum information.
Figure 8. Data processing.
Figure 8. Data processing.
Data 07 00089 g008
The original dataset is composed of daily files produced by the gateways that continuously store gathered data, one at the shelter, the other at the pasture; Table 2 presents the attributes for each file. Each record is produced at a frequency of 10 s.
A file contains records of different collars of a day. Therefore, the first step of the process is to concatenate the files to produce a single dataset (a). In the following, the duplicated records are removed from the file (b). Attributes representing year, month, day, hour, minute, second, and weekday are computed in the next step (c). Also, the attribute env is created in this step; the goal is to store the localization of the goat.
Finally, the annotation of the animal’s partum happens in the last step (d). The values are recorded in the Partum attribute. Table 3 presents some examples of these annotations.

3. Kidding Annotations

In addition to being monitored by the collar, the births were visually monitored, and the details related to the process were recorded, such as the date and time, the gender, the type of partum (single, double, or triple), the kid’s weight and the place where it took place, as well as a set of separate notes. The annotations were verified by INIAV staff and transcribed to Table 3.
A brief note should be given regarding collar 17 which was migrated from an animal (goat 41) to another animal (goat 46), after the first goat had suffered a leg injury and was thereby immobilized. The transfer was carried out on day 28 May 2022 and the collar accompanied the goat when giving birth to its two kids.
An additional note should be added that has to do with the typical behavior of mammals after kidding. They caress their cubs, licking them, as illustrated in the photograph in the Figure 9.

4. Data Gathering Methods

Data were captured over four weeks using iFarmTec [14] collars on 16 pregnant Charnequeira goats, encompassing the animals’ kidding time. Data from two control non-pregnant goats were also collected. The collars were integrated into the monitoring platform, illustrated in Figure 10, making periodic communications whose data were stored in the gateway [15]. Collars include an ultrasound sensor that measures the neck distance to the ground, an accelerometer and a magnetometer [3] and have been parameterized to sample data every 10 s and to forward the gathered data to the infrastructure.
The experience started at 13 April and lasted until 16 May 2022, and collars were kept on the goat’s neck throughout the period. The wireless sensor network deployed had two gateways simultaneously connected, so animal collar communications were received both when they were in the shelter and at the pasture. A single beacon was attached to each gateway, limiting radio coverage with the collars, which meant that some messages sent periodically were not received. Given the extension of the meadow where the animals grazed (Figure 11), there were some communication failures, as can be seen in the volume of records from the pasture set.
The animals’ routine remained unchanged during the time of the experiment, spending part of the daytime period in the pasture (Figure 11 and Figure 12), and the nighttime period inside the shelter.

5. Conclusions

Present dataset was created based on data gathered by iFarmTec collars, applied to 16 pregnant and two non-pregnant goats for control purposes. The tests were carried out between 13 April and 16 May 2022, at the INIAV facilities at Quinta da Boa Fonte in Vale de Santarem. Animals kept their collars in a 24/7 period and the data was collected by a pair of gateways, one present at the shelter, the other at the pasture.
The dataset includes 1,565,813 records, and it covers the period the goats kidded, some in the shelter and other on the pasture. Additionally, present paper includes annotations taken during human supervision of kidding process adding some details to the dataset information.

Author Contributions

Conceptualization, P.G., M.R.M., A.T.B. and A.M.; methodology P.G., M.R.M., A.T.B., A.M. and F.B.; software, F.B.; validation, P.G., M.R.M., A.T.B., A.M. and F.B.; formal analysis F.B.; investigation, P.G., M.R.M., A.T.B. and F.B.; resources, P.G., M.R.M. and A.T.B.; data curation, P.G. and F.B.; writing—original draft preparation, P.G., M.R.M., A.T.B., A.M. and F.B.; writing—review and editing, P.G., M.R.M., A.T.B., A.M. and F.B.; visualization, P.G., M.R.M., A.T.B., A.M. and F.B. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by European Fund for Regional Development (ERDF), project VegMedCabras—ALT20-03-0145-FEDER-000009, and by FCT/MCTES through national funds and when applicable co-funded EU funds under the project UIDB/50008/2020-UIDP/50008/2020.

Institutional Review Board Statement

Ethical review and approval were waived for this study due to REASON that the system does not interfere with animals.

Informed Consent Statement

Not applicable.

Data Availability Statement

Data available at https://figshare.com/s/925215e8ea73da4b01f2, 25 May 2022.

Acknowledgments

The authors take the opportunity to thank José Pereira from iFramTec for the support in the maintenance of the collars.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Riaboff, L.; Shalloo, L.; Smeaton, A.F.; Couvreur, S.; Madouasse, A.; Keane, M.T. Predicting Livestock Behaviour Using Accelerometers: A Systematic Review of Processing Techniques for Ruminant Behaviour Prediction from Raw Accelerometer Data. Comput. Electron. Agric. 2022, 192, 106610. [Google Scholar] [CrossRef]
  2. Borchers, M.R.; Chang, Y.M.; Tsai, I.C.; Wadsworth, B.A.; Bewley, J.M. A Validation of Technologies Monitoring Dairy Cow Feeding, Ruminating, and Lying Behaviors. J. Dairy Sci. 2016, 99, 7458–7466. [Google Scholar] [CrossRef] [PubMed]
  3. Nóbrega, L.; Gonçalves, P.; Antunes, M.; Corujo, D. Assessing Sheep Behavior through Low-Power Microcontrollers in Smart Agriculture Scenarios. Comput. Electron. Agric. 2020, 173, 105444. [Google Scholar] [CrossRef]
  4. Van Hertem, T.; Bahr, C.; Tello, A.S.; Viazzi, S.; Steensels, M.; Romanini, C.E.B.; Lokhorst, C.; Maltz, E.; Halachmi, I.; Berckmans, D. Lameness Detection in Dairy Cattle: Single Predictor v. Multivariate Analysis of Image-Based Posture Processing and Behaviour and Performance Sensing. Animal 2016, 10, 1525–1532. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  5. Thorup, V.M.; Nielsen, B.L.; Robert, P.E.; Giger-Reverdin, S.; Konka, J.; Michie, C.; Friggens, N.C. Lameness Affects Cow Feeding but Not Rumination Behavior as Characterized from Sensor Data. Front. Vet. Sci. 2016, 3, 37. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  6. Nobrega, L.; Tavares, A.; Cardoso, A.; Goncalves, P. Animal Monitoring Based on IoT Technologies. In Proceedings of the 2018 IoT Vertical and Topical Summit on Agriculture—Tuscany (IOT Tuscany), Tuscany, Italy, 8–9 May 2018; pp. 1–5. [Google Scholar]
  7. Mansbridge, N.; Mitsch, J.; Bollard, N.; Ellis, K.; Miguel-Pacheco, G.G.; Dottorini, T.; Kaler, J. Feature Selection and Comparison of Machine Learning Algorithms in Classification of Grazing and Rumination Behaviour in Sheep. Sensors 2018, 18, 3532. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  8. Ikurior, S.J.; Marquetoux, N.; Leu, S.T.; Corner-thomas, R.A.; Scott, I.; Pomroy, W.E. What Are Sheep Doing? Tri-axial Accelerometer Sensor Data Identify the Diel Activity Pattern of Ewe Lambs on Pasture. Sensors 2021, 21, 6816. [Google Scholar] [CrossRef] [PubMed]
  9. Walton, E.; Casey, C.; Mitsch, J.; Vázquez-Diosdado, J.A.; Yan, J.; Dottorini, T.; Ellis, K.A.; Winterlich, A.; Kaler, J. Evaluation of Sampling Frequency, Window Size and Sensor Position for Classification of Sheep Behaviour. R. Soc. Open Sci. 2018, 5, 171442. [Google Scholar] [CrossRef] [PubMed] [Green Version]
  10. Chebli, Y.; el Otmani, S.; Hornick, J.L.; Keli, A.; Bindelle, J.; Chentouf, M.; Cabaraux, J.F. Using GPS Collars and Sensors to Investigate the Grazing Behavior and Energy Balance of Goats Browsing in a Mediterranean Forest Rangeland. Sensors 2022, 22, 781. [Google Scholar] [CrossRef] [PubMed]
  11. Dickinson, E.R.; Twining, J.P.; Wilson, R.; Stephens, P.A.; Westander, J.; Marks, N.; Scantlebury, D.M. Limitations of Using Surrogates for Behaviour Classification of Accelerometer Data: Refining Methods Using Random Forest Models in Caprids. Mov. Ecol. 2021, 9, 28. [Google Scholar] [CrossRef] [PubMed]
  12. Maurmann, I.; Greiner, B.A.E.; von Korn, S.; Bernau, M. Lying Behaviour in Dairy Goats: Effects of a New Automated Feeding System Assessed by Accelerometer Technology. Animals 2021, 11, 2370. [Google Scholar] [CrossRef] [PubMed]
  13. Benaissa, S.; Tuyttens, F.A.M.; Plets, D.; Trogh, J.; Martens, L.; Vandaele, L.; Joseph, W.; Sonck, B. Calving and Estrus Detection in Dairy Cattle Using a Combination of Indoor Localization and Accelerometer Sensors. Comput. Electron. Agric. 2020, 168, 105153. [Google Scholar] [CrossRef]
  14. Ifarmtec Webpage. Available online: http://www.ifarmtec.pt (accessed on 20 May 2022).
  15. Nóbrega, L.; Gonçalves, P.; Pedreiras, P.; Pereira, J. An IoT-Based Solution for Intelligent Farming. Sensors 2019, 19, 603. [Google Scholar] [CrossRef] [PubMed] [Green Version]
Figure 1. Kidding event hourly distribution.
Figure 1. Kidding event hourly distribution.
Data 07 00089 g001
Figure 2. Attributes correlations.
Figure 2. Attributes correlations.
Data 07 00089 g002
Figure 3. Hourly distribution (Kidding and presence).
Figure 3. Hourly distribution (Kidding and presence).
Data 07 00089 g003
Figure 4. Evolution of Pitch angle.
Figure 4. Evolution of Pitch angle.
Data 07 00089 g004
Figure 5. Evolution of Roll angle during pasture stay.
Figure 5. Evolution of Roll angle during pasture stay.
Data 07 00089 g005
Figure 6. Pasture record distribution.
Figure 6. Pasture record distribution.
Data 07 00089 g006
Figure 7. Daily distribution of gathered records.
Figure 7. Daily distribution of gathered records.
Data 07 00089 g007
Figure 9. Detail of a goat licking its kid after giving birth.
Figure 9. Detail of a goat licking its kid after giving birth.
Data 07 00089 g009
Figure 10. Collar integration in the monitoring platform.
Figure 10. Collar integration in the monitoring platform.
Data 07 00089 g010
Figure 11. Animals on pasture.
Figure 11. Animals on pasture.
Data 07 00089 g011
Figure 12. Goat wearing a sensoring collar to monitor grazing behavior in pasture.
Figure 12. Goat wearing a sensoring collar to monitor grazing behavior in pasture.
Data 07 00089 g012
Table 1. Final dataset structure.
Table 1. Final dataset structure.
AttributeContent
IDAnimal Identification
timestampTimestamp of record
yearYear
monthMonth
dayDay
hourHour
minuteMinute
secondSecond
wdWeekday
envEnvironment (‘c’—shelter, ‘p’—pasture)
Partum(0—no, 1—single, 2—double, 3—triple …)
DistNeck distance to ground (mm)
PitchPitch angle (degrees)
RollRoll angle (degrees)
DxAccelerometer delta in X axis
DyAccelerometer delta in Y axis
DzAccelerometer delta in Z axis
Table 2. Daily file attributes.
Table 2. Daily file attributes.
AttributeContent
IDAnimal Identification
timestampTimestamp of record
DistNeck distance to ground (mm)
PitchPitch angle (degrees)
RollRoll angle (degrees)
DxAccelerometer delta in X axis
DyAccelerometer delta in Y axis
DzAccelerometer delta in Z axis
Table 3. Birth detail annotations.
Table 3. Birth detail annotations.
CollarDateHourTypeSexWeigh (Kg)LocalObservations
C7_0719 April 202214:10DoubleFemale3.300ShelterWith help
C7_0719 April 202214:30DoubleFemale2.280Shelter
C9_7720 April 202214:30DoubleMale3.200PastureNot sure of the time
C9_7720 April 202214:45DoubleMale3.260PastureNot sure of the time
C2_4422 April 202215:53DoubleFemale3.040Shelter
C2_4422 April 202216:30DoubleFemale3.300Shelter
C17_4123 April 2022<17:00DoubleFemale3.150ShelterNot sure of the time
C17_4123 April 2022~17:00DoubleFemale2.950ShelterNot sure of the time
C13_7824 April 2022~16:00SimplesMale3.445PastureNot sure of the time
C14_0825 April 202216:45TripleFemale2.100Shelter
C14_0825 April 202217:30TripleFemale2.495Shelter
C14_0825 April 202218:15TripleMale3.300Shelter
C8_1728 April 2022<14:20TripleFemale2.830PastureNot sure of the time
C8_1728 April 202216:15TripleMale3.430ShelterWith help—ended up dying
C8_1728 April 202216:30TripleFemale2.150ShelterWith help
C18_7628 April 2022<14:20SingleFemale2.930Pasture
C6_692 April 202213:30SingleFemale3.100Shelter
C17_463 May 202217:53DoubleMale3.020Shelter
C17_463 May 202217:55DoubleFemale1.495Shelter
C15_604 May 2022 DoubleFemale2.970PastureDuring the afternoon
C15_604 May 2022 DoubleFemale3.400PastureDuring the afternoon
C19_685 May 2022 TripleMale3.530ShelterWithout the collar; it was charging
C19_685 May 2022 TripleFemale2.555ShelterWithout the collar; it was charging
C19_685 May 2022 TripleFemale1.820ShelterWithout the collar; it was charging
C1_7412 May 20229:30SingleMale3.555Pasture
C5_4712 May 202213:20SingleFemale2.150ShelterWith help—ended up dying two days later
C20_9312 May 202214:45SingleFemale3.285ShelterWith help
C10_4012 May 202222:40DoubleFemale3.620Shelter
C10_4012 May 202222:55DoubleMale3.985ShelterWith a little help
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Gonçalves, P.; Marques, M.R.; Belo, A.T.; Monteiro, A.; Braz, F. Goat Kidding Dataset. Data 2022, 7, 89. https://doi.org/10.3390/data7070089

AMA Style

Gonçalves P, Marques MR, Belo AT, Monteiro A, Braz F. Goat Kidding Dataset. Data. 2022; 7(7):89. https://doi.org/10.3390/data7070089

Chicago/Turabian Style

Gonçalves, Pedro, Maria R. Marques, Ana T. Belo, António Monteiro, and Fernando Braz. 2022. "Goat Kidding Dataset" Data 7, no. 7: 89. https://doi.org/10.3390/data7070089

Article Metrics

Back to TopTop