iDigBio / ridigbio

ridigbio -- an R interface to iDigBio's API (see http://www.idigbio.org/)
http://idigbio.github.io/ridigbio/
Other
16 stars 10 forks source link

should we add a progress bar? #10

Open fmichonneau opened 9 years ago

fmichonneau commented 9 years ago

Should we add a progress bar to monitor status of larger requests?

mjcollin commented 9 years ago

Is there a way to tell if the query is being run interactively vs as part of a script? Or direct output someplace that gets eaten when there is no console?

fmichonneau commented 9 years ago

Is there a way to tell if the query is being run interactively vs as part of a script?

Yes, interactive() returns TRUE when R is being run interactively.

We should probably use: https://github.com/gaborcsardi/progress

mjcollin commented 9 years ago

Looks like a nice package. I think this is a nicety now but we definitely will need to do this when the download API endpoints get added. ETA on that is July-ish after the next portal and indexes get rolled out.