Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Merging based on dates


From   Orla Liston <listono@tcd.ie>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Merging based on dates
Date   Thu, 9 Jun 2011 14:24:00 -0700

figured it out, thanks for the help!!

On 9 June 2011 13:25, Eric Booth <ebooth@ppri.tamu.edu> wrote:
> <>
>
> See this thread for near date merges using -nearmrg- from SSC:
>
> http://www.stata.com/statalist/archive/2010-01/msg00007.html
>
> - Eric
> __
> Eric A. Booth
> Public Policy Research Institute
> Texas A&M University
> ebooth@ppri.tamu.edu
>
>
> On Jun 9, 2011, at 1:01 PM, Orla Liston wrote:
>
>> Hi
>>
>> I'm trying to merge two datasets. One of them has numerous
>> observations for each date, while the smaller dataset only has one
>> observation per date. Whilst the dates are mostly the same, there are
>> a few dates which are present in one dataset but not the other.
>>
>> I'm trying to merge them based on the date, but having some trouble,
>> as they obviously don't match up 100%, and also the observations in
>> the smaller dataset will need to be replicated for each of the
>> observations for the dates in the main dataset!
>>
>> I hope this makes sense? Basically I'm trying to match exchange rate
>> data (the smaller dataset) with travelling data (the larger dataset)!
>>
>> Thanks in advance!
>>
>> Orla
>> *
>> *   For searches and help try:
>> *   http://www.stata.com/help.cgi?search
>> *   http://www.stata.com/support/statalist/faq
>> *   http://www.ats.ucla.edu/stat/stata/
>
>
>
>
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>
>

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index