<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Dplyr on rostrum.blog</title>
    <link>https://www.rostrum.blog/tags/dplyr/</link>
    <description>Recent content in Dplyr on rostrum.blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en-gb</language>
    <lastBuildDate>Sun, 08 Dec 2019 00:00:00 +0000</lastBuildDate>
    
	<atom:link href="https://www.rostrum.blog/tags/dplyr/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>{altcheckr}: check image alt text from R</title>
      <link>https://www.rostrum.blog/2019/12/08/altcheckr/</link>
      <pubDate>Sun, 08 Dec 2019 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2019/12/08/altcheckr/</guid>
      <description>tl;dr I’ve made a small R package called {altcheckr} that checks the accessibility of images on web pages. It has functions that (1) scrape attributes from HTML  elements on a web page and (2) apply simple rules to indicate the suitability of the alt text provided. To use:
remotes::install_github(&amp;quot;matt-dray/altcheckr&amp;quot;) images &amp;lt;- alt_get(&amp;quot;https://www.bbc.co.uk/news&amp;quot;) alt_check(images) I’m not an expert and the package has not been user tested.
 Accessibility A web site is accessible if everyone can engage with its content.</description>
    </item>
    
    <item>
      <title>Travel the NBA with {rvest}, {leaflet} and {osrm}</title>
      <link>https://www.rostrum.blog/2018/12/24/nba-travel/</link>
      <pubDate>Mon, 24 Dec 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2018/12/24/nba-travel/</guid>
      <description>Classic Jazz: Stockton to Malone for the dunk (via Giphy)   Note
The original version of this post (December 2018) used the {gmapsdistance} package. I updated it extensively in 2020 to use the {osrm} package, which doesn’t require an API key nor billing details.
 tl;dr The {osrm} R package can retrieve from the OSRM API the travel duration between points.</description>
    </item>
    
    <item>
      <title>Quantify colour by {magick}</title>
      <link>https://www.rostrum.blog/2018/11/25/art-of-the-possible/</link>
      <pubDate>Sun, 25 Nov 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2018/11/25/art-of-the-possible/</guid>
      <description>‘Walrus rainbow vomit’ is a sentence I’d never thought I’d type (via Giphy)   Note
I later learnt about {colorfindr} by David Zumbach, which can extract colours from images, provide composition details and generate palettes. Check it out.
 tl;dr I used the {magick} package in R to map an image’s colours to their nearest match from a simplified palette, then quantified how much of the image was covered by each colour in that palette.</description>
    </item>
    
    <item>
      <title>Teaching R with Pokémon Go data</title>
      <link>https://www.rostrum.blog/2018/11/04/r-train-pkmn/</link>
      <pubDate>Sun, 04 Nov 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2018/11/04/r-train-pkmn/</guid>
      <description>Psyduck hurt itself in its confusion (via Giphy)  You teach me and I’ll teach you I wrote in a recent post about some training materials I wrote for teaching R Markdown.
Now I’m sharing another thing I made: Beginner R and RStudio Training (featuring Pokémon!). It’s an introduction to R, RStudio, R Projects, directory structure and the tidyverse. It uses Pokémon Go1 data that I collected myself.2
You can:</description>
    </item>
    
    <item>
      <title>Tid-ye-text with geniusr</title>
      <link>https://www.rostrum.blog/2018/06/05/tid-ye-text/</link>
      <pubDate>Tue, 05 Jun 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2018/06/05/tid-ye-text/</guid>
      <description>Matt Dray
⚠️ Warning: this post contains offensive words. ⚠️
Genius? Kanye West released his latest album – ye – last week1 after a(nother) pretty turbulent and controversial period of his life2. So what’s been on his mind?
I think the real question is why don’t we scrape Yeezus’s lyrics from the web and analyse them using R? Obviously.
 Genius Genius is a website where you can upload and comment on song lyrics.</description>
    </item>
    
    <item>
      <title>Pokéballs in Super Smash Bros</title>
      <link>https://www.rostrum.blog/2018/05/19/pokeballs-in-super-smash-bros/</link>
      <pubDate>Sat, 19 May 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2018/05/19/pokeballs-in-super-smash-bros/</guid>
      <description>Smash! Super Smash Bros (SSB) is a beat ’em up videogame series featuring characters from various Nintendo franchises and beyond.
The series has featured on Nintendo 64 (Super Smash Bros, 1998), Gamecube (SSB Melee, 2001), Wii (SSB Brawl, 2008), Wii U and 3DS (SSB ‘4’, 2014) and an upcoming title for the Switch console.
The game is popular enough to have resulted in a series of organised tournaments1.
You can fight characters directly but you can also make use of items and weapons from games across the Nintendo universe, such as the mushroom (the Super Mario series), the heart container (Zelda) and the home run bat (EarthBound).</description>
    </item>
    
    <item>
      <title>TWO DOGS IN TOILET ELDERLY LADY INVOLVED</title>
      <link>https://www.rostrum.blog/2018/04/27/two-dogs-in-toilet-elderly-lady-involved/</link>
      <pubDate>Fri, 27 Apr 2018 00:00:00 +0000</pubDate>
      
      <guid>https://www.rostrum.blog/2018/04/27/two-dogs-in-toilet-elderly-lady-involved/</guid>
      <description>Matt Dray (@mattdray)
Call the fire brigade. Oh wait, we’re fine.
 TL;DR Animals get stuck in weird places, just ask the London Fire Brigade. I used the sf package for handling some animal rescue spatial data prior to interactive mapping with leaflet. Scroll to the bottom to see the map.
 The problem Sometimes I work with eastings and northings coordinate data.</description>
    </item>
    
  </channel>
</rss>