Skip to content

Commit 3138fda

Browse files
committed
Added Flextable
1 parent 623f5fa commit 3138fda

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

inst/rmd/one_pager_template.Rmd

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ knitr::opts_chunk$set(
4141
library(cd2030)
4242
library(dplyr)
4343
library(purrr)
44+
library(flextable)
4445
library(reactable)
4546
library(officedown)
4647
library(officer)
@@ -136,7 +137,8 @@ data %>%
136137
i = ~ !is.na(type), part = "body",
137138
bg = 'lightgoldenrodyellow'
138139
) %>%
139-
theme_vanilla()
140+
theme_vanilla() %>%
141+
set_table_properties(layout = "autofit")
140142
```
141143

142144
##### DQA scores greater or equal to 90% are highlighted in green indicating good data quality, scores of 80-90% in yellow and less than 70% in red indicator poor data quality.`r officer::run_columnbreak()`

0 commit comments

Comments
 (0)