[output of the code below; bar plot and image side by side (https://i.sstatic.net/YjH5WNsx.png)
Exhaustion & Burnout (Burned Out) {.tabset data-width=”650″}
Burned out by the volumne of in-basket messages handled (Intervention Sites)
create_bar_plot(staff_intervention_data, "Burned Out", "Role")
`{r, fig.height=3.5}
library(htmltools)
create_table(staff_intervention_data, "Burned Out") %>%
as_raw_html() %>%
div(style = "margin-top: -320px; margin-left: 288px;")`
#This code below shows the bar plot and tables side by side but the codes belows shows that the bar plot is overlaying the table
`
Output of the code below; bar plot overlapping table
`
# Satisfaction {.tabset data-width="650"}
### **Satisfaction - Correctly Routed (Intervention Sites)**
```{r, fig.height=3.5}
create_bar_plot(staff_intervention_data, "Correctly Routed", "Role")
`{r, fig.height=3.5, fig.align="right"}
library(htmltools)
create_table_satisfaction(staff_intervention_data, "Correctly Routed") %>%
as_raw_html() %>%
div(style = "margin-top: 0px; margin-left: 50%;")`
Tried the codes attached above, but the second code doesn't seem to alighn the bar plot and the table.
`
New contributor
Stephen O. Ipadeola is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.