For my dissertation, I'm keeping track of nineteenth-century converts. I'd like to keep the data about the converts in both a human- and computer readable format. The data model needs to grow organically, because I only have a reasonable guess right now what information might be interesting about converts. The amount of data on each convert will be vastly different, from the bare information that a person converted (I might not even know a name) to having volumes of the person's papers. Also, each person might convert multiple times. Some information I want to keep track of as data (e.g., converted from, converted to, converted date), and other information can be tossed into a notes field. Finally, I have to be able to read the data myself as notes for writing, and to access it programmatically from some unknown tool (probably Ruby). While these needs are specific to my purposes, I think they could be easily generalized. For example, someone might want to keep track of strikes for a labor history.
I'm thinking about using YAML as the format for the data. YAML's two top priorities are "YAML is easily readable by humans" and "YAML data is portable between programming languages," which match my own. It also seems to be dead-simple to markup data. I've created a sample file for modeling the life of Orestes Brownson, which is below.
My questions are these:
- Is anyone using YAML for a digital humanities project? How are you using it, and what experience have you gained?
- Can anyone offer specific comments on the data modeled below?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 | # A model of a convert's life --- name-last : Brownson name-first : Orestes Augustus born : 1803-09-16 died : 1876-04-17 birth-religion : Congregationalism conversions : - origin-religion : Congregationalism destination-religion : Presbyterianism date : 1822 ritual : church membership citation : ANB notes : > Brownson's change to congregationalism was more denominational switching than a change in conscience. - origin-religion : Presbyterianism destination-religion : Universalism date : 1826 ritual : ordination location : "Jaffrey, New Hampshire" citation : ANB notes : > "He would later refer to his years in this fold as 'the most anti-Christian period of my life'" (ANB). Brownson was editor of _The Gospel Advocate and Impartial Investigator_, a Universalist publication. - origin-religion : Universalism destination-religion : Unitarianism ritual : further research location : "Walpole, New Hampshire" citation: : ANB notes : > Brownson spent some time at Brook Farm, which prepared him for Transcendentalism - origin-religion : Unitarianism and Transcendentalism destination-religion : Catholicism date : 1844-10-19 ritual : baptism citation : ANB notes : > Brownson studied after his conversion with a Sulpician priest. source : - Carey, Orestes Brownson - American National Biography comments : > This is a minimal example of what a model of a convert might look like. The historical data is hastily gathered, so only the model is of interest here. N.B. I would like to replace the citations with BibTeX keys. ... |