ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
Variable Map is produced automatically using a R code
2
The source file is: wba_var_sheets (https://docs.google.com/spreadsheets/d/1j0PEIZvv2x0VBm1B1dFuulzjOJ5dXBVvFCd0Sj5zuu0/edit?usp=sharing)
3
The code file is: generate_clean_var_map.R (https://drive.google.com/file/d/1UtD_AU-4_oOLKnKprwmsaVjm3vrsFgO3/view?usp=sharing)
4
5
Procedures:
6
1. Update wba_var_sheets first (e.g., add a new column for the new administration)
7
2. Carefully update the code and add the new adminitration's info
8
3. If you want to add notes for any adminstration (the info in the top two rows) OR for certain vars for a certain year, do it in the R code!
9
4. Run the code, output a clean_var_map.xlsx
10
5. Copy the xlsx table, go to the Variable Map (i.e., the next tab in this file), select A1
11
6. Paste Special --> Paste values only
12
Note: There're conditional formattings set up on the Variable Map; the colors of some cells should change automatically
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100