-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path_dir_setting.do
42 lines (25 loc) · 1017 Bytes
/
_dir_setting.do
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
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
PURPOSE: WC - NCA Lashio Project
AUTHOR: Nicholus
CREATED: 02 Dec 2019
MODIFIED:
THINGS TO DO:
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
// ***SET ROOT DIRECTORY HERE AND ONLY HERE***
// create a local to identify current user
local user = c(username)
di "`user'"
// Set root directory depending on current user
if "`user'" == "nicholustintzaw" {
global dir /Users/nicholustintzaw/Documents/PERSONAL/Projects/03_WC_M&E/02_NCA/00_work_flow
}
else if "`user'" == "nicholustintzaw" {
global dir /Users/nicholustintzaw/Documents/PERSONAL/Projects/07_CPI_CHDN/01_workflow
}
global raw $dir/00_raw
global do $dir/01_do
global dta $dir/02_dta
global cdta $dir/03_cleaned_dta
global out $dir/04_out
//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%