library(dplyr)
library(ggplot2)
The prevalence of drunk podcasts
For today’s rendition of I am curious about everything, in Hilary Parker & Roger Peng’s Not So Standard Deviations Episode 32, Roger suggested the prevalence of drunk podcasting has dramatically increased - so I thought I’d dig into it 🚧👷.
I pulled the iTunes API for the term drunk
in podcasts & plotted the results over time. I also finally found an excuse to use emoGG.
<- httr::GET(url = "https://itunes.apple.com/search",
req query = list(
term = "drunk",
media = "podcast",
limit = 200
))
<- jsonlite::fromJSON(httr::content(req))$results itunes
This resulted in 200
podcasts, which I grouped by month/year released.
%>%
itunes mutate(date = as.Date(releaseDate),monyear = zoo::as.yearmon(date)) %>%
group_by(monyear) %>%
summarise(n = n()) %>%
mutate(date = zoo::as.Date(monyear)) %>%
ggplot(aes(x = date,y=n)) +
scale_x_date() +
::geom_emoji(emoji="1f37a") +
emoGGylab("Number of 'Drunk' podcasts released")
It looks like Roger may be onto something.
I tried to find the number of podcasts on iTunes by month over the past couple of years to adjust for this, but to no avail. If you have that data, please send it my way, so I can complete this very crucial analysis. In the meantime, I’ll pretend it doesn’t matter: While it is certainly true that the number of podcasts in general has absolutely increased over this time period, I would be surprised if the increase is as dramatic as the increase in the number of “drunk” podcasts.
Here is a little shout out to my favorite drunk podcast Drunk Monk, with the lovely Keiko Agena (Gilmore Girls’ Lane herself!).
Cheers! 🍻
Update!
Ethan pointed out the curve was looking a little drunk…
@LucyStats @rdpeng @NSSDeviations Wait … that curve is starting to wrap around. Is it drunk? pic.twitter.com/YBAkAMLDM0
— Ethan Jewett (@esjewett) February 9, 2017
Indeed! We’ve left in February’s data (despite the fact that February is not even half way over 🙈).
%>%
itunes mutate(date = as.Date(releaseDate),monyear = zoo::as.yearmon(date)) %>%
filter(date < as.Date('2017-02-01')) %>% #add a filter!
group_by(monyear) %>%
summarise(n = n()) %>%
mutate(date = zoo::as.Date(monyear)) %>%
ggplot(aes(x = date,y=n)) +
scale_x_date() +
::geom_emoji(emoji="1f37a") +
emoGGylab("Number of 'Drunk' podcasts released")
If you are interested in other things NSSD has inspired me to do, check out this, or this.