-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathcategories.js
More file actions
73 lines (71 loc) · 1.7 KB
/
categories.js
File metadata and controls
73 lines (71 loc) · 1.7 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
export const SUBCATEGORY_TO_CATEGORY = {
'American Literature': 'Literature',
'British Literature': 'Literature',
'Classical Literature': 'Literature',
'European Literature': 'Literature',
'World Literature': 'Literature',
'Other Literature': 'Literature',
'American History': 'History',
'Ancient History': 'History',
'European History': 'History',
'World History': 'History',
'Other History': 'History',
Biology: 'Science',
Chemistry: 'Science',
Physics: 'Science',
'Other Science': 'Science',
'Visual Fine Arts': 'Fine Arts',
'Auditory Fine Arts': 'Fine Arts',
'Other Fine Arts': 'Fine Arts',
Religion: 'Religion',
Mythology: 'Mythology',
Philosophy: 'Philosophy',
'Social Science': 'Social Science',
'Current Events': 'Current Events',
Geography: 'Geography',
'Other Academic': 'Other Academic',
Movies: 'Pop Culture',
Music: 'Pop Culture',
Sports: 'Pop Culture',
Television: 'Pop Culture',
'Video Games': 'Pop Culture',
'Other Pop Culture': 'Pop Culture'
};
export const SUBCATEGORIES = Object.keys(SUBCATEGORY_TO_CATEGORY);
export const CATEGORY_TO_ALTERNATE_SUBCATEGORY = {
Literature: [
'Drama',
'Long Fiction',
'Poetry',
'Short Fiction',
'Misc Literature'
]
};
export const SUBCATEGORY_TO_SUBSUBCATEGORY = {
'Other Science': [
'Math',
'Astronomy',
'Computer Science',
'Earth Science',
'Engineering',
'Misc Science'
],
'Other Fine Arts': [
'Architecture',
'Dance',
'Film',
'Jazz',
'Opera',
'Photography',
'Musicals',
'Misc Arts'
],
'Social Science': [
'Anthropology',
'Economics',
'Linguistics',
'Psychology',
'Sociology',
'Other Social Science'
]
};