-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathquestion_specific_lookups.py
executable file
·56 lines (48 loc) · 1.68 KB
/
question_specific_lookups.py
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
#!/usr/bin/env python
# encoding: utf-8
universities_lookup = {
'bristol':'university of bristol',
'birmingham':'university of birmingham',
'cambridge':'university of cambridge',
'cardiff':'university of cardiff',
'edinburgh':'university of edinburgh',
'glasgow':'university of glasgow',
'imperial':'imperial college london',
'leeds':'university of leeds',
'liverpool':'university of liverpool',
'newcastle':'university of newcastle',
'nottingham':'university of nottingham',
'qub':'queen\'s university belfast',
'queen mary':'queen mary university of london',
'sheffield':'university of sheffield'
}
q4_lookup = {
'european union':'european',
'european research council':'european',
'nihr':'national institute for health research',
'other foundation, society or charity':'others',
'uk government':'others',
'mixed funding':'others',
'self funded':'others',
'non-uk government':'others',
'no funding':'others',
'not known':'others',
'nih':'others',
'no answer':'others',
'hefce':'others',
'not prepared to answer':'others',
}
q9_lookup = {
'yes - self taught using online resources or books':'self taught',
'yes - a taught course, yes - self taught using online resources or books':'both self taught and taught course',
'yes - a taught course':'taught course',
'yes - self taught using online resources or books, no':'Other',
'no':'no training'
}
eq1_lookup = {
'phd': 'phd student',
'postdoc': 'postdoctoral researcher',
'prof': 'professor',
'research assistant': 'postdoctoral researcher',
'research associate': 'postdoctoral researcher',
}