progressList
is a simple prototype for a progress list for shiny. The concept is straightforward - break a complex process down into a series of subprocesses and provide feedback on the status of each. The subprocesses can be assigned to one of five states:
Once a subprocess finishes or its state changes it can be updated in the list.
Use in a shiny app. progressList
creates a new list (ui) and progUpdate
and progUpdateList
can be used to update the state of a subprocess (server).
progressList('progresslist1', prog.labels, prog.status)
where prog.labels
is a list of labels, one for each subprocess and prog.status
is a list of states (see above).
a subprocess state can be updated using
progUpdate(session, value, newstatus)
where value
is the label text and newstatus
is the new status to assign.
A number of subprocesses can be updated using
progUpdateList(session, label, status)
for example: progUpdateList(session, c('label 1', 'label 2', 'label 3'), c('active', 'inactive', 'inactive'))
This is just a prototype. There is still lots to do.
![progressList example image](./readme_resources/progressList example.png)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.