1 / 9

How to keep track of your ado-files

How to keep track of your ado-files. W.J. Graveland, University Hospital Rotterdam-Daniel Department of Statistics. Example: SITE-directory DDHK. 345 ado-files 128 help-files three authors: WvP, BvdH and WG. Problems with rising numbers of ado-files:.

bono
Télécharger la présentation

How to keep track of your ado-files

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. How to keep track of your ado-files W.J. Graveland, University Hospital Rotterdam-Daniel Department of Statistics

  2. Example: SITE-directory DDHK • 345 ado-files • 128 help-files • three authors: WvP, BvdH and WG

  3. Problems with rising numbers of ado-files: • Which do I have • Which are still necessary • Which are called by other ado-files • Who made a certain ado-file

  4. Conventions At our department we have the rule to start each ado-file in the same way, per example : *dtatodbf.ado WvP/BvdH, 26/03/02 *first version 30/09/97 *Transfers a dta file to dbf file, using DBMSCOPY Our dataset contains later: name author dfirst dlast DTATODBF WvP-BvdH 30sep1997 26mar2002 (and more variables)

  5. Search your own ado-files The commands “search and findit” use (also) stata*.key files to find files which apply to the keyword you give. If the key-option is specified , a stata2.key file is generated (was not in use now, but can be in the future) discussion : use of stata2.key is doubtfull. Maybe stata can also search for site.key, with search and findit commands.

  6. Adoinf.ado: • Example of syntax : • adoinf remake detail max(400) kw(DDHK) • key authors(WvP;BvdH;WG) • This command generates : • adoinf.dta : each observation is an adofile. The variables • contain properties of the adofile • ….\UPDATES\s\stata2.key

  7. Some variables: name Name ado file dsaved Date last saved dfirst date of first version dlast date of last version author Author nado # ado-files from same folder called ado1 ADO subroutines [1] ado2 ADO subroutines [2] ado3 ADO subsubroutines

  8. Some variables(2): ncalled # files using this program called ADO-files using this program keywords keywords oneliner describing function of ado-file help helpfile available dhelp date of help version

  9. Use and contact The program becomes available coming week. Type on your computer: findit adoinf If there are troubles or suggestions: email : graveland@stah.azr.nl

More Related