{'fraction_non_alphanumeric': 0.03236716875761985, 'fraction_numerical': 0.022653085303024345, 'mean_word_length': 4.712873511570433, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 1, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Pig trade networks through live pig markets in Guangdong Province, China

Abstract This study used social network analysis to investigate the indirect contact network between counties through the movement of live pigs through four wholesale live pig markets in Guangdong Province, China. All 14,118 trade records for January and June 2016 were collected from the markets and the patterns of pig trade in these markets analysed. Maps were developed to show the movement pathways. Evaluating the network between source counties was the primary objective of this study. A 1‐mode network was developed. Characteristics of the trading network were explored, and the degree, betweenness and closeness were calculated for each source county. Models were developed to compare the impacts of different disease control strategies on the potential magnitude of an epidemic spreading through this network. The results show that pigs from 151 counties were delivered to the four wholesale live pig markets in January and/or June 2016. More batches (truckloads of pigs sourced from one or more piggeries) were traded in these markets in January (8,001) than in June 2016 (6,117). The pigs were predominantly sourced from counties inside Guangdong Province (90%), along with counties in Hunan, Guangxi, Jiangxi, Fujian and Henan provinces. The major source counties (46 in total) contributed 94% of the total batches during the two‐month study period. Pigs were sourced from piggeries located 10 to 1,417 km from the markets. The distribution of the nodes' degrees in both January and June indicates a free‐scale network property, and the network in January had a higher clustering coefficient (0.54 vs. 0.39) and a shorter average pathway length (1.91 vs. 2.06) than that in June. The most connected counties of the network were in the central, northern and western regions of Guangdong Province. Compared with randomly removing counties from the network, eliminating counties with higher betweenness, degree or closeness resulted in a greater reduction of the magnitude of a potential epidemic. The findings of this study can be used to inform targeted control interventions for disease spread through this live pig market trade network in south China.

Besides movement of live animals, attention has also focused on the network of indirect contacts between farms (Brennan, Kemp, & Christley, 2008;Dent, Kao, Kiss, Hyder, & Arnold, 2008;Rossi et al., 2017), because many animal diseases, including swine influenza (SI) and African swine fever (ASF), can spread indirectly via contaminated fomites (e.g. vehicles, equipment and clothing) and people (Grontvedt et al., 2013;Lauterbach et al., 2018). A previous study in southern China highlighted the use of poor biosecurity practices by local pig farmers when selling pigs as less than half of the farms implemented an 'all-in-all-out' practice for pigs in a pen; thirty per cent of buyers entered a piggery to select and collect pigs; and only about half of the surveyed farms always required all external vehicles to be disinfected (Li et al., 2019). These behaviours in pig trade have the potential to facilitate the spread of contagious diseases via live pig trade networks.
Although pigs are usually transported directly from farms to slaughterhouses in most provinces of China, there is trade of live pigs through wholesale markets in Guangdong Province, in south China.
Estimations have suggested that around 10% of the pigs slaughtered in the province, were traded through wholesale live pig markets (P. Chen, personal communication, July 10, 2018). Home slaughter of pigs is illegal in Guangdong Province and is rarely considered to occur in the field (People's Government of Guangdong Province, 2011).
Small abattoirs in townships offer a slaughter service at a cost of 30 RMB (4.5 USD) per head. Abattoirs with larger slaughter capacity are usually located in suburban areas of a city. All wholesale live pig markets in this province are located in the cities of Guangzhou and Foshan, and it is estimated that approximately 5.7 million pigs are supplied annually to these two cities via live pig markets (P. Chen, personal communication, July 10, 2018). Approximately 90% of the pigs traded at these markets originate from piggeries located within Guangdong Province (P. Chen, personal communication, July 10, 2018). In 2015, small piggeries, that sell <50 pigs in a year, contributed 87.5% of the total number of pig farms in Guangdong Province (Statistic Beurau of Guangdong Province, 2016). The live pig traders or their employees usually visit pig farms in several counties every day to collect pigs for subsequent resale in the markets. These pigs are transported to the markets in trucks either owned or hired by the traders, and which usually carry pigs sourced from multiple piggeries. However, some pig farmers transport their pigs directly to the live pig markets. At the markets, the traders rent pens which are used to contain pigs purchased from multiple pig farms. The pens are separated from each other by either an open metal fence or a low brick wall (approximately 1 m high). Pigs are then purchased by butchers/meat sellers. Some pig traders will offer a 'slaughter and delivery service' where the pigs selected by the butchers are identified and sent to a slaughterhouse, with the carcass subsequently delivered directly to the meat seller's stall. The meat sellers' stalls are not in the live pig trade markets and are often in a vegetable and meat market near residential areas. No pork is sold in these live pig trade markets. Pigs may stay in the markets for hours to days until being sent to slaughterhouses.
In 2016, the pig population in Guangdong Province was estimated at 20.5 million (Ministry of Agriculture & Rural Affairs, 2017) and the province is considered a key area for the emergence of some important swine diseases in China. For example, the first case of FMD subtype A infection in a pig was found in the province in 2013 (OIE, 2018) and in 2018, a novel coronavirus, swine acute diarrhoea syndrome coronavirus, was identified as the pathogen causing high mortality in four commercial pig farms in the province (Zhou et al., 2018). There are also a variety of influenza strains circulating in pigs in the province and surveillance data indicates that the gene reassortment among local isolates is far more complicated than that among isolates from other Chinese provinces (Cao et al., 2013;Liu et al., 2011;Ninomiya, Takada, Okazaki, Shortridge, & Kida, 2002;Xie et al., 2014;Yang et al., 2016;Zhou et al., 2014).
The live animal market trade system plays a critical role in the circulation of pathogens among areas in China, especially for long-distance disease spread (Martin et al., 2011;Zhou et al., 2015).
However, live pig trade patterns in the markets have rarely been described and the characteristics of these networks and their impact on disease spread and control strategies to adopt have never been studied in China. This study was designed to investigate the indirect contact network between source counties through the movement of live pigs via these wholesale markets. This study aims to provide evidence for improved decision making and resource allocation to areas for prevention and control of disease. Trade patterns in live pig markets were described, and properties of the networks in January (winter, busy trade season) and in June (summer, quiet trade season) were compared to study the stability of the live pig market trade network in different months/seasons. Different strategies were compared to illustrate the benefit of taking a risk-based intervention to constrain potential disease spread through this network. The findings of this study can be used to inform targeted interventions to control disease spread through the live pig market trade network.

| MATERIAL S AND ME THODS
The objective of this study is to evaluate the trade network between the source counties and the traders in wholesale live pig markets. This study was conducted in Guangdong Province, South

| Data sources
Trade records were extracted from health certificates of pigs and were collected from all four wholesale live pig markets in Guangdong Province, south China. In China, each batch of pigs requires a pig health certificate provided by the local official veterinarians. The pig health certificates are paper-based. The farmers give the pig health certificates to traders, so the traders can transport pigs to markets or slaughterhouses. If traders did not offer pig health certificates, the markets or slaughterhouses will not accept their pigs (People's Government of Guangdong Province, 2011). Market managers are required by local authorities to collect these health certificates and to keep them for at least one year. Three of these markets (Jiahe market-market 1; Furong market-market 2; and Baiyun marketmarket 3) are located in Guangzhou city, and Wufeng market (market 4) is situated in Foshan city. In total, 14,118 trade records from January (8,001) to June (6,117) 2016 were collected. The data cover trade events from all traders in all four wholesale live pig markets.
These markets are open every day of the year, except for a short closure (1-2 weeks) during the spring festival. Sheep, goat and cattle were also traded in Furong market, while all other markets only traded pigs. Data for each batch (a truckload of pigs that had been collected from one or more farms from the same county) were collected, including the source counties of the pigs (91.3% of the data had source counties recorded), the loading date, number of pigs, destination markets and the destination pig pen(s) at the market (76.1% of the data recorded the destination pen, which is usually owned by one trader).

| Data analyses
The patterns of pig trade in the four live pig markets were analysed.
Maps were developed using ArcGIS 9.3 (ESRI Inc.) to show the transport pathways from supply counties to the four markets and the average distance individual batches were transported was calculated.
The total number of pigs traded in each month, the average size of a batch, the number of pig pens and the source counties of the pigs were also calculated for each market. A batch was a group of pigs from one or more farms transported to the live markets on one truck, irrespective of the number. A county that contributed at least 20 batches in one month was classified as a major supply county.
The total number of batches to the markets from these major source counties was compared to check the stability of supply for January and June.
The SNA was conducted with the packages 'igraph' (Nepusz, 2006) and 'tnet' (Tore Opsahl, 2009) in R (R Core Team, 2018. The study unit in the network was source county and trader. Firstly, the network was established as an undirected bipartite network, and the number of batches was set as the link weight. The source and destination nodes were set as the source counties and the pens (each pen owned by a trader) in the markets, respectively.
The 2-mode network was then transformed into a 1-mode network by removing the pens, to focus on the network between source counties.
The static networks for markets 3 and 4, which had complete trade records, were compared between the two months (seasons) to evaluate the stability of the live pig trading networks through these markets. The 15 counties that contributed the most pigs to the two markets in January and June 2016 were compared to check the stability of the pig supply. The 'power.law.fit' function in igraph was used to test if a network had free-scale property. The Kolmogorov-Smirnov test was used to test the goodness of fit for nodes with ten or more degrees using a confidence level of 95% (a p-value >.05 indicated that the nodes' degree fit a power-law distribution, and thus, the network has free-scale property).
Parameters (edge density, clustering coefficient, diameter and the average length of pathways) of the networks were calculated and compared (Nepusz, 2006). Fast-greedy community detection was performed using the 'fastgreedy.community' function in 'igraph' to determine the number of communities in a network (Clauset, Newman, & Moore, 2004). R0 was investigated across the networks.
R0 is defined as the average number of secondary cases produced by a case during its infectious period in a susceptible population (Lin & Vandendriessche, 1992). R0 is affected by the characteristics of the pathogen (e.g. pathogenicity and environmental resistance of the pathogen). It is also determined by the method and frequency of contact between units of interest. In this study, we focused on the impact of the trader network on a disease transmitted among supply counties. To illustrate the impact of the network structure on the spread of diseases, we compared the R0s of existed networks in different seasons to simulate random networks with the same number of nodes. 'R0(network)/R0(random)' was calculated for the two static networks in January and June 2016 (Marquetoux, Stevenson, Wilson, Ridler, & Heuer, 2016).
Trade data from January and June 2016 were joined to create a combined social network. The 2-mode network was then transformed into a 1-mode network by removing the pens (traders). There were 37 nodes deleted from the network because they were isolated nodes in the 1-mode network. These isolated counties infrequently supplied pigs to only one trader in the markets.
The degree, betweenness and closeness of each node were calculated. The correlations between the nodes' scores in degrees and betweenness and closeness were checked using Pearson's correlation test. A map was developed to show the degrees of source counties in this network. The distributions of degrees, betweenness and closeness of the nodes in the combined network were illustrated with figures. To illustrate the impact of the key players on the potential magnitude of epidemics spreading through this network, the methodology of Marquetoux et al. (2016) was used to compare the decrease of the GWCC in the network with different strategies. One involved randomly removing a node in the network, while the others involved deleting the nodes in sequence according to their scores of three indicators of centrality: degree, betweenness and closeness.
Definitions of the technical terms used in this paper relating to SNA are provided in Table 1.

| Trade patterns of the live pig market trade network
Pigs from 151 counties were delivered to the four markets in January and/or June 2016. There were at least 238 pens in operation in the four markets in these two months in 2016. On average, 67 pigs were consigned in a batch. The daily trade volume in the four markets varied from 1,021 to 7,138 head (16 to 124 batches). Market 1 had the highest daily trade volume (5,954 and 7,138 pigs, and 77 and 124 batches in January and June, respectively). More batches were traded in the four markets in January (8,001) than in June 2016 (6,117). However, pigs were sourced from more counties in June (136) than in January 2016 (90) ( Table 2).
The number of pens that a county was linked to during a month varied from 1 to 86. On average, pigs from a county were supplied to 12 (median: 5) pens in January and 8 (median: 2) pens in June 2016. The sourcing counties were predominantly inside Guangdong Province (92% of all batches), along with counties in Hunan, Guangxi, Jiangxi, Fujian and Henan provinces (Figure 1). The number of pigs supplied from different counties varied between January and June, but the supply from the major source counties was stable with the counties that contributed the most pigs/batches in January also providing the most in June (Figure 2). The major source counties (46) contributed 94% of the total batches during the two months. Pigs were sourced from piggeries from 10 to 1,417 km from the markets, with average distances of 223 and 307 km in January and June 2016, respectively.

General terms
Node A node refers to a unit of interest in a network (Dube et al., 2009). In this study, supply counties and traders (sale pens in markets) are nodes in trade networks.

Edge
An edge represents a contact between individuals in the susceptible Population (Shirley & Rushton, 2005). In this study, counties were supplying pigs to a pen (2-mode network), or two counties were connected by the same trader(s). Links between a county and a pen (2-mode network) or between counties (1-mode network) were taken as an edge.

Weight of links
In the bipartite network of counties and pens, the weight of a link was defined as the number of batches between a county and a pen, during a defined period. When projected as a 1-mode network of counties, the weight of a link was defined as the total number of paths (through pens) between two source counties, during a defined period.
Edge density A value reflecting the density of the network and can be calculated using equation: L/k(k − 1). L means the number of exiting edges, and k means the number of nodes in a network (Wasserman & Faust, 1994) Diameter The longest geodesic between any pair of nodes in the network (Wasserman & Faust, 1994) Average path length For any two given nodes, the shortest path between them over the paths between all pairs of nodes in the network (Dube et al., 2009) Measures of centrality Degree This parameter was calculated for the 1-mode network of source counties. It represents the total number of contacts of a county to other counties in the network. A higher degree means more connection to other nodes in the network (Marquetoux et al., 2016).

Betweenness
The frequency by which a node falls between pairs of other nodes on the shortest path connecting them (Dube et al., 2009). Betweenness is a measure of centrality used to quantify a node's potential to 'control' the flow or curtail paths within a network (Marquetoux et al., 2016).

Closeness
The sum of the shortest distances (not geographical, but path length) from a source livestock operation to all other reachable operations in the network (Shirley & Rushton, 2005) Measures of cohesion Clustering coefficient This parameter was calculated for the 1-mode network of source counties. It represents the proportion of one county's neighbours who are also neighbours to another (Watts & Strogatz, 1998).
The weakly connected component is the undirected subgraph in which all nodes are linked, not taking into account the direction of the links (Robinson & Christley, 2007). GWCC is the largest weak component in the network (Dube et al., 2009). In this study, the network among source counties was considered as an undirected network, so we use GWCC as the indicator for the potential magnitude of an epidemic.

| Trade networks in different months
The 2   of .14 and .52, respectively); thus, a few nodes have much higher connectivity than other nodes in this network. However, the network in January had a higher clustering coefficient and a shorter average pathway length than that in June (Table 3).
With 46

| Properties of the combined static 1-mode network
The parameters of the combined static network are summarized in Table 4. Most of these parameters are between the parameters of the static networks of January and June. The combined static network is displayed in Figure 4.
The degree, betweenness and closeness of each source county in this network are summarized in Appendix 2. The degree of each source county indicated that the most connected counties of the network were in the central, northern and western regions of Guangdong Province ( Figure 5).

| Influence on GWCC by different 'control' strategies
The distribution of degree, betweenness and closeness is displayed in Appendices S1-S3. The nodes that had higher degrees also had higher betweenness (correlation coefficient of .88, p < .001) and higher closeness (correlation coefficient .74, p < .001). Compared with randomly removing counties from the network, eliminating counties with higher betweenness, degree or closeness resulted in a greater reduction in the magnitude of a potential epidemic. Of the three risk-based strategies, isolating the nodes according to their betweenness had the greatest effect in decreasing the size of GWCC in most of the steps (Figure 6).
The GWCC reduced slowly when deleting the first few nodes with the highest degree, betweenness and closeness, and significant reductions only occurred when more nodes were deleted. For example, when <7 nodes were deleted from the network, there was no difference between the different strategies in terms of decreasing the size of the GWCC. However, if the 45 counties with the highest betweenness or degree from the network were removed, the GWCC decreased to approximately 10 counties, while if 45 counties were randomly removed, the GWCC decreased to only 65 counties ( Figure 6).

| D ISCUSS I ON
To our knowledge, this is the first study that described the pattern The findings of this study can also help to improve the efficiency of routine surveillance on influenza in this area. Influenza is one of the most significant zoonotic diseases (Bowman et al., 2014;Lauterbach et al., 2018;Ma et al., 2015;Myers et al., 2006). Pigs can be infected by swine influenza strains, as well as some human strains, and genetic reassortment between swine and human influenza strains may facilitate the evolution of new strains circulating in pigs or even pandemic strains in humans (Kuntz-Simon & Madec, 2009;Rajao et al., 2017;Zhou et al., 1999). A recent study indicated a poor level of biosecurity being adopted by pig farmers in Guangdong when selling pigs (Li et al., 2019). There is evidence to indicate that workers on pig farms and markets in China have a higher risk of acquiring SI influenza than the general population (Ma et al., 2015;Yin et al., 2014).
To improve the efficiency of surveillance of SI in Guangdong, those traders in the markets with more contacts to different counties and those pig farms within the counties with higher connectivity in the F I G U R E 6 The decrease in the size of GWCC of the pig movement network through wholesale live pig markets in Guangdong in January and June 2016 under different control scenarios. The grey dotted lines representing the 95% CI of the size of the GWCC when removing counties randomly [Colour figure can be viewed at wileyonlinelibrary.com] network should be targeted for human influenza and SI surveillance, respectively.
The clustering coefficient was higher in the trade network of January than June 2016 (0.54 vs. 0.39). Thus, via this market trading network, an epidemic in January would spread faster than in June. The average path length in the combined static network was <2, which means that any two counties in the network can be connected via just another county. Interestingly, the average path length was shorter in the trade network of January than that in June, which illustrates that it would be easier for a pathogen to spread among nodes in this trade network in January than in June. Furthermore, the lower temperature in January could preferentially influence the survival of pathogens in the environment (Botner & Belsham, 2012). Local animal health authorities should be aware that this market trade network would require more attention in January. June. However, these newly added counties contributed <2% of the pigs, and the trade frequency of these counties was low.
When we transformed the 2-mode network into the 1-mode network, many of these counties became isolated nodes. We decided to simplify the network by deleting these nodes, because these counties which only occasionally supply pigs should have a low impact on the spread of disease between counties. It was not surprising that more pigs were traded in these markets in January than in June (504,570 vs. 442,315) because January is close to the Chinese Spring Festival and demand for meat increases before this festival (Pan et al., 2016). of live poultry also changed accordingly . It is worth noting that the increased supply counties in this network resulted in a change in the structure of the local market trade network.  (Liu et al., 2019), and choosing counties based on convenience is unlikely to be effective. We used randomness to model these non-targeted scenarios, and we believe that our model, even with its limitations, has offered new insights for decision-makers to understand the disease risk in places before an epidemic occurs. The same methodology has been used in another similar study (Marquetoux et al., 2016). It is worth noting that this study only focused on the pig movement network through local wholesale markets. Pigs are also traded through other systems in this province. For example, breeding pigs are often traded directly between pig farms, and weaners are often moved from breeding farms to fattening farms. Further studies on the movement of live pigs among local farms are needed.
It is a better strategy for disease control to understand the risk of disease spread through live animal movements before an epidemic actually occurs (Shirley & Rushton, 2005

ACK N OWLED G EM ENTS
This study was partially funded by the National Key R&D Program

R E FE R E N C E S A PPE N D I X 2
The degree, betweenness and closeness of each source county in the pig market trading network in Guangdong Province, 2016 A PPE N D I X 2 (Continued)