Skip to content

Commit e5fa3a4

Browse files
committed
Merge branch 'gregbinu-patch-1' into feature/78/calendar-parser
2 parents 35380eb + a96dbde commit e5fa3a4

File tree

1 file changed

+56
-1
lines changed

1 file changed

+56
-1
lines changed

parser/calendarParser.go

Lines changed: 56 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,59 @@ func ParseCalendar(inDir string, outDir string) {
2020

2121
var result []schema.MultiBuildingEvents[schema.Event]
2222
log.Printf("Test")
23-
}
23+
}
24+
25+
var buildingAbbreviations = map[string]string{
26+
"Other Building": "",
27+
"Activity Center": "AB",
28+
"Activity Center Bookstore": "ACB",
29+
"Administration": "AD",
30+
"Edith and Peter O'Donnell Jr. Athenaeum": "APC",
31+
"Lloyd V. Berkner Hall": "BE",
32+
"Bioengineering and Sciences Building": "BSB",
33+
"Classroom Building": "CB",
34+
"Callier Center Richardson": "CR",
35+
"Callier Center Addition": "CRA",
36+
"Davidson-Gundy Alumni Center": "DGA",
37+
"Engineering and Computer Science North": "ECSN",
38+
"Engineering and Computer Science South": "ECSS",
39+
"Engineering and Computer Science West": "ECSW",
40+
"Energy Plant": "EP",
41+
"Founders Annex": "FA",
42+
"Facilities Management": "FM",
43+
"Founders North": "FN",
44+
"Founders Building": "FO",
45+
"Cecil H. Green Hall": "GR",
46+
"Karl Hoblitzelle Hall": "HH",
47+
"Erik Jonsson Academic Center": "JO",
48+
"Naveen Jindal School of Management": "JSOM",
49+
"Eugene McDermott Library": "MC",
50+
"Modular Lab 1": "ML1",
51+
"Modular Lab 2": "ML2",
52+
"North Office Building": "NB",
53+
"North Lab": "NL",
54+
"Police": "PD",
55+
"Physics Annex": "PHA",
56+
"Physics Building": "PHY",
57+
"Natural Science and Engineering Research Lab": "RL",
58+
"Research and Operations Center": "ROC",
59+
"Research and Operations Center West": "ROW",
60+
"Service Building": "SB",
61+
"Sciences Building": "SCI",
62+
"Safety and Grounds": "SG",
63+
"Student Learning Center": "SLC",
64+
"Student Services Building Addition": "SSA",
65+
"Student Services Building": "SSB",
66+
"Student Union": "SU",
67+
"Student Union Food Court": "SUFC",
68+
"Synergy Park North": "SPN",
69+
"Synergy Park North 2": "SP2",
70+
"University Theater": "TH",
71+
"Visitor Center": "VC",
72+
"Waterview Science and Technology Center": "WSTC",
73+
"Andromeda Hall & University Housing Office": "RHA",
74+
"Capella Hall": "RHC",
75+
"Helix Hall": "RHH",
76+
"Sirius Hall": "RHS",
77+
"Vega Hall": "RHV",
78+
}

0 commit comments

Comments
 (0)