Welcome, Guest. Please Login.
IRobotSoft Robot
12/08/23 at 23:25:09
News: IRobotSoft is the Best Visual Web Computing Platform!
Home Help Search Login
Google
 


Pages: 1
Send Topic Print
Dataset processing (Read 3760 times)
andy ellixson
Junior Member
**


I Love IRobotSoft

Posts: 29
Gender: male
Dataset processing
05/11/14 at 09:01:47
 
Okay, so now i'm having fun!!
 
I'm  reading a list of URLs from a CSV file from column articleUrl.
 
But, I want to skip to a particular record index, prior to processing anything.  
 
I've tried using a dummy task with next_url=csv_data.next(), then in the Repeat property, N times, skip_value (it's a variable).
 
Doesn't appear to work as, it runs the NEXT action in my Task.  I want this dummy action to loop through PRIOR to next action.  How can I do this?  Is there a skip() like function for datasets???
 
Back to top
 
 
  IP Logged
IRobotSoft Administrator
IRobotSoft Administrator
*****


IRobotSoft, the Best
Internet Robot
System

Posts: 1609
Gender: male
Re: Dataset processing
Reply #1 - 05/11/14 at 09:29:14
 
You can add an event, with something like:  
Event: Before each tuple, Condition: Tuple < 10, Return: Do next tuple
 
 
Alternative, you can load dataset to another dataset:
newdataset2.loadData('newdataset', 'rownum>2', 'var')
and use newdataset2 instead.
 
Back to top
 
 

The Administrator.
WWW   IP Logged
andy ellixson
Junior Member
**


I Love IRobotSoft

Posts: 29
Gender: male
Re: Dataset processing
Reply #2 - 05/12/14 at 08:05:57
 
For you dataset load alternative, can I do that on the initial load, or do I have to load the entire dataset into var1 first?
Back to top
 
 
  IP Logged
IRobotSoft Administrator
IRobotSoft Administrator
*****


IRobotSoft, the Best
Internet Robot
System

Posts: 1609
Gender: male
Re: Dataset processing
Reply #3 - 05/12/14 at 09:37:10
 
Yes, you need to load the entire data to newdataset first.  Then the command will copy data starting from rownum to the end to newdataset2.  
 
Back to top
 
 

The Administrator.
WWW   IP Logged
Pages: 1
Send Topic Print