Render a Twitter Status in R Markdown Pages

Include the Twitter status widgets in HTML pages created using R markdown. The package uses the Twitter javascript APIs to embed in your document Twitter cards associated to specific statuses. The main targets are regular HTML pages or dashboards.


Twitter widget for Shiny/flexdashboard

This package contains the definition for a htmlwidget widget able to embed a Twitter status within an R markdown page.

The main functionality is to allow to render a card representing a twitter status

Installation

devtools::install_github("guivo/twitterwidget")

Usage

library(twitterwidget)

optspars <- list(align="center")

twitterwidget('<statusid>', optpars)

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("twitterwidget")

0.1.1 by Guido Volpi, 7 years ago


https://github.com/guivo/twitterwidget


Report a bug at https://github.com/guivo/twitterwidget/issues


Browse source code at https://github.com/cran/twitterwidget


Authors: Guido Volpi [aut, cre]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports htmlwidgets


See at CRAN