Description Usage Arguments Value Examples
Send a Code String to Tidy Data Tutor
1 | go_code(code)
|
code |
A string of R code. |
A string with an appropriately formatted URL to Tidy Data Tutor (invisibly).
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.