Skip to content

wiener-moderne-verein/wienerschnitzler-data

Repository files navigation

wienerschnitzler-data

This repository contains georeferenced data enabling a precise, day-by-day visualization of Arthur Schnitzler's (1862–1931) whereabouts throughout his entire adult life.

Dieses Repository enthält georeferenzierte Daten, die eine taggenaue Darstellung der Aufenthaltsorte von Arthur Schnitzler (1862–1931) während seines gesamten Erwachsenenlebens ermöglichen.

Die Daten werden im Rahmen des Forschungsprojekts „Wiener Schnitzler – Schnitzlers Wien“ (Oktober 2024 bis Februar 2025) erstellt. Das Projekt wird mit einer Förderung der Stadt Wien Kultur unterstützt.

XML Data

The repository includes three XML files containing the complete data ('./data/editions/xml'):

  • wienerschnitzler_complete.xml: This is the main file. It contains an event element for each day, which includes one listPlace element with all the places visited on that day.
  • wienerschnitzler_complete_nested.xml: Similar to the main file, but with nested structures. For example, the Vienna Ferris Wheel is nested within the Wurstelprater, which is nested within the Prater, which is located in the 2nd district. Only mentioned places are included in the hierarchy; if the Wurstelprater is not explicitly mentioned on a given day, it will not appear in the hierarchy of the Ferris Wheel.
  • wienerschnitzler_distinctPlaces.xml: This is a transformation listing all places visited by Schnitzler, with the corresponding days as child elements.

In the folder ('./data/indices/') is listplace.xml – an abbreviated version of the file with the same name that can be found in './input-data/'. In the same folder partOf.xml contains information regarding places and the bigger entities they belong to (i.e. Vienna is part of Austria). The file living-working-in.xml collects names of people that lived or worked in a house at a point in time.

GeoJSON Data

Several derivative files are generated from the XML files above, mostly by referencing coordinates and idno values from the listplace.xml file found in the input-data folder. These files include:

  • Files for each day, named using the ISO date format (e.g., 1888-01-24.geojson).

  • Files for each month (e.g., 1903-12.geojson).

  • Files for each year (e.g., 1890.geojson).

  • Files for each decade from 1871 to 1929 (e.g., 1921-1930.geojson).

  • wienerschnitzler_distinctPlaces.geojson see above

JSON

  • wienerschnitzler_timeline.json contains an element for each stay. Adjacent days are combined to a timespan, i.e. "1888-01-01/1888-01-03". the property "type" differentiates
  • between larger geographic entitities "p" (country, city, village) vs. "a" for smaller ones (streets, houses, monuments)
  • uebersicht.json contains the eventName for each day and a counter that counts the numbers of distinct
  • places from this very day

Import Data

The main source for all the data is PMB – Personen der Moderne Basis, https://pmb.acdh.oeaw.ac.at/ – and more specifically https://pmb.acdh.oeaw.ac.at/media/

Running python3 fetch-data-from-pmb.py fetches several files from PMB, immediately transforms them and stores them in ./input-data/:

  • listplace.xml (main change: the attribute XML:id is changed from place__XXXX to pmbXXXX
  • living-working-in.xml
  • relations.xml

The latter file relations.xml is used to create the file partOf.xml.

Now several XSL-Transformations have to take place, most of them in this order:

  • transform partOf.xml to the cleaner version (i.e. <item id="142812"> <contains id="29620"/> </item>)
  • transform living-working-in.xml (this is slow as it fetches the names live from the PMB-website). It could be speeded up considerably if one would get the names out of the downloaded files itself but for exactness the slow process is preferable.
  • transform relations.xml to wienerschnitzler_complete.xml
  • transform wienerschnitzler_complete.xml to wienerschnitzler_complete_nested.xml (This has to be done in 2 steps: first run the transformation on the complete-file, then run the second transformation on the result complete_nested.xml-file)
  • transform wienerschnitzler_complete to wienerschnitzler_distinctPlaces
  • transform input-data/listplace.xml to data/editions/indices/listplace.xml (this abbreviates the listplace-file but is only up to date if the distinct-places-file was updated before)

About

This repository contains georeferenced data that allows for the precise day-to-day tracking of Arthur Schnitzler's (1862–1931) whereabouts throughout his adult life. It is in active development, not final data.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors