view_html: View Comparison output HTML

Description Usage Arguments Examples

Description

Some versions of Rstudio doesn't automatically show the html pane for the html output. This is a workaround

Usage

1
view_html(comparison_output)

Arguments

comparison_output

output from the comparisonDF compare function

Examples

1
2
3
4
5
6
7
old_df = data.frame(var1 = c("A", "B", "C"),
                    val1 = c(1, 2, 3))
new_df = data.frame(var1 = c("A", "B", "C"),
                    val1 = c(1, 2, 4))
ctable = compare_df(new_df, old_df, c("var1"))
# Not Run::
# view_html(ctable)

Example output

Creating comparison table...
Loading required namespace: htmlTable
Creating HTML table for first 100 rows

compareDF documentation built on Jan. 8, 2020, 5:08 p.m.