Skip to main content

Pretty Good Hat

Tag: rstats

The launch of the new Destiny 2 expansion, Nightfall, adds a new subclass – Strand – and restructures the mod system that affects player stats gained from armor. I’m happy to report that it only took me a couple of hours to revise my Shiny tool to find optimal armor loadouts using the new mods and subclass fragments! I had to hunt a little through some old code, and next time it should be a simple and easy update due to having fixed how I work with the manifest.

A bright yellow background highlights bold text showing my favorite new-to-my artists this year: Big Thief, Low, Japanese Breakfast, Alvvays, and Courtney Marie Andrews. The hashtag at the bottom of the image reads #tuneR.

A heatmap showing calendar days through twelve months, with light yellow showing ‘light’ listening days shading to purple for the heavist days where I listened to the most music. I listened to a lot of music in Januar, July, October and November.

I dusted off the last.fm data visualizer that I started working on last year around this time. This year I built a couple of fun Spotify-wrapped-like visualizations; why should Spotify users have all the fun?

If you’re a last.fm user, you can try it, too! TuneR is a small Shiny app that you can provide your last.fm username and see your year in music, a comparison of this year to your all-time most-listened artists, and a fun heatmap of your listening activity.

An animated gif showing a set of growing bars measuring Destiny 2 weapon usage

I’ve had a really nice hobby R coding weekend, learning to use {gganimate} to make plots like this. I’ve been re-tooling all my old piles of fish scripts that I’ve used to gather my Destiny data from the game’s API. Now I have a useful pair of quarto notebooks that retrieve data using parallel processing and produce this kind of output. I’m super enthused by what I’ve learned!

Had a pretty good hobby coding weekend learning how to use purrr::pluck() to get specific nested fields from piles of json data rather than blowing out the whole series of nested lists.

I learned today that one of the magical things pandoc can do under the hood for Quarto is use a Powerpoint template to render slides. I can work in RStudio to make slides in my company’s style; this is amazing!

(Footnote: This assumes a template that uses at least some standard powerpoint slide notation, which my company’s official templates do … not quite do. But a little bit of revision of the slide master got me there!)

Got nginx running on my MacBook today, as part of building some working-with-APIs-infrastructure for a small tutorial I want to write on working with oauth in Shiny. Good step!

I’m officially on vacation, but there’s so much that I want to “bring back” to work with me from this week’s rstudio::conf. Looking forward to one more day with this community of folks doing and learning things.