You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have a cron-job script running every day and it's starts by download the data from ona. Data is downloaded as a whole set(4848 Records) which consumes lots of memory and may time out which in turn terminates the script.
Is it possible to implement download of only new submissions? I'm thinking of a function to count number of records and can be used to subset data and only download a subset.
Example,
previousNumberOfRecords <- numberOfSubmissions() # saved on disk
currentNumberOfRecords <- numberOfSubmissions()
Hi,
I have a cron-job script running every day and it's starts by download the data from ona. Data is downloaded as a whole set(4848 Records) which consumes lots of memory and may time out which in turn terminates the script.
Is it possible to implement download of only new submissions? I'm thinking of a function to count number of records and can be used to subset data and only download a subset.
Example,
previousNumberOfRecords <- numberOfSubmissions() # saved on disk
currentNumberOfRecords <- numberOfSubmissions()
onaDownload(formID, account, user, password)[previousNumberOfRecords:currentNumberOfRecords,]
Thank you
The text was updated successfully, but these errors were encountered: