Aim

To take the Correspondance of Pope Gregory VII (1075-1085) and tabulate it (according to date, addressee etc), so as to allow visualisations — particularly maps.

Creating the data

The letters are recorded in 9 (?) published registers, available in PDF. The major work is to systemmatically record details of each letter in a spreadsheet, looking something like this:

##    year  month  day  ...   recipient Location of pope clerical/secular
## 0  1073  April   23  ...      abbot              Rome                c
## 1  1073  April   23  ...      prince             Rome                s
## 2  1073  April   26  ...  archbishop             Rome                c
## 3  1073  April   29  ...      bishop             Rome                c
## 4  1073  April   28  ...     duchess             Rome                s
## 
## [5 rows x 9 columns]

This tabulation creates a resource from which multiple possible analyses and visualisations can be built.

Consistent labelling is essential to create a coherant data set. It is worth thinking about what items we want to ‘score’ about each letter, before tabulating the data.

Adding location information

Next we need to itentify each letter with a recipient location (in longitude and latitude)

Open questions

These choices may not need to be made until after the letters have been tabulated. Tom may be able to perform some magic to pull longitude and latitude for most of the recipient locations off the internet (using some kind of wikidata query? Not sure yet).

Anyway, after tabulation and location coding, we have something like this (done by hand in this case):

##    year  month  day  Book  ... latitude longitude latitude_pope longitude_pope
## 0  1073  April   23     1  ...  41.4916   13.8159       41.9028        12.4964
## 1  1073  April   23     1  ...  40.6824   14.7681       41.9028        12.4964
## 2  1073  April   26     1  ...  44.4184   12.2035       41.9028        12.4964
## 3  1073  April   29     1  ...  43.7696   11.2558       41.9028        12.4964
## 4  1073  April   28     1  ...  44.5751   10.4551       41.9028        12.4964
## 
## [5 rows x 13 columns]

Creating A Map

We have tabulated and geocoded the information from the first book of letters (~80 letters, April 1073- to April 1074). Already this allows us to play around with some possible visualisations. First, a map