These functions will give proportions for different variables inline.
fmt_count(x, ...)
a data frame
an expression or series of expressions to pass to dplyr::filter()
a one-element character vector of the format "n (%)"
fmt_count(mtcars, cyl > 3, hp < 100)
#> [1] "9 (28.1%)"
fmt_count(iris, Species == "virginica")
#> [1] "50 (33.3%)"