-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolumn_name_renaming.py
70 lines (61 loc) · 1.37 KB
/
column_name_renaming.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/usr/bin/env python
# encoding: utf-8
col_shortener = {
'Q1':'confirm',
'Q2':'faculty',
'Q3':'department',
'Q4':'funders',
'Q5':'position',
'Q6':'use_software',
'Q7':'importance_software',
'Q8':'develop_own_code',
'Q9':'development_expertise',
'Q10':'sufficient_training',
'Q11':'want_to_commercialise',
'Q12':'ready_to_release',
'Q13':'hpc_use',
'Q14_1':'version_control',
'Q14_2':'unit_regression_testing',
'Q14_3':'continuous_integration',
'Q14_4':'compilation',
'Q14_5':'documentation',
'Q15':'uni_support',
'Q16':'hired_developer',
'Q17':'costed_developer',
'Q18_1':'hire_full_time_developer',
'Q18_2':'hire_pool_developer',
'Q19':'voucher',
'Q20':'consulting',
'Q21':'mailing'
}
add_an_other_category = [
'funders',
'position',
'hpc_use'
]
sort_no_further_analysis = [
'faculty',
'funders',
'position',
'hpc_use'
]
yes_no_analysis = [
'use_software',
'develop_own_code',
'sufficient_training',
'want_to_commercialise',
'ready_to_release',
'hired_developer'
]
scale_analysis = [
'importance_software',
'development_expertise',
'sufficient_training'
]
worded_scale_analysis = [
'version_control',
'continuous_integration',
'unit_regression_testing',
'hire_full_time_developer',
'hire_pool_developer'
]