SRCTAG: Stata module to stamp variables with source lineage and search it
Eric Booth and
Elizabeth Teas ()
Additional contact information
Elizabeth Teas: Far Harbor, LLC
Statistical Software Components from Boston College Department of Economics
Abstract:
srctag records where each variable came from (source, vintage, notes, agency, dataset, URL, category) in variable characteristics, which survive save, merge, and append. It refuses to overwrite an existing tag unless told to, keeps a dataset-level list of sources, and can sign the data so stale tags are detected. The companion command srcfind searches these tags in memory or across a folder of .dta files, audits for untagged variables, and exports every tag as a dataset that srctag apply can read back after review. A test battery ships as an ancillary file.
Language: Stata
Requires: Stata version 16
Keywords: provenance; data lineage; metadata; characteristics; documentation; data management (search for similar items in EconPapers)
Date: 2026-11-22, Revised 2026-11-27
Note: This module should be installed from within Stata by typing "ssc install srctag". The module is made available under terms of the MIT license (https://opensource.org/licenses/MIT).
References: Add references at CitEc
Citations:
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/s/srcfind.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/srctag.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/s/srcfind.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/s/srctag.sthlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/t/test_srctag.do test do-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:s460043
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 ().