rawr (version 0.1.0)

tidytext: Retrieve raw R code tidytext tutorial

Description

Retrieve raw R code tidytext tutorial

Usage

tidytext(url)

tidytextmining(url)

Arguments

url

Link to tidytext tutorial

Value

A character vector of length 1 containing the R code from the target url.

Examples

Run this code
# NOT RUN {
library(dplyr)
tidytext("https://www.tidytextmining.com/sentiment.html")

# Same as above but provided to cat for easy viewing
tidytext("https://www.tidytextmining.com/sentiment.html") %>%
  cat


# }

Run the code above in your browser using DataCamp Workspace