Time series

Functions for taming and improving traditional data manipulation methods on time series

complete_time() complete_time_factors()

similar to expand grid - but in expand.grid the algo does not infer missing dates from the timeseries our function does !!

Tidying and Exploring data

Functions for exploring and fixing as well as formatting

chk_dups()

checks and diagnoses NA presence in vectors

chk_nas()

checks and diagnoses NA presence in vectors

collapse_rows()

Collapse row values from a table into a list for pretty printing

forCur() forCurGBP() forCurArea() forCurAreaGBP()

Formats a numeric vector to the desired units and concommitant styling

rmPWCap()

Sterilises strings, capitalising, removing punct. and spaces. Mostly for matching applications

similar_permutations()

find the distinct permutations of columns

Shiny

Functions for rendering custom html and css.

demoApp()

Run a shiny appliaction demonstrating shiny functionality in RShinyHelpers

DT_hover_row_colour()

Colors the hover row in a DT within a shiny app. Call in the ui element of a shiny app

DT_peripheral_colour()

Colors the colour of the peripheral element in a DT within a shiny app. Call in the ui element of a shiny app

DT_selected_row_colour()

Colors the selected row in a DT within a shiny app. Call in the ui element of a shiny app

bootstrap_slider_colour()

Changes bootstrap slider input color individually.

four_value()

builds the div for a more complicated multiple grouped text-value boxes

finance_vbox()

A more complex value box for displaying multiple related metrics in finance

vbox()

builds the div for a simple yet visually effective shiny value box

vbox_graphic()

builds the div for a shiny value box with a simple sparklines-like graphic

vbox_reactive()

builds the div for a reactive shiny value box

ggplot

Functions for improving graph layout commensurate with grammar of graphics principles

custom_theme()

Themes a ggplot object