[R] Data Manipulation Question

Jason Morgan jwm-r-help at skepsi.net
Thu Dec 3 23:03:58 CET 2009


Please refrain from posting HTML. The results can be incomprehensible:

On 2009.12.03 13:52:09, John Filben wrote:
> Can R support data manipulation programming that is available in the SAS datastep??? Specifically, can R support the following:
> -?????????????????? Read multiple dataset one record at a time and compare values from each; then base on if-then logic write to multiple output files
> -?????????????????? Load a lookup table and then process a different file; based on if-then logic, access and lookup values in the table
> -?????????????????? Support modular ???gosub???programming
> -?????????????????? Sort files
> -?????????????????? Date math and conversions
> -?????????????????? Would it be able to support the following type of logic:
> o???? Start
> ???? Read Record from File 1
> ???? Read Record from File 2
> ???? Match
> ?????????????????? If Key 1 <> Key 2 and Key 1 < Key 2, Write to output file A
> ?????????????????? If Key 1 = Key 2, Write to output file B
> ?????????????????? If Key 1 <> Key 2 and Key 1 > Key 2, Write to output file C???? Goto Start until File 1 Done
> ??John Filben
> Cell Phone - 773.401.2822
> Email - johnfilben at yahoo.com 
>       
> 	[[alternative HTML version deleted]]

-- 
Jason W. Morgan
Graduate Student
Department of Political Science
*The Ohio State University*
154 North Oval Mall
Columbus, Ohio 43210




More information about the R-help mailing list