Adds dates and hospitalizations to the table with historical data.
add.to.hist.table(hist.data, date.hist, num.hospitalized.hist, curr.date)
| hist.data | Dataframe with Date, Hospitalizations, and Day columns. |
|---|---|
| date.hist | Date to add to table. |
| num.hospitalized.hist | Hospitalization count to add to table. |
| curr.date | The 'current' date set in the app. |
Dataframe with appended row.