Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Merging two data files

    I'm trying to merge two files with the following commands
    • use "C:\Users\z3064529\OneDrive - UNSW\DON'S LSAC WORKING FILES\waves5to8new.dta", clear
    • sort hicid
    • merge 1:1 hicid "C:\Users\z3064529\OneDrive - UNSW\DON'S LSAC WORKING FILES\lsacgrk10_W4.dta", nogen keep(master match)
    nb. where hicid is the coded person identifier

    when I run these commands I this this output: factor-variable and time-series operators not allowed
    r(101);


    Any advice on what I'm doing wrong would be greatly appreciated.

    regards, Don


  • #2
    Try
    Code:
    merge 1:1 hicid using "C:\Users\z3064529\OneDrive - UNSW\DON'S LSAC WORKING FILES\lsacgrk10_W4.dta", nogenerate keep(master match)

    Comment


    • #3
      Thanks Joseph. Embarrassing oversight but grateful for the correction, regards, Don

      Comment

      Working...
      X