bedatadriven / activityinfo-R

ActivityInfo R Language Client
https://www.activityinfo.org/support/docs/R/
17 stars 12 forks source link

Progress bar for executeJob() #71

Open nickdickinson opened 1 year ago

nickdickinson commented 1 year ago

While importing data, the job percentage does not change until finished.

image

Should we perhaps implement a progress bar or is it preferable for the logging to have these messages?

akbertram commented 1 year ago

It depends on the size of the import. I believe the percentage is updated every 200 records. So if you import less than this you won't see much granularity.

Other jobs don't provide progress at all.

I believe the utils package exposes some text bar interface, so I'll leave this open.

nickdickinson commented 1 year ago

Ok noted. So we'll only expose a progress bar if there are more than X amount of records, e.g. 200.