Wikipedia Page Views

This is the first in a category of retreads where I look again at past work which could do with some loving care. This might be as they are broken, could do with some updating or be usefully enhanced One of my first shiny projects was using the wikipediatrend package to monitor daily page views on Wikipedia. Plotted in ggvis - which at the time seemed to be the future of interactive charts - it was also set up so that specific days could be clicked and links to articles in the Guardian newspaper were made available via the GuardianR package

Read more

Share

Notebook Collaboration

Wild boars amongst us One of the great virtues of R Notebooks is the ease of collaboration and Tuija Sonkkila recently kindly made hers on wild boars available As - in a former existence - I was a pork buyer for a grocery chain, this piqued (almost-pun intended) my interest. So I just hit the code > Download Rmd button, and opened the resulting notebook file in RStudio to play with.

Read more

Share

Textual Analysis

Great Expectations Text Mining in R had quite the boost in 2016. David Robinson’s fascinating analysis of Donald Trump’s real and ‘official’ tweets got a lot of publicity (something the president-elect was probably all too happy with) and his collaboration with Julia Silge resulted in one of the best books,Tidy text Mining with R yet published using the bookdown package Professor Silge also released a couple of R packages

Read more

Share

Exploratory Analysis

Analyzing some Premier League data I recently had some fan-mail! The author suggested I write a book on the “practical considerations when building shiny”. That’s not going to happen, but I thought I would go into an example (warts and all) of how I proceed from an idea to an output which might end up as a tweet, flexdashboard, blog post or just plain binned (and not in the histogram sense)

Read more

Share

Cranlogs Dashboard

CRAN packages I mentioned in an earlier post that I like to keep track of new and updated packages On average, a new package is provided to CRAN every 5 hours and updates are even more numerous CRAN provides an availablity table and there is also the informative CRANberries site plus twitter announcements but it is still hard to keep track of all the new developments

Read more

Share

Introducing Books

Bookdown bookdown is an R package using RMarkdown making it relatively easy to createa book available in multiple outputs. It is extensively documented in the book, bookdown: Authoring Books and Technical Documents with R Markdown To quote its author, Yihui Xie,

It should be technically easy to write a book, visually pleasant to view the book, fun to interact with the book, convenient to navigate through the book, straightforward for readers to contribute or leave feedback to the book author(s), and more importantly, authors should not always be distracted by typesetting details.

Read more

Share

rstudio::Conf

Just a quick reminder that the second rstudio conference to be held in Florida in January is almost sold out (32 tickets available at time of writing) Needless to say, a great chance to network as well as take in some interesting talks Probably will not be going myself. As a white male, I might be forced to stay in the country and become a citizen!

Read more

Share

Hansard

UK 2015 Election I like to check out new and enhanced R packages, particularly those relating to socio-economic issues and sports A recent new entry is hansard, which pulls data from the UK Parliament API Other required packages, which I will make extensive use of in future code extracts, are tidyverse, for data preparation and processing, and plotly, for a wide set of interactive graphics

Read more

Share

Welcome to my World

It’s been a while… … since I had a blog up and running However, RStudio’s Yihui Xie continues to extend R Markdown into new areas and his latest package, blogdown, integrates well with Hugo, a static website engine to display code easily. The product is in beta and I’m just learning it so expect some glitches R markdown can be displayed in many different formats so this is a natural extension to work I do on notebooks, flexdashboards and books.

Read more

Share

{“x”:{“id”:“28e7dc7f”,“config_info”:“‘appfiles/config.jsonp’”,“self_contained”:false,“latest_display”:{“name”:“GDELT_Domain_Search_at_2017_06_05”,“group”:“common”},“spa”:true,“in_knitr”:false,“in_notebook”:true},“evals”:[],“jsHooks”:[]} {“viewer”:{“width”:“100%”,“height”:“100%”,“padding”:0,“fill”:false},“browser”:{“width”:“100%”,“height”:“100%”,“padding”:0,“fill”:false}}

Read more

Share