{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Analyzing and Comparing EMLO Collections\n", "\n", "The EMLO project contains dozens of correspondence collections centered around different historical figures. Each collection is maintained either by a single institute, or is a merging of smaller collections maintained across multiple institutions. \n", "\n", "The metadata of the correspondences has been mapped to a single schema.\n", "\n", "Making a comparison of different sets of correspondences, at different scales, draws the focus on different aspects of comparison. At the same time, it brings to the surface some differences in how the digital collections were shaped by selection criteria.\n", "\n", "At a small scale, it is easy to see for instance that a collection around a historical figure, e.g. Samuel Hartlib or Françoise de Graffigny has not only letters authored by or addressed to that figure, but also some letters between the correspondents in their networks. When working with many correspondence collections with thousands or tens of thousands of letters, this is a detail that is easily lost in overviews of metadata records and most summary statistics.\n" ] }, { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "import numpy as np\n", "import pandas as pd\n", "import glob\n", "import matplotlib.pyplot as plt\n", "\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Let's first load the data into a dataframe and inspect a number of rows so we get an idea of what is in there." ] }, { "cell_type": "code", "execution_count": 19, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | Unnamed: 0 | \n", "id | \n", "type | \n", "collection | \n", "date | \n", "author | \n", "addressee | \n", "origin | \n", "destination | \n", "repository | \n", "
---|---|---|---|---|---|---|---|---|---|---|
0 | \n", "0 | \n", "577c226e-adfa-43ed-8db2-95792b73f3c3 | \n", "Letter | \n", "Bayle, Pierre | \n", "21 February 1662 | \n", "Bayle, Jacob, 1644-1685 | \n", "Bayle, Jean, 1609-1685 | \n", "Puylaurens, Occitanie, France | \n", "Carla-Bayle, Occitanie, France | \n", "Collection d'E. Labrousse\\n \\n \\n ... | \n", "
1 | \n", "1 | \n", "0ccd18c5-de76-4c66-a7b5-fbc344a9dcde | \n", "Letter | \n", "Bayle, Pierre | \n", "17 June 1662 | \n", "Bayle, Jacob, 1644-1685 | \n", "Bayle, Jean, 1609-1685 | \n", "Puylaurens, Occitanie, France | \n", "Carla-Bayle, Occitanie, France | \n", "2 printed editions | \n", "
2 | \n", "2 | \n", "2e189892-8105-42e9-876c-02aaa97fb877 | \n", "Letter | \n", "Bayle, Pierre | \n", "25 August 1662 | \n", "Bayle, Jacob, 1644-1685 | \n", "Bayle, Jean, 1609-1685 | \n", "Puylaurens, Occitanie, France | \n", "Carla-Bayle, Occitanie, France | \n", "Collection d'E. Labrousse\\n \\n \\n ... | \n", "
3 | \n", "3 | \n", "da35bb30-cfe1-4b4a-957d-42742088e693 | \n", "Letter | \n", "Bayle, Pierre | \n", "5 March 1663 | \n", "Bayle, Jacob, 1644-1685 | \n", "Bayle, Pierre, 1647-1706 | \n", "Puylaurens, Occitanie, France | \n", "Carla-Bayle, Occitanie, France | \n", "1 printed edition | \n", "
4 | \n", "4 | \n", "c5fefa45-f197-4bc3-bf52-1272f7f1d573 | \n", "Letter | \n", "Bayle, Pierre | \n", "7 April 1665 | \n", "Bayle, Jacob, 1644-1685 | \n", "Bayle, Jean, 1609-1685 | \n", "Puylaurens, Occitanie, France | \n", "Carla-Bayle, Occitanie, France | \n", "Bibliothèque de la Société de l'Histoire du P... | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
132205 | \n", "23 | \n", "a9088a3f-3eb2-4039-aeaa-8ad98b9e6f35 | \n", "Letter | \n", "Beeckman, Isaac | \n", "12 April 1632 | \n", "Croix, Jacques, 1579-1655 | \n", "Beeckman, Isaac, 1588-1637 | \n", "Delft, South Holland, (United Provinces) Nethe... | \n", "Dordrecht, South Holland, (United Provinces) N... | \n", "NaN | \n", "
132206 | \n", "24 | \n", "1759be67-e3d3-4e30-a987-b0f84b212f03 | \n", "Letter | \n", "Beeckman, Isaac | \n", "17 May 1632 | \n", "Beeckman, Isaac, 1588-1637 | \n", "Rivet, André, 1572-1651 | \n", "Dordrecht, South Holland, (United Provinces) N... | \n", "The Hague, South Holland, Netherlands | \n", "NaN | \n", "
132207 | \n", "25 | \n", "c1c3e71d-9ca1-4953-968a-b5a8e5d3c00b | \n", "Letter | \n", "Beeckman, Isaac | \n", "30 May 1633 | \n", "Beeckman, Isaac, 1588-1637 | \n", "Mersenne, Marin, 1588-1648 | \n", "Dordrecht, South Holland, (United Provinces) N... | \n", "Paris, Île-de-France, France | \n", "NaN | \n", "
132208 | \n", "26 | \n", "1b82d6d1-8b0c-4bc2-aa57-c856c73c2e66 | \n", "Letter | \n", "Beeckman, Isaac | \n", "22 August 1634 | \n", "Descartes, René, 1596-1650 | \n", "Beeckman, Isaac, 1588-1637 | \n", "Amsterdam, North Holland, (United Provinces) N... | \n", "Dordrecht, South Holland, (United Provinces) N... | \n", "NaN | \n", "
132209 | \n", "27 | \n", "06dc5c13-cec1-4fcd-972e-0d6052350645 | \n", "Letter | \n", "Beeckman, Isaac | \n", "13 February 1635 | \n", "Beeckman, Isaac, 1588-1637 | \n", "Beeckman, Abraham, fl. 1635 | \n", "Dordrecht, South Holland, (United Provinces) N... | \n", "Amsterdam, North Holland, (United Provinces) N... | \n", "NaN | \n", "
132210 rows × 10 columns
\n", "\n", " | collection | \n", "author | \n", "addressee | \n", "
---|---|---|---|
131088 | \n", "Rubens, Peter Paul | \n", "Moretus, Balthasar, 1574-1641 | \n", "Rubens, Philip, 1574-1611 | \n", "
131089 | \n", "Rubens, Peter Paul | \n", "Rubens, Philip, 1574-1611 | \n", "Rubens, Peter Paul, 1577-1640 | \n", "
131090 | \n", "Rubens, Peter Paul | \n", "Albert VII, Archduke of Austria, 1559-1621 | \n", "Richardot, Jean, 1570-1614 | \n", "
131091 | \n", "Rubens, Peter Paul | \n", "Gonzaga, Vincenzo I, 1562-1612 | \n", "Damasceni Peretti, Alessandro, 1571-1623 | \n", "
131092 | \n", "Rubens, Peter Paul | \n", "Damasceni Peretti, Alessandro, 1571-1623 | \n", "Gonzaga, Vincenzo I, 1562-1612 | \n", "
131093 | \n", "Rubens, Peter Paul | \n", "Arrigoni, Lelio, b.1541 | \n", "Chieppio, Annibal, 1563-1623 | \n", "
131094 | \n", "Rubens, Peter Paul | \n", "Rubens, Philip, 1574-1611 | \n", "Rubens, Peter Paul, 1577-1640 | \n", "
131095 | \n", "Rubens, Peter Paul | \n", "Arrigoni, Lelio, b.1541 | \n", "Chieppio, Annibal, 1563-1623 | \n", "
131096 | \n", "Rubens, Peter Paul | \n", "Richardot, Jean, 1570-1614 | \n", "Gonzaga, Vincenzo I, 1562-1612 | \n", "
131097 | \n", "Rubens, Peter Paul | \n", "Arrigoni, Lelio, b.1541 | \n", "Chieppio, Annibal, 1563-1623 | \n", "
\n", " | Unnamed: 0 | \n", "id | \n", "type | \n", "collection | \n", "date | \n", "author | \n", "addressee | \n", "origin | \n", "destination | \n", "repository | \n", "author_freq | \n", "addressee_freq | \n", "correspondents_freq | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
73349 | \n", "17320 | \n", "aabeebf7-4c5b-4bc2-a2ec-8ace326cfa7a | \n", "Letter | \n", "Bodleian card catalogue | \n", "30 August 1698 | \n", "Meare, John, 1649-1710 | \n", "Jones, Robert (Reverend), fl. 1698 | \n", "Oxfordshire, England | \n", "NaN | \n", "Bodleian Library, University of Oxford: MS Bal... | \n", "1.0 | \n", "1.0 | \n", "2.0 | \n", "