Converting Between Currencies Using priceR 2022-06-16 In this post I’ll walk through an example of how to convert between currencies. A challenge is that the conversion rate is constantly changing. If you have historical data you’ll want the conversion … priceR dplyr tidyr purrr lubridate devtools
Pulling Twitter Engagements Using the v2 API as Well as rtweet 2022-04-11 This is a follow-up to a short post I wrote on R Access to Twitter’s v2 API. In this post I’ll walk through a few more examples of pulling data from twitter using a mix of Twitter’s v2 API as well as … rjson httr jsonlite dplyr purrr lubridate rtweet tidyr glue rstudioapi fs readr tidyverse
Predicting NBA Playoff Berths: FiveThirtyEight vs Betting Markets 2021-12-17 TLDR: FiveThirtyEight’s forecasts of NBA playoff berths seem to hold-up OK against betting markets. If you trust them, you should consider betting against the Lakers right now. In The Virtues and … stringr dplyr glue gt rvest janitor lubridate purrr tidyr readr fs broom
Feature Engineering with Sliding Windows and Lagged Inputs 2020-10-12 The new rsample::sliding_*() functions bring the windowing approaches used in slider to the sampling procedures used in the tidymodels framework1. These functions make evaluation of models with … httr jsonlite dplyr lubridate rsample slider devtools recipes parsnip workflows tune purrr tidyr forcats ggplot broom
Riddler Solutions: Palindrome Dates & Ambiguous Absolute Value Bars 2020-02-13 This post contains solutions to FiveThirtyEight’s two riddles released 2020-02-07, Riddler Express and Riddler Classic. Code for figures and solutions can be found on my github page. […] The … dplyr lubridate stringi knitr purrr stringr tidyr ggplot