Hi all,
I have to subset a data table and concatenate the data tables one by one into another file.
How can I concatenate the data tables from the subset table to the original table? please help, im really not sure how to do it
Here's my sample data:
Data Table( "Analgesics" ) << Subset(
Output Table( "dt_subset" ),
By( :gender ),
All rows,
Selected columns only( 0 ),
columns( :drug, :pain )
);
// concatenating to my original data table
For( i = 1, i <= 10, i++, //not sure on this one
dt << concatenate( dt_subset( i ), Append to First Table( 1 ) )
);