Social network analysis is an invaluable tool to understand the patterns, evolution, and consequences of sociality. Comparative studies over a range of social systems across multiple taxonomic groups are particularly valuable. Such studies however require quantitative social association or interaction data across multiple species which is not easily available. We introduce the Animal Social Network Repository (ASNR) as the first multi-taxonomic repository that collates 790 social networks from more than 45 species, including those of mammals, reptiles, fish, birds, and insects. The repository was created by consolidating social network datasets from the literature on wild and captive animals into a consistent and easy-to-use network data format. The repository is archived at https://bansallab.github.io/asnr/. ASNR has tremendous research potential, including testing hypotheses in the fields of animal ecology, social behavior, epidemiology and evolutionary biology.
species comparison design • network analysis objective • data integration objective
social interaction measurement
Taxon • experimental condition • geographic location
Gasterosteus aculeatus • Poecilia reticulata • Hirundo rustica • Branta leucopsis • Gallus gallus • Haemorhous mexicanus • Zonotrichia atricapilla • Acanthiza • Philetairus socius • Aves • Camponotus fellah • Camponotus pennsylvanicus • Bolitotherus cornutus • Elephas maximus • Papio cynocephalus • Desmodus rotundus • Myotis sodalis • Bison bison • Bos taurus • Tursiops truncatus • Mirounga angustirostris • Crocuta crocuta • Macropus giganteus • Trichosurus cunninghami • Ateles geoffroyi • Macaca fuscata • Macaca mulatta • Macaca radiata • Macaca tonkeana • Pan paniscus • Pan troglodytes • Papio papio • Saguinus fuscicollis • Saguinus mystax • Trachypithecus johnii • Alouatta guariba • Brachyteles arachnoides • Sapajus apella • Cercopithecus campbelli • Colobus guereza • Erythrocebus patas • Macaca arctoides • Macaca assamensis • Procyon lotor • Ovis canadensis • Ateles hybridus • Microtus agrestis • Equus • Gopherus agassizii • Tiliqua rugosa
Machine-accessible metadata file describing the reported data (ISA-Tab format)
Background & Summary
Network analysis is a central approach in several basic and applied research areas of ecology and evolutionary biology, including behavioral ecology, epidemiology, spatial ecology, and social evolution1. Recently, researchers have demonstrated the utility of network analysis in explaining the transmission of social information in animal groups2,3, evolution of cultural behavior4, epidemiological consequences of group substructure5, mechanisms of infectious disease transmission in animal groups5,6,7, and emergence of collective behavior8. Network analysis leverages detailed social association, interaction and movement data and allows for the incorporation of heterogeneity at the individual scale to explain population level processes, as well as the ability to objectively quantify the organization of social interactions and dynamics of group behavior.
Recent advances in computational power and technological tools, such as proximity loggers and radio-frequency identification, have facilitated the collection of association and interaction data9. And with the open science movement gaining steady momentum10, a culture of making research data and experimental methods publicly available and transparent has unleashed valuable social network data for use by all researchers. For the first time, there is thus an opportunity to carry out comparative network studies across multiple species to identify general patterns and generate broad principles5. However, such studies are currently challenging due to differences in data collection methods, a lack of standardized formats for published data, and the absence of a centralized data repository11. While such repositories exist for human interaction data12,13,14,15, there is a gap for social network datasets across multiple taxonomic groups.
Here, we introduce the Animal Social Network Repository (ASNR), which fills this gap by providing access to networks of social associations or interactions across multiple taxonomic groups organized in a consistent network file format. The repository provides opportunities for: (a) field biologists to generate preliminary hypotheses and plan for data collection (including the resolution, duration and quality) required to test their hypotheses; (b) empiricists to evaluate the effects of data collection methods on observed network properties and characteristics; (c) behavioral ecologists to compare social structures within and across broad taxonomic groups; (d) network scientists to analyze the patterns and function of dynamic networks; (e) evolutionary biologists to understand the drivers for the emergence of disparate network structure across different species; and (f) and disease ecologists to understand the eco-epidemiological implications of the evolved network structure. The repository thus has tremendous research potential in the fields of ecology, epidemiology, evolution, behavior, and beyond.
The data repository was collated by reviewing published literature and popular data repositories, including the Dryad Digital Repository, Harvard Dataverse and figshare, for social network datasets associated with peer-reviewed publications. We used terms such as “social network”, “social structure”, “interaction network”, “animal networks”, “network behavior”, among others, to perform our electronic search. Additional network datasets were acquired through convenience sampling by directly contacting the authors of published studies without open data. Only studies on non-human species were included, and studies reporting non-interaction or non-association networks such as biological networks or food-web networks were excluded. Studies that did not include enough information for networks to be re-created were also excluded. By reviewing the quality of the remaining published datasets (see Technical Validation), a total of 790 social networks from more than 45 animal species and 18 taxonomic orders were selected for the data repository.
The social network files from this study are available through the ASNR website (https://bansallab.github.io/asnr) and Harvard Dataverse16. The Harvard Dataverse version is a snapshot of the dataset to match the information given in this Data Descriptor. The file ‘Network_summary_master_file.csv’ at Harvard Dataverse summarizes the dataset. The ASNR website serves as a dynamic platform, where new network datasets can be curated and added. For easy access to the datasets, the repository is organized into sections each representing a unique taxonomic group. Each section further consists of a set of social networks which were collected together with the same sampling method. The datasets are uniquely identified with the animal species first, followed by the association or interaction type and ending with the edge weight criteria (weighted or unweighted). In cases where multiple networks are available within each dataset, each social network is assigned a unique identifier. A readme file is also included with each dataset that summarizes structural features of the networks and provides information on the original source.
Each network dataset is provided in the GraphML format17. GraphML is a flexible and convenient XML format for storing network information. It supports unweighted, weighted, undirected and directed networks and allows for the definition of node and edge attributes.
Our validation process consisted of data-type and constraint validation, structural validation, and cross-reference and ecological validation. All data collection and validation steps were carried out by two co-authors (PS and JM).
Data-type and constraint validation
The first step involved quality checks to ensure that the original data contained enough information to enable reconstruction of social network(s). All datasets were acquired in electronic format in one of the following four network data structures: edgelists, adjacency matrices, adjacency lists or group membership dataframes. All data was classified into nodes, edges or attribute data. All node ids were verified to be of the same type (e.g. integer or string). All edges were verified to be between nodes in the node list, or were added as nodes to the node list. All attribute data was verified to correspond to an existing node or edge.
We next validated the structural integrity of the network described in the original data-source by removing all edges that connected any node to itself (i.e. self loops). Any duplicate edges were also removed. Individuals with no edges (i.e. isolated nodes) were not removed from the network.
The ASNR currently only contains static networks. Thus, multiple associations or interactions reported between the same node pair at different time-points were replaced with weighted edges, with weights representing the association/interaction frequency.
Cross-reference and ecological validation
For detecting errors in the data mining and GraphML conversion process, we calculated network summary statistics (e.g. number of nodes, number of edges, clustering coefficient) for each network and cross-checked them against the network description in the original publication. The structures of each converted network file were also cross-checked to ensure consistency within the ecological context of data collection. For example, networks of the same group of individuals of a species that were collected over mating vs. non-mating season are expected to differ in terms of their network densities.
In the sections below, we characterize the phylogenetic and geographical distribution, data collection methodology, and structural similarity of the networks included in the repository.
Phylogenetic and geographic distribution
The phylogenetic distribution of the taxonomic groups currently included in the repository is shown in Fig. 1. While mammals are the most studied taxa, social networks from other taxa including reptiles, birds, insects, and fish also exist.
The geographical locations where data for each social network were collected is shown in Fig. 2. The United States contributes the largest number of studies and the repository contains data from Central and South America, Europe, Africa, Asia and Australia. Additionally, most studies are in free-ranging populations.
The behavioral data span a range of social associations from direct physical contacts such as grooming and trophallaxis to indirect interactions such as spatial proximity and association (Fig. 1).
Additionally, contact intensity were distributed across six categories–unweighted (i.e., all edges have weight equal to one), contact frequency, contact duration, simple ratio index18, twice weight index19, and half weight index18 (Fig. 1).
Data collection methodology
Figure 3 summarizes the methodology and data collection techniques described in original data sources that were used to collect the networks. We highlight that studies rely on a variety of data collection methodologies and timescales, reflecting empirical constraints and the disparate scientific purposes of each study. It is important that future comparative studies take these differences into account11.
Assessing network structure
We used the Python NetworkX package20 to examine the structural properties of the social networks associated with each species. We calculated the following structural properties for each social network in the repository: total nodes, total edges, network density, network average degree, degree heterogeneity, degree assortativity, average clustering coefficient (unweighted and weighted), transitivity, average betweenness centrality (unweighted and weighted), average clustering coefficient (weighted and unweighted), Newman modularity, maximum modularity, relative modularity, group cohesion, and network diameter. These network metrics are defined in Table 1.
In Fig. 4 we capture the structural similarity between the social networks included in the repository. Social networks of mammals tend to cluster together, although some structural overlap also exists with the social networks of insects and fish. Social networks that describe spatial proximity, physical contact or grooming interactions between individuals tend to be structurally similar.
There are several open-source network libraries that can be used to analyze and visualize the networks provided in GraphML format at ASNR. Examples of network analysis and visualization softwares include NetworkX in Python, igraph in R, Cytoscape, yEd and Gephi.
All code for data characterization has been written in Python using the Networkx package. The code is open source at https://github.com/bansallab/asnr/.
Krause, J., James, R., Franks, D. & Croft, D. Animal social networks. (Oxford University Press, USA, 2014).
Jones, T. B., Aplin, L. M., Devost, I. & Morrand-Ferron, J. Individual and ecological determinants of social information transmission in the wild. Anim Behav. 129, 93–101 (2017).
Allen, J., Weinrich, M., Hoppitt, W. & Rendell, R. Network-based diffusion analysis reveals cultural transmission of lobtail feeding in humpback whales. Science. 340, 485–488 (2013).
Mann, J., Stanton, M., Patterson, E., Bienenstock, E. & Singh, L. Social networks reveal cultural behaviour in tool-using using dolphins. Nat Commun. 3, 980 (2012).
Sah, P., Leu, S., Cross, P., Hudson, P. & Bansal, S. Unraveling the disease consequences and mechanisms of modular structure in animal social networks. PNAS. 201613616 (2017).
VanderWaal, K., Enns, E., Picasso, C., Packer, C. & Craft, M. Evaluating empirical contact networks as potential transmission pathways for infectious diseases. J R Soc Interface 13, 20160166 (2016).
Colman, E. & Bansal, S. Social fluidity mobilizes infectious disease in human and animal populations. Biorxiv. 170266 (2017).
Aplin, L., Farine, D., Mann, R. & Sheldon, B. Individual-level personality influences social foraging and collective behaviour in wild birds. Proc R Soc Lond B 281, 20141016 (2014).
Krause, J. et al. Reality mining of animal social systems. TREE 28, 541–51 (2013).
Gewin, V. Data sharing: An open mind on open data. Nature. 529, 117–119 (2016).
Sah, P., Mann, J. & Bansal, S. Disease implications of animal social network structure: a synthesis across social systems. J Anim Ecol 87, 546–558 (2018).
Rossi, R. A. & Ahmed, N. K. The Network Data Repository with Interactive Graph Analytics and Visualization. Proceedings of the Twenty-Ninth AAAI Conference on Artificial Intelligence. http://networkrepository.com (2015).
DuBois, C. L. & Smyth, P. UCI Network Data Repository. https://networkdata.ics.uci.edu/ (2008).
Leskovec J. & Krevl A. Stanford Large Network Dataset Collection. http://snap.stanford.edu/data (2014).
Clauset, A., Tucker E. & Sainz, M. The Colorado Index of Complex Networks. https://icon.colorado.edu/ (2016).
Sah, P., Mendez, J. & Bansal, S. Animal Social Network Repository. Harvard Dataverse, https://doi.org/10.7910/DVN/N5YHLL (2018).
Brandes, U., Eiglsperger, M., Herman, I., Himsolt, M. & Marshall, S. GraphML progress report structural layer proposal. International Symposium On Graph Drawing. 501–512 (2001).
Farine, D. & Whitehead, H. Constructing, conducting and interpreting animal social network analysis. J Anim Ecol 8, 1144–1163 (2015).
Croft, D., James, R. & Krause, J. Exploring animal social networks. (Princeton University Press USA, 2008).
Hagberg, A., Swart, P. & Schult, D. Exploring network structure, dynamics, and function using NetworkX. (Los Alamos National Lab, 2008).
Saramäki, J., Kivelä, M., Onnela, J., Kaski, K. & Kertész, J. Generalizations of the clustering coefficient to weighted complex networks. Phys Rev E Stat Nonlin Soft Matter Phys 75, 2–5 (2007).
Newman, M. Modularity and community structure in networks. PNAS. 103, 8577–82 (2006).
Blondel, V., Guillaume, J., Lambiotte, R. & Lefebvre, E. Fast unfolding of communities in large networks. Journal Of Statistical Mechanics: Theory And Experiment 2008, P10008 (2008).
This work was supported by the National Science Foundation Ecology and Evolution of Infectious Diseases Grant DEB-1216054 and DEB-1414296.
The authors declare no competing interests.
Publisher’s note: Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
ISA-Tab metadata file
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/.
The Creative Commons Public Domain Dedication waiver http://creativecommons.org/publicdomain/zero/1.0/ applies to the metadata files associated with this article.
About this article
Cite this article
Sah, P., Méndez, J.D. & Bansal, S. A multi-species repository of social networks. Sci Data 6, 44 (2019). https://doi.org/10.1038/s41597-019-0056-z
This article is cited by
Social Support and Network Formation in a Small-Scale Horticulturalist Population
Scientific Data (2022)
Chimpanzees organize their social relationships like humans
Scientific Reports (2022)
Evolution of social behaviour in an infectious world: comparative analysis of social network structure versus parasite richness
Behavioral Ecology and Sociobiology (2021)
The role of social structure and dynamics in the maintenance of endemic disease
Behavioral Ecology and Sociobiology (2021)