Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: -build_directives- and -project- command


From   Roberto Ferrer <refp16@gmail.com>
To   Stata Help <statalist@hsphsun2.harvard.edu>
Subject   st: -build_directives- and -project- command
Date   Sat, 20 Jul 2013 15:12:22 +0100

Regarding the user-written package -project- by Robert Picard and
installed using:

 net from http://robertpicard.com/stata

I'd just like to comment and get some feedback on:
In terms of the -build_directives- commands, in the help file I think
it would be a good idea to state that -uses- actually loads the
specified file. This is in contrast to -original-, for example, that
must be specified along with a default Stata command such as -use-:

    project, original("`pdir'/data/stata/college.dta")
    use "`pdir'/data/stata/college.dta"

The reason for being explicit is simply the definiton of
-build_directives- given in -help-: "Your include build directives in
do-files to INDICATE each do-file's dependencies". (My capitals.
"Your" must be a typo and should read "You".) Furthermore, it would be
nice to have something like:

project, uses(file_name) [original, created]

that substitutes both -original- and -uses-, loading the data AND
flagging the dependency. Don't know how difficult this actually is or
if it even makes sense.

Thanks.

Roberto
Stata 12.1 (64-bit)
Linux Mint Debian Edition (LMDE)
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index