Kerui Du, Qianwen Chen
We introduce a new command, framerge, based on the official Stata commands frlink and frget. Our command allows Stata users to efficiently link frames and copy variables from another frame into the current frame based on match key variables. framerge supports multiple data-matching relationships, including 1:1, m:1, 1:m, and m:m (joinby). In this article, we detail the general idea, syntax, and examples for the framerge command.