*! version 1.0.0 15december2022

pullin -- Run a many-to-one merge with a specific set of options

Syntax

pullin varlist using filename

Description

pullin runs a many-to-one merge with the options keep(1 3) and nomerge specified. This "pulls in" the data attached to matched observations from the using file without bringing in unmatched observations from said dataset.

Running this command:

pullin varlist using filename

is equivalent to running this command:

merge m:1 varlist using filename , keep(1 3) nogen

and that's that!

Option

pullin does not allow if, in or any options. The whole point of the command is to do the very specific kind of merge specified above.