go_code: Send a Code String to Tidy Data Tutor

Description Usage Arguments Value Examples

View source: R/go.R

Description

Send a Code String to Tidy Data Tutor

Usage

1
go_code(code)

Arguments

code

A string of R code.

Value

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

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
## 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)

## End(Not run)

tidydatatutor documentation built on Dec. 10, 2021, 5:10 p.m.