Digital Marketplace. Six months later.

Revisiting an old post

Last September I wrote a post entitled Is the Government realising its ambition for SMEs on G-Cloud? Six months on, I wanted to revisit and update this article, fold in a second Digital Marketplace framework, and share the R code here. Revisiting an old post also provides an opportunity to see if one can simplify and improve older code.

Every 7.8 months, on average, suppliers are asked to resubmit their G-Cloud offerings with the lastest pricing and service descriptions. It’s a chance for new suppliers, often smaller ones, to join the existing list and increase overall competitiveness for Cloud services.

G-Cloud 10 is expected to go live in June.

Last September’s article showed signs of a weakening in the Small & Medium Enterprise (SME) supplier share of G-Cloud sales by value. This plot shows this trend to have persisted, and reflects the Digital Outcomes & Specialists (DOS) framework also exhibiting a downward trend.

Overall spending through the two frameworks however continues to grow across all parts of Public Sector.

With the weakening in SME share reflected in most sectors.

R toolkit

Revisiting older code prompted me to try automating the routinely, albeit to date manually, produced R toolkit summary. See the code for the automated version. This also now incorporates a count of function usage, arranged with the most-used listed first for each package.

I’m excluding the base and stats packages. I’m doing that because, for example, dplyr::filter() masks stats::filter(), and the toolkit summary would imply I’ve used both when my first instinct is “all things tidyverse”. And I’m anyway more interested in my usage of “non-base” functions.

purrrmap[1]; map2_df[1]; possibly[1]; set_names[1]
readrguess_encoding[2]; locale[2]; read_csv[2]; parse_number[1]
dplyrfilter[8]; group_by[5]; mutate[5]; select[5]; summarize[5]; arrange[1]; as_tibble[1]; bind_rows[1]; data_frame[1]; desc[1]; if_else[1]
tibbleas_tibble[1]; data_frame[1]; enframe[1]
stringrfixed[7]; str_c[4]; str_replace[4]; str_remove[3]; str_count[1]; str_detect[1]; str_extract[1]
lubridatemyd[2]; days_in_month[1]; month[1]
ggplot2labs[5]; aes[4]; geom_line[4]; geom_smooth[4]; ggplot[4]; ggtitle[4]; scale_x_date[4]; theme[3]; element_rect[2]; facet_wrap[2]; scale_y_continuous[1]
ggthemesscale_colour_economist[4]; theme_economist[1]
kableExtrakable[1]; kable_styling[1]

View the code here.


R Development Core Team (2008). R: A language and environment for
statistical computing. R Foundation for Statistical Computing,
Vienna, Austria. ISBN 3-900051-07-0, URL

Contains public sector information licensed under the Open Government Licence v3.0.

2 Replies to “Digital Marketplace. Six months later.”

    1. Hi Mark – yes, I use RMarkdown within RStudio to generate the html document incorporating the code. In the YAML header I used “df_print: kable”, “highlight: pygments”, and “theme: flatly”.

Leave a Reply

Your email address will not be published. Required fields are marked *