whence 0.1.0
Initial CRAN submission.
whenceOutput()andrenderWhence()show a value in ‘shiny’. A click on the value opens a panel with the attrition waterfall and the reproduce code, with no trip to the server.formatinrenderWhence()turns the value into text, and a formatter of ‘scales’ works there.whenceTableOutput()andrenderWhenceTable()show a summary table. A click on a row opens the panel of that row: the rows of its group at each step, the code of the row, and its rows.whencePlotOutput()andrenderWhencePlot()draw a ‘ggplot2’ plot of a summary. A click on a bar or a point opens the panel of its row, also when the axis is computed, as inaes(reorder(region, total), total).whence_code()gives code that makes the value again. Onlyinput$nameandinput[["name"]]are replaced by their values.whence_rows()finds the source rows that make the value. Withstep, it finds the rows that one step removed. It runs only when it is called. In the panel, each count of removed rows, with its percentage, is a button that shows them.print()and the panel show the number of each step.whence_table()andwhence_group()trace a summary table and explain one of its rows, with no ‘shiny’.whence_group()finds the row by its number, or by its group values, such aswhence_group(tab, region = "APAC").whence_opened()gives a reactive with the panel that the viewer has open, and the row of the table, so an app can follow the viewer.whence_trace()splits a pipeline into its steps and records the rows after each step. When the chain stops at a call that whence does not know, such as a join, the trace and the panel say where.pivot_longer()andpivot_wider()from ‘tidyr’ are known steps.
