The number of R users in social media

An alternative way to try to estimate the number of R users could be to analyze the occurrence of the related terms on social media. This is relatively easy on Facebook, where the marketing API allows us to query the size of the so-called target audiences, which we can use to define targets for some paid ads.

Well, we are not actually interested in creating a paid advertisement on Facebook right now, although this can be easily done with the fbRads package, but we can use this feature to see the estimated size of the target group of persons interested in R:

> library(fbRads)
> fbad_init(FB account ID, FB API token)
> fbad_get_search(q = 'rstats', type = 'adinterest')
 id name audience_size path description ...

Get Mastering Data Analysis with R now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.