-
Notifications
You must be signed in to change notification settings - Fork 0
/
_filepaths.do
66 lines (45 loc) · 1.51 KB
/
_filepaths.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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
/*******************************************************************************
STEP : Define file paths and working directories
*******************************************************************************/
/*______________
| |
| Github |
|_______________*/
* Define machine-specific file path
if c(username)=="bl517" & c(os) == "Windows" {
global gituser "C:/Users/bl517/Documents/Github/Test-Score-Sensitivity"
}
else if c(username)=="bl517" & c(os) == "MacOSX" {
global gituser "/Users/bl517/Github/Test-Score-Sensitivity"
}
else {
di as err "Please enter machine-specific path information for the git repo"
exit
}
* Define relative file paths as globals
/*______________
| |
| Dropbox |
|_______________*/
* Define machine-specific file path
if c(username)=="bl517" & c(os) == "Windows" {
global dropboxuser "C:/Users/bl517/Dropbox"
}
else if c(username)=="Beatrice" {
global dropboxuser "C:/Users/Beatrice/Dropbox"
}
else if c(username)=="bl517" & c(os) == "MacOSX" {
global dropboxuser "/Users/bl517/Dropbox"
}
else {
di as err "Please enter machine-specific path information for the Dropbox files"
exit
}
* Define relative file paths as globals
global public "LEAPS_data/Public_2021/data"
global RCT "LEAPS_data/Public_2021_ondemand/codes"
global census "LEAPS_data/Public_2021_ondemand/census"
global rawscores "LEAPS_data/Public_2021_ondemand/data"
global data "LEAPS Beatrice/TestScores_Sensitivity/Data"
global output "LEAPS Beatrice/TestScores_Sensitivity/Out"
cd "$gituser"