Derek Miller
Harvard University
Digital Technologies in Theatre & Performance Studies
NEH Institute
June 18, 2018
stravinsky = set()
for p in programs:
season = int(p.find('season').text[:4])
performances= len(p.findall('concertInfo'))
if 1971 <= season < 1977:
for w in p.findall('.//work'):
if w.find('interval') is None:
conductor = w.find('conductorName').text
if re.search(r'Boulez, Pierre', conductor):
composer = w.find('composerName').text
if composer == 'Stravinsky, Igor':
workID = re.search(r'(\d*)', w.attrib['ID']).group(1)
stravinsky.add(workID)
stravinsky = 0
for p in programs:
season = int(p.find('season').text[:4])
performances= len(p.findall('concertInfo'))
if 1971 <= season < 1977:
concert = set()
for w in p.findall('.//work'):
if w.find('interval') is None:
conductor = w.find('conductorName').text
if re.search(r'Boulez, Pierre', conductor):
composer = w.find('composerName').text
if composer == 'Stravinsky, Igor':
workID = re.search(r'(\d*)', w.attrib['ID']).group(1)
concert.add(workID)
stravinsky += len(concert)*performances
stravinsky = 0
everyone = 0
for p in programs:
season = int(p.find('season').text[:4])
performances= len(p.findall('concertInfo'))
if 1971 <= season < 1977:
concert = set()
stravinsky_concert = set()
for w in p.findall('.//work'):
if w.find('interval') is None:
conductor = w.find('conductorName').text
if re.search(r'Boulez, Pierre', conductor):
composer = w.find('composerName').text
workID = re.search(r'(\d*)', w.attrib['ID']).group(1)
if composer == 'Stravinsky, Igor':
stravinsky_concert.add(workID)
concert.add(workID)
stravinsky += len(stravinsky_concert)*performances
everyone += len(concert)*performances
percentage = round(stravinsky/everyone*100,2)
Concert Type | Bernstein | Boulez |
Subscription Season | 42.44% (519/1223) | 38.08% (254/667) |
Tour/Runout | 83.41% (191/229) | 33.33% (43/129) |
Stadium/Parks Concert | 1.48% (3/203) | 15.07% (11/73) |
Promenade | 0.00% (0/121) | 0.00% (0/90) |
Young People's Concert | 55.84% (43/77) | 0.00% (0/38) |
Student Concert | 8.82% (3/34) | 11.43% (4/35) |
Other | 37.50% (27/72) | 54.78% (63/115) |
dmiller@fas.harvard.edu
scholar.harvard.edu/dmiller
visualizingbroadway.com
@DerekKMiller