-
Notifications
You must be signed in to change notification settings - Fork 0
/
.update-stata-folder.do
73 lines (67 loc) · 1.84 KB
/
.update-stata-folder.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
67
68
69
70
71
72
73
*! .update-stata-folder.do
*! Publish Keith's stata files to http://code.google.com/p/kk-adofiles/
cd "C:\Projects\code.google.com\kk-adofiles\"
pub2web ///
alt ///
areastack ///
beep ///
/* bootstrap_exit_early */ ///
byxtline ///
/* case_predict (manually add to txtvarlist) */ ///
clean_row_vector ///
/* csvvars (manually add to txtvarlist) */ ///
deadline ///
dhs_cmc ///
did3 ///
dropstringvars ///
e_ ///
etcalconvert ///
exceldesc ///
foldercodebook ///
foldergraphexport ///
getcmds_personal ///
/* glm_linear_test */ ///
graphbetas ///
kak_ ///
margfx2 ///
mat2txt2 ///
mat_blockdiag ///
meantab ///
memmax ///
motionchart ///
moveb ///
normdiff ///
npp ///
predict_toggle ///
predlog2 ///
pub2web ///
scatter_hist ///
/* tpm_xtgee_mfx */ ///
txt2notes ///
txtvarlist ///
usedrop ///
varlist_type ///
xilabel ///
xtdesc ///
, replace author( "Keith Kranker") ///
intro( "Programs by Keith Kranker, Ph.D. Candidate, Department of Economics, University of Maryland") notimestamp
view net from "`c(pwd)'"
// add csvvars to txtvarlist package
local addtopackage
file open addp using txtvarlist.pkg , write append
file write addp _newline
foreach file in "c/csvvars.ado" "c/csvvars.sthlp" {
copy "C:/Ado/personal/`file'" "`c(pwd)'/`file'", replace
file write addp "f `file'" _newline
}
file close addp
// add case_predict to predict_toggle package
local addtopackage
file open addp using predict_toggle.pkg , write append
file write addp _newline
foreach file in "c/case_predict.ado" "c/case_predict.sthlp" {
copy "C:/Ado/personal/`file'" "`c(pwd)'/`file'", replace
file write addp "f `file'" _newline
}
file close addp
shell hg commit --addremove -m"Automatic upgrade of Keith's ado/personal directory $S_DATE $S_TIME"