'RStudio' Addin for Editing a 'data.frame'

An 'RStudio' addin for editing a 'data.frame' or a 'tibble'. You can delete, add or update a 'data.frame' without coding. You can get resultant data as a 'data.frame'. In the package, modularized 'shiny' app codes are provided. These modules are intended for reuse across applications.

title: "package editData : An RStudio Addin for Editing A 'data.frame'" author: "Keon-Woong Moon" date: "2017-10-06" output: rmarkdown::html_vignette vignette: > %\VignetteIndexEntry{editData} %\VignetteEngine{knitr::rmarkdown} %\VignetteEncoding{UTF-8}

The 'editData' is an RStudio addin for editing a 'data.frame' or a 'tibble'. Many RStudio users want to edit a data.frame. With this 'editData' package, you can delete, add or update a 'data.frame' without coding. You don't have to use Microsoft excel or a csv editor any more to edit data. You can get resultant data as a 'tibble' or as a 'data.frame'. You can read a csv file in the disk and save it as a csv format.

Install package

You can install editData package from CRAN.


You can install the developmental version of editData package from github.


After install this editData package you can see the editData addin in RStudio's addins. (See the second plot).

Usage: As an RStudio Add-in

This addin can be used to interactively manipulate a data.frame or a tibble. 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(1).
plot of chunk unnamed-chunk-3
  1. Execute this addin(arrow), to interactively manipulate it.
plot of chunk unnamed-chunk-4
  1. You can select and unselect a row by clicking a row in dataTable. You can delete the selected row(1), add a new row(2) or edit a row(3). You can select single or multiple rows(4) to delete.
plot of chunk unnamed-chunk-5

You can enter data name(5) to edit, upload a CSV file(6) and download the edited data as a csv file(7).

  1. If you press the edit button you can see this window. You can move to the desired row, edit rowname and individual data. You can delete the row or update the data.
plot of chunk unnamed-chunk-6
  1. By default, the sampleData included in the editData package is selected. The sex and bloodType column are factor variables. A selectInput is assigned for a column of class factor.
plot of chunk unnamed-chunk-7
  1. A dateInput is assigend for a column of class date.
plot of chunk unnamed-chunk-8

Usage: As a regular function

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

result <- editData(mtcars)

The resultant 'tibble' or 'data.frame' is assigned to the object result.

Usage: As a shiny module

The editData package is made of modularized shiny functions. You can use the modularized editableDTUI() and editableDT() functions in your shiny app. In this package, I have included three examples in the inst folder. You can run ths examples with one of the following codes.



editData 0.1.2

================= (2017-Oct-8)

  • Bug fixed

  • Add several example applications in "inst" folder

editData 0.1.1

================== (2017-Oct-3)

  • Rewrite the R codes for 'editData' function as shiny modules

  • New shiny module functions "editableDTUI" and "editableDT" added. These module are intended for reuse across applications.

  • New function "textInput3","seletInput3","label3","numericInput3","checkboxInput3", "radioButtons3" and "dateInput3" added for side-by-side input

editData 0.1.0

==================== (2017-Sep-22)

  • new function "editData" added

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.2 by Keon-Woong Moon, 3 years ago


Report a bug at https://github.com/cardiomoon/editData/issues

Browse source code at https://github.com/cran/editData

Authors: Keon-Woong Moon [aut, cre]

Documentation:   PDF Manual  

GPL-3 license

Imports shiny, miniUI, rstudioapi, DT, tibble

Suggests knitr, rmarkdown

Imported by ggplotAssist, rrtable.

See at CRAN