Differences between revisions 3 and 4
Revision 3 as of 2023-06-09 15:58:28
Size: 634
Comment:
Revision 4 as of 2025-10-24 17:11:58
Size: 626
Comment: Rewrite
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
The '''`fralias`''' command provides a read-only view of values in a [[Stata/FrLink|linked frame]]. '''`-fralias-`''' provides a read-only view of values in a [[Stata/FrLink|linked frame]].
Line 34: Line 34:
[[https://www.stata.com/manuals/dfralias.pdf|Stata manual for fralias]] [[https://www.stata.com/manuals/dfralias.pdf|Stata manual for -fralias-]]

Stata FrAlias

-fralias- provides a read-only view of values in a linked frame.


Usage

fralias add foo bar baz, from(linkvar)
fralias add foo newbar=bar, from(linkvar)

To create an alias for all variables while adding a prefix, try:

fralias add *, from(linkvar) prefix(merge_)

There is also a suffix(stub) option.

To list all aliased variables, try fralias describe.


See also

Stata manual for -fralias-


CategoryRicottone

Stata/FrAlias (last edited 2025-10-24 17:11:58 by DominicRicottone)