Formatting Boolean Data #650
-
I can't seem to find anything in the documentation, but is there a way to nicely display boolean data in a table? Perhaps some sort of checkbox / tick mark for True / False or Yes / No? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
What I can do is port over |
Beta Was this translation helpful? Give feedback.
-
That's perfect. The reactions example in particular is exactly what I need for my use case. No need to rush on my account though - I can make do with "True" / "False" as strings for now. |
Beta Was this translation helpful? Give feedback.
-
Closing this discussion now that |
Beta Was this translation helpful? Give feedback.
What I can do is port over
fmt_tf()
(look at https://gt.rstudio.com/reference/fmt_tf.html for the R implementation), and that'll definitely cover boolean formatting in the ways you mentioned!