<p><div><div><div><div data-show-faces="false" data-height="21" data-width="100" data-layout="button_count" data-send="true" data-href="https://www.r-bloggers.com/trending-topics-on-cable-news-the-newsflash-package/"></div></div><div></div></div><div></div></div>
<div>
(This article was first published on <strong><a href="http://blog.revolutionanalytics.com/2017/09/newsflash.html"> Revolutions</a></strong>, and kindly contributed to <a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers)</a> </div>
<div>
<p>Want to know what's capturing the attention of the producers at the 24-hour cable news stations? There's no equivalent of Twitter's trending topics for the likes of CNN or BBC News, but the <a rel="nofollow" href="https://github.com/hrbrmstr/newsflash" target="_blank">newsflash package</a> for R by Bob Rudis can extract the latest trending topics from the TV news stations.</p>
<blockquote class="twitter-tweet" data-lang="en">
<p dir="ltr" lang="en">It seems TV news topics were much less homogenous yesterday <a rel="nofollow" href="https://t.co/hbKx5cqaf2" target="_blank">pic.twitter.com/hbKx5cqaf2</a></p>
<p>— boB Rudis (@hrbrmstr) <a rel="nofollow" href="https://twitter.com/hrbrmstr/status/907566398871887874" target="_blank">September 12, 2017</a></p></blockquote>
<p></p>
<p>The newsflash package is an interface to the <a rel="nofollow" href="https://television.gdeltproject.org/cgi-bin/iatv_ftxtsearch/iatv_ftxtsearch" target="_blank">GDELT Project's Television Explorer</a>, which provides access to the closed-captioning transcripts from seven major cable-news stations, with archives available for the past 6 years. In particular, it provides access to the top trending &quot;entities&quot; (in the sense of the <a rel="nofollow" href="https://nlp.stanford.edu/software/CRF-NER.shtml" target="_blank">Stanford Names Entity Recognizer</a>), ranked by the number of sentences in which they are mentioned during the last 24 hours. You can see <a rel="nofollow" href="https://rud.is/rpubs/trends-by-station.html" target="_blank">R code extracting the rankings here</a>.</p>
<p>The <a rel="nofollow" href="https://github.com/hrbrmstr/newsflash" target="_blank">newsflash package</a> is still in alpha-test mode and only available on Github (and not yet on CRAN). Also, it seems that the GDELT API can be a little unreliable and sometimes fails to return results. Nonetheless, it looks to be a useful resource for exploring what the TV news networks are reporting.</p>
<p>rud.is: <a rel="nofollow" href="https://rud.is/b/2017/09/09/teasing-out-top-daily-topics-with-gdelts-television-explorer/" target="_blank">Teasing Out Top Daily Topics with GDELT’s Television Explorer</a></p>
</div>
	<p>
<div>
<div>To <strong>leave a comment</strong> for the author, please follow the link and comment on their blog: <strong><a href="http://blog.revolutionanalytics.com/2017/09/newsflash.html"> Revolutions</a></strong>.</div>
<hr>
<a rel="nofollow" href="https://www.r-bloggers.com/">R-bloggers.com</a> offers <strong><a rel="nofollow" href="https://feedburner.google.com/fb/a/mailverify?uri=RBloggers">daily e-mail updates</a></strong> about <a rel="nofollow" href="https://www.r-project.org/" title="The R Project for Statistical Computing">R</a> news and <a rel="nofollow" href="https://www.r-bloggers.com/search/tutorial" title="R tutorials">tutorials</a> on topics such as: <a rel="nofollow" href="https://www.r-bloggers.com/search/data%20science" title="Data science">Data science</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Big%20Data" title="Big Data">Big Data, <a rel="nofollow" href="https://www.r-users.com/" title="R jobs">R jobs</a>, visualization (<a rel="nofollow" href="https://www.r-bloggers.com/search/ggplot2" title="ggplot and ggplot2 tutorials">ggplot2</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/boxplot" title="Boxplots using lattice and ggplot2 tutorials">Boxplots</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/map" title="Maps and gis">maps</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/animation" title="Animation in R">animation</a>), programming (<a rel="nofollow" href="https://www.r-bloggers.com/search/RStudio" title="RStudio IDE for R">RStudio</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/sweave" title="Sweave and literate programming">Sweave</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/LaTeX" title="LaTeX in R">LaTeX</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/SQL" title="SQL and databases">SQL</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/eclipse" title="Eclipse IDE for R">Eclipse</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/git" title="git and github, Version Control System">git</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/hadoop" title="Large data in R using Hadoop">hadoop</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/Web+Scraping" title="Web Scraping of google, facebook, yahoo, twitter and more using R">Web Scraping</a>) statistics (<a rel="nofollow" href="https://www.r-bloggers.com/search/regression" title="Regressions and ANOVA analysis tutorials">regression</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/PCA" title="principal component analysis tutorial">PCA</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/time+series" title="Time series">time series</a>, <a rel="nofollow" href="https://www.r-bloggers.com/search/trading" title="finance trading">trading</a>) and more...
<img width="1" alt="" src="http://feeds.feedburner.com/~r/RBloggers/~4/5zJ9-YC7Lkc" height="1"></a></div>