A dataset of positive social interactions between pigs. All pen attributes file describes the physical environment experienced for each pig. All pen behaviours describes the social interactions and initiator and recipient identity. Codes for the various column headings are included as notes or in the heading text.