Learn R Programming

dogesR

Also available from CRAN as dogesr Package (with data) to work with the dogi and dogaresse of the Venetian republic and their relatives. Main intention is to analyze social networks resulting from marriages and other interactions, but all kind of useful data is (and will be) included in the package.

Install

Install released versions from CRAN as usual, or development version from here

library(devtools)
install_github("JJ/dogesr")

Reference

It grew from the data used in this paper; please cite it if you are using this module:

@misc{https://doi.org/10.48550/arxiv.2209.07334,
  doi = {10.48550/ARXIV.2209.07334},
  url = {https://arxiv.org/abs/2209.07334},
  author = {Merelo-Guervós, J. J.},
  keywords = {Social and Information Networks (cs.SI), Computers and Society (cs.CY), FOS: Computer and information sciences, FOS: Computer and information sciences},
  title = {What is a good doge? Analyzing the patrician social network of the Republic of Venice},
  publisher = {arXiv},
  year = {2022},
  copyright = {Creative Commons Attribution Share Alike 4.0 International}
}

You can retrieve this reference from the bibliography file along with other references used in examples.

Examples

This package includes a few vignettes. Once installed, write vignette("dogesr") to check what's available. Also

  • vignette("doges-family-types") for how to use the family types data set
  • vignette("doges-terms") to analyze the amount of time the doges lived/ruled using data provided in this package.
  • vignette("doges-social-network") to get the marriage social network of doges and parents, and make some initial exploration.
  • vignette("doges-split-social-network") to get the marriage social network of doges and parents for slices of time, from and to specific doges; this one shows how to get the social network before and after the Serrata.
  • vignette("counting-doge-families") to work with a table of the families doges belonged to and how many times they actually "made doge".
  • vignette("doge-types") to show the timeline of the different types of families that managed to "make doge".

Work with data

Check available datasets with data(package="dogesr") once it has been loaded.

Data in its original format is stored in the data-raw directory. If you change that data anyhow, type make to rebuild the R data files (contained in the data ) directory.

Any further change (columns and suchlike) will also require modification of the documentation at the man directory.

Papers

Please check the reports subdirectory for published papers that use this library, and their sources, which is released under a free license.

LICENSE

The contents of this repository are (c) JJ Merelo, 2022, 2023, and are released under the GPL 3 license. Please check the LICENSE for details.

Copy Link

Version

Install

install.packages('dogesr')

Monthly Downloads

230

Version

0.5.2

License

GPL-3

Maintainer

Juan Merelo-Guervós

Last Published

June 25th, 2025

Functions in dogesr (0.5.2)

marriage.graph

Data on doges' matrimonial links
doge.families

Load the list of families that became doges, and their numbers
family.colors

Pre-assigned colors for every type of family
family.types

Load data for Venetian family types into the environment
data.doges

Load data into the environment
doges.years

Sub-dataset with the list of doges, their family and when it happened.
doges.marriages.sn

Data on doges' (and parents) matrimonial links
marriage.graph.slice

Data on doges' matrimonial links