dogesr
to work with the
social network of Venetian doges’ familiesUsing data from dogesr
(Merelo-Guervós 2022), we will, in this
vignette, analyze a sample of the social network of Venetian noble
families, the one that includes only marriages by nobles that
became doges and, in some cases, their parents.
library(dogesr)
library(igraph)
<- marriage.graph() doges.sn
This will call the function that creates, from raw data, the
igraph
data structure with which we can work. We still need
to simplify this net to be able to work with it.
E(doges.sn)$weight <- 1
<- simplify(doges.sn, edge.attr.comb=list(weight="sum"))
doges.sn V(doges.sn)$degree <- degree(doges.sn)
plot(doges.sn,vertex.size=V(doges.sn)$degree, layout=layout_with_kk, vertex.label.cex=0.7)
Although not very clearly, we can at least see that there is a big connected component, and a set of components that are disconnected. Let us try and extract that component
<- igraph::clusters(doges.sn, mode="weak")
components <- which.max(components$csize)
biggest_cluster_id <- V(doges.sn)[components$membership == biggest_cluster_id]
vert_ids
<- igraph::induced_subgraph(doges.sn, vert_ids)
doges.sn.connected plot(doges.sn.connected,vertex.size=V(doges.sn.connected)$degree,layout=layout_with_fr, vertex.label.cex=0.7,vertex.color=V(doges.sn.connected)$types)
This already shows (roughly) the power-law structure that was already
evident in (Merelo-Guervós 2022); however,
looking at Figure 1 in that paper, we see that some families that were
“excluded” if doges’ parents are not included in the social network, are
now part of the connected component. The Lando and Pasqualigo families
were then “outside”, and they are now linked through some links. We’ll
check now which are the links in this case, as well as other that were
also isolated previously.
for (f in c("Pasqualigo","Foscari")) {
print(incident(doges.sn,as.numeric(V(doges.sn)[f])))
}#> + 2/79 edges from d3d870e (vertex names):
#> [1] Loredan--Pasqualigo Lando --Pasqualigo
#> + 3/79 edges from d3d870e (vertex names):
#> [1] Foscari--Priuli Foscari--Sagredo Foscari--Nani
Other than that, we can see that the same families are at the center of the social network: Dandolo, Morosini, Contarini, all those families that appear over and over again through the history of the Republic. This was already shown in the aforementioned paper; the addition of a few links has not substantially changed the scenario, as expected.
Extending the social network of doges to include their parents, which is a way of having a better sample of the patrician social network in the Republic of Venice, has allowed us to have a marginally better picture of social dynamics and social capital in the republic of Venice. Although large scale structure has not changed much, with the well known families such as Contarini or Morosini, taking the most central positions, the connections between families are better rendered with these additions.
However, this is only the case for the Foscari-Sagredo link; in the case of Loredan-Pasqualigo, it was an addition from the previous version of this dataset. At any rate, using a dataset that is continuously improved and enhanced allows digital humanities researchers have a better picture of the society they are researching.