XDIR: Stata module to create a resultsset with one observation per file in a directory
Roger Newson
Statistical Software Components from Boston College Department of Economics
Abstract:
xdir is an extended version of dir, or of the extended macro function dir. It creates an output dataset (or resultsset), with 1 observation for each file in a user-specified directory conforming to a user-specified pattern, and belonging to a user-specified file type, and data on the file name and the directory name. This dataset may be listed using the list() option and/or saved to a file using the saving() option and/or written to the memory using the norestore or fast option, overwriting any existing dataset. Alternatively (or additionally), a list of the file names may be saved in a local macro.
Language: Stata
Requires: Stata version 16
Keywords: data management; directory; resultsset; file list (search for similar items in EconPapers)
Date: 2016-05-18, Revised 2020-05-09
Note: This module may be installed from within Stata by typing "ssc install xdir". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/x/xdir.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xdir.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xframedir.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/x/xframedir.sthlp help file (text/plain)
Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
HTML/Text
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s458183
Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php
Access Statistics for this software item
More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().