Skip to content

Reconstruction of the map of Avignon during medieval times

Notifications You must be signed in to change notification settings

CompNet/MedievalAvignon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MedievalAvignon

Reconstruction of the map of Avignon during medieval times

  • Copyright 2020-2024 Vincent Labatut & Margot Ferrand

MedievalAvignon is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation. For source availability and license information see licence.txt


If you use this source code or the associated dataset, please cite reference [FL'24].

MedievalAvignonNet

Description

This set of R scripts aims at extracting and analyzing confront networks extracted from raw historical tables. It does the following:

  1. Extracts various networks based on some tabular data built based on historical sources.
  2. Computes a number of statistics and generates the corresponding plots.
  3. Performs additional analysis of the networks.

Data

The raw dataset was manually constituted by Margot Ferrand during her PhD. The detail of her historical sources is given in her PhD [F'22]. The output files (graphs, plots, tables...) can be obtained by running the scripts, but they are also directly available on Zenodo.

Organization

Here are the folders composing the project:

  • Folder in: input data, including some actually used (subfolder analysis) and some currently not used (subfolder positioning).
  • Folder log: logs produced when running the scripts.
  • Folder out: contains the files produced by the R scripts. Subfolder social is not currently used (only subfolder estate is). Each subfolder contains the networks, stats, and plots for a specific extraction scheme. Its name indicates which parameters are used for the extraction:
    • split vs. whole: linear/surface vertices are split to match spatial spread vs. they are kept as extracted from historical sources.
    • ext vs. raw: additional edges complementing the raw historical sources (e.g. between streets) vs. no additional edge (only those explicitly appearing in the historical sources).
    • full: all types of vertices and edges are kept.
    • estate: keep only the vertices defined at spatial the level of the building (i.e. no long streets or other linear entities, surface entities such as villages).
    • flat_relations: keep only the edges representing flat relations (by opposition to hierarchical relations, such as "belonging to"). Also get read of long distance relationships (even if flat).
    • flat_minus: same as flat_relations, but certain objects are also removed (walls, rivers), as well as the longest streets. The latter are indicated by a numeric value x corresponding to the top x longest streets (with whole) or to a minimal length threshold (with split).
    • xxxx: xxxx.
    • filtered: remove isolated vertices and small components.
  • Folder res: contains the R source code.
  • Folders lib and src: contains the Java libraries and source code, currently not used.

Installation

You first need to install the R language, as well as the required packages:

  1. Install the R language
  2. Download this project from GitHub and unzip.
  3. Install the required packages:
    1. Open the R console.
    2. Set the unzipped directory as the working directory, using setwd("<my directory>").
    3. Run the install script res/_install.R (that may take a while).

Use

In order to extract the networks from the raw data, compute the statistics, and generate the plots:

  1. Open the R console.
  2. Set the current directory as the working directory, using setwd("<my directory>").
  3. Run the main script res/main.R.

The scripts will produce a number of files in folder out/analysis/estate. They are grouped in subsubfolders, each one corresponding to a specific topological measure (degree, closeness, etc.).

Dependencies

Tested with R version 4.0.5, with the following packages:

To-do List

  • ...

References

  • [F'22] M. Ferrand Usages et représentations de l'espace urbain médiéval : Approche interdisciplinaire et exploration de données géo-historiques d’Avignon à la fin du Moyen Âge, PhD. Thesis, Avignon University, 2022. Web Page
  • [FL'24] M. Ferrand and V. Labatut. Approximating Spatial Distance Through Confront Networks: Application to the Segmentation of Medieval Avignon. Journal of Complex Networks, in press, 2024. DOI: xxxxx - ⟨hal-04786705