Skip to contents

Plotting in R - ggplot2

Functions built upon the {ggplot2} R Package

dr_plot_vot()
Quickly create a bar chart which shows volume over time.
dr_plot_vot_group()
Quickly make a line plot of volume over time for a grouping variable
dr_plot_sent()
Create a sentiment distribution bar chart
dr_plot_sent_group()
Plot sentiment grouped by a certain variable.
dr_plot_sent_vot()
Plot a bar or line chart of sentiment over time
dr_plot_raincloud()
Quickly create a raincloud plot

Tabular Data

gt and flextable functions for creating beautiful tables in R

disp_flextable()
Create a flextable for volume + sentiment with a gradient fill.
disp_gt()
Create a gt_summary table fit for use in client briefs

PowerPoint Plotting

Functions for exporting common & basic charts to PowerPoint

disp_ms_vot()
Display Time Series Chart of Data Volume
disp_ms_vot_grouped()
Display Time Series Chart of Grouped Data Volume
disp_ms_sent_grouped()
Display a Stacked Bar Chart of Sentiment Grouped by a Variable
dr_mmlb_barchart()
Create a stacked bar chart for Microsoft's Making My Life Better classification

PowerPoint Utility Functions

Utility functions for working with PowerPoint from R

disp_add_slide()
Add a new slide to a PowerPoint presentation and insert a chart

Bespoke Themes

Apply themes to GGplot objects

dr_theme_black()
theme_black
dr_theme_capture()
Apply Capture Intelligence themed colour scales and aesthetics to ggplot2 plots
dr_theme_microsoft()
Apply Microsoft Themed Colour Scales and Aesthetics to ggplot2 Plots
dr_theme_samy()
Apply SAMY Themed Colour Scales and Aesthetics to ggplot2 Plots
dr_theme_share()
Apply share Themed colour Scales and Aesthetics to ggplot2 Plots