jmp-l
[Top] [All Lists]

Re: Column matching using a set of synonyms

To: <jmp-l@lists.biostat.wustl.edu>
Subject: Re: Column matching using a set of synonyms
From: "Emil M Friedman" <emilfriedman@sbcglobal.net>
Date: Wed, 11 Oct 2006 20:17:21 -0400
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=sbcglobal.net; h=Received:Received:Message-ID:From:To:References:Subject:Date:MIME-Version:Content-Type:X-Priority:X-MSMail-Priority:X-Mailer:X-MimeOLE; b=c8RFE05p7ubJoap3R/n0B1bJtKmv1N44Jfh9+2n9PV9+lsT4IbRNGcnuNfsZhav1Nn3zSWlbFQPQQvDqptGq4FoyOEZRenrfeX3hdsyGd5fONNh+qY2XhA7Ngn8YKEuvsZbGER5OmOrGwX4/ZuLhYWMas4/+VeBlj1TJFHrBF/I= ;
References: <567ACB2E39C83543B746F1AD7F5E5E040A27A97A@wa-mb2-sea.amgen.com>
If there are two many to do it by hand you can create a synonym table containing a column with the old terms and a column with the new terms, with the rows indicating the matching.
 
Then you can join the old to the synonym table using the old names and then join the old+synonym table to the new table using the new names.
-------------------------------------------
Emil M Friedman, PhD
126-1C Montgomery St
Highland Park, NJ  08904
2304 Richmond Road
Beachwood, OH  44122
emil.friedman@alum.mit.edu
emil.friedman@bms.com
emilfrie@alumni.princeton.edu
216-287-0821 (cell)
732-227-5608 (office at Bristol-Myers Squibb)
732-317-1692 (apartment in NJ)
http://www.statisticalconsulting.org
----- Original Message -----
Sent: Wednesday, October 11, 2006 3:06 PM
Subject: Re: [jmp-l] Column matching using a set of synonyms

  Can you use the recode function on the ?key? column to make the synonyms exactly the same?  Do this by selecting the ?Key? column, then from the Cols pull-down menu select recode. A list of all the unique values in the column will appear with a column were you can recode synonyms with a common value.  The merge will then be straight-forward.

Regards,

Sean

 


From: jmp-l-owner@lists.biostat.wustl.edu [mailto:jmp-l-owner@lists.biostat.wustl.edu] On Behalf Of James T Metz
Sent: Wednesday, October 11, 2006 11:37 AM
To: jmp-l@lists.biostat.wustl.edu
Cc: James T Metz
Subject: [jmp-l] Column matching using a set of synonyms

 


JMP Users,

        When updating a JMP table, it is necessary to choose a column "key" on which to join
or merge the new data into the old table.

        Question.  Suppose the "key" is sometimes specified using different words or a set of
words which might be considered as synonyms.  Also assume that the synonym sets are
unique i.e. no overlap.

        Does anyone have any idea then how to match up two tables and update the "old" table
with data from the "new" table if I am using synonyms rather than exactly the same "key" as in
the old data table?


        Regards,
        Jim Metz



James T. Metz, Ph.D.
Research Investigator Chemist

GPRD R46Y AP10-2
Abbott Laboratories
100 Abbott Park Road
Abbott Park, IL  60064-6100
U.S.A.

Office (847) 936 - 0441
FAX    (847) 935 - 0548

james.metz@abbott.com

This communication may contain information that is legally privileged, confidential, or exempt from disclosure.  If you are not the intended recipient, please note that any dissemination, distribution, use, or copying of this communication is strictly prohibited.  Anyone who receives this message in error should notify the sender immediately by telephone or return email and delete it from his or her computer.

<Prev in Thread] Current Thread [Next in Thread>