dplyrAssist {dplyrAssist} | R Documentation |
A shiny app for learn dplyr
Description
Interactively manipulate a data.frame
or a tibble
. The resulting
code will be emitted as an R code.
Usage
dplyrAssist(df = NULL, right = NULL)
Arguments
df |
A tibble or a tbl_df or a data.frame to manipulate |
right |
Optional second data(A tibble or a tbl_df or a data.frame) to join |
Details
This addin can be used to interactively manipulate a data.frame
or a tibble
using dplyr.
The intended way to use this is as follows:
1. Highlight a symbol naming a data.frame
or a tibble
in your R session,
e.g. mtcars
,
2. Execute this addin, to interactively manipulate it.
When you're done, the code for data manipulation will be emitted at the cursor position.
Value
A manipulated tibble or NULL
Examples
library(tidyverse)
library(nycflights13)
## Not run:
dplyrAssist(band_members,band_instruments)
dplyrAssist(flights)
result<-dplyrAssist(iris)
cat(attr(result,"code"))
## End(Not run)
[Package dplyrAssist version 0.1.0 Index]