Learn R Programming

tidydatatutor (version 0.1.0)

go_code: Send a Code String to Tidy Data Tutor

Description

Send a Code String to Tidy Data Tutor

Usage

go_code(code)

Arguments

code

A string of R code.

Value

A string with an appropriately formatted URL to Tidy Data Tutor (invisibly).

Examples

Run this code
# NOT RUN {
code =
"library(dplyr)
library(palmerpenguins)

penguins %>%
  select(species, bill_length_mm) %>%
  group_by(species) %>%
  arrange(desc(bill_length_mm), .by_group = TRUE) %>%
  slice(1)"

tidydatatutor::go_code(code)
# }

Run the code above in your browser using DataLab