Doing Digital History with Python I: reading (messy) XML & JSON data

by Monika Barget

During our DH brownbag lunches at the IEG, colleagues have repeatedly asked us if we could recommend Python packages for digital history. We have therefore set up a list of packages we at the IEG DH Lab are using for the analysis of text (stored, for instance, in XML/TEI or JSON formats), the modelling of historical networks, or the creation of interactive maps.

The list Python for digital history is based on our personal experiences and, though by no means exhaustive, may serve as an appetizer for “Doing Digital History with Python”. In a series of blog posts, we will try and introduce you to some of the packages mentioned through case studies from current IEG research.

Today’s post covers the extraction of data from XML and JSON files with xml.etree.ElementTree, lxml, json(5) and beautifulsoup(4) as reading structured text is often a starting point of digital history projects. Doing Digital History with Python I: reading (messy) XML & JSON data weiterlesen

The Archaeology of Reading, COVID-19, and online teaching

by Jaap Geraerts

Prior to taking up my current position at the IEG, I was based at the Centre for Editing Lives and Letters (CELL) at University College London where I served as the postdoctoral fellow on the digital humanities project “The Archaeology of Reading in Early Modern Europe” (AOR). An international collaboration between CELL, Johns Hopkins University, and Princeton University, the project team, consisting of historians, computer engineers, and librarians, aimed to enable a more structured analysis of historical reading practices through the creation of an online resource. The end result is a modified IIIF-compliant viewer comprising a corpus of 36 early modern books annotated by Gabriel Harvey and John Dee and the fully searchable transcriptions of all the “interventions” they made in these books. This viewer is accompanied by a WordPress site which contains contextual information of the scholarly and technological aspects of the project.
The Archaeology of Reading, COVID-19, and online teaching weiterlesen