---
title: "package dplyrAssist"
author: "Keon-Woong Moon"
date: "`r Sys.Date()`"
output: rmarkdown::html_vignette
vignette: >
  %\VignetteIndexEntry{dplyrAssist}
  %\VignetteEngine{knitr::rmarkdown}
  %\VignetteEncoding{UTF-8}
---

```{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE,comment = NA,fig.align='center',out.width="70%")
```

```
The 'dplyrAssist' is an RStudio addin for teaching and learning data manipulation using the 'dplyr' package. 
You can learn each steps of data manipulation by clicking your mouse without coding. 
You can get resultant data(as a 'tibble') and the code for data manipulation. 
```

## Install package

You can install `dplyrAssist` package from github.

```{r,eval=FALSE}
#install.packages("devtools")
devtools::install_github("cardiomoon/dplyrAssist")
```


## Usage: As an RStudio Add-in

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. `iris`(1).

```{r,echo=FALSE}
knitr::include_graphics("https://raw.githubusercontent.com/cardiomoon/dplyrAssist/master/man/figures/1.png")
```

2. Execute this addin(arrow), to interactively manipulate it.

```{r,echo=FALSE}
knitr::include_graphics("https://raw.githubusercontent.com/cardiomoon/dplyrAssist/master/man/figures/2.png")
```

3. When you're done(small arrow), the code for data manipulation will be emitted at the cursor position(green rectangle).

```{r,echo=FALSE}
knitr::include_graphics("https://raw.githubusercontent.com/cardiomoon/dplyrAssist/master/man/figures/3.png")
```

## Usage: As a regular function

You can use the `dplyrAssist()` function as a regular function, e.g. in a command line.

You can find full vignette here. http://rpubs.com/cardiomoon/303716

