{"id":13857399,"url":"https://github.com/DillonHammill/DataEditR","last_synced_at":"2025-07-13T21:32:43.234Z","repository":{"id":51847734,"uuid":"265441241","full_name":"DillonHammill/DataEditR","owner":"DillonHammill","description":"An Interactive R Package for Viewing, Entering Filtering and Editing Data","archived":false,"fork":false,"pushed_at":"2022-09-29T07:03:46.000Z","size":25262,"stargazers_count":384,"open_issues_count":30,"forks_count":40,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-11-06T20:19:28.467Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://dillonhammill.github.io/DataEditR/","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DillonHammill.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-20T03:36:30.000Z","updated_at":"2024-10-05T04:19:33.000Z","dependencies_parsed_at":"2022-08-23T01:50:28.383Z","dependency_job_id":null,"html_url":"https://github.com/DillonHammill/DataEditR","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DillonHammill%2FDataEditR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DillonHammill%2FDataEditR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DillonHammill%2FDataEditR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DillonHammill%2FDataEditR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DillonHammill","download_url":"https://codeload.github.com/DillonHammill/DataEditR/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225920320,"owners_count":17545470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-05T03:01:35.592Z","updated_at":"2024-11-22T15:30:42.872Z","avatar_url":"https://github.com/DillonHammill.png","language":"R","funding_links":[],"categories":["R","UI Components"],"sub_categories":["Editor"],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/\",\n  out.width = \"100%\"\n)\n```\n\n# DataEditR \u003cimg src=\"man/figures/logo.png\" align=\"right\" alt=\"\" width=\"240\"/\u003e\n\n\u003c!-- badges: start --\u003e\n[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)\n[![Lifecycle: stable](https://img.shields.io/badge/lifecycle-stable-brightgreen.svg)](https://lifecycle.r-lib.org/articles/stages.html)\n[![R build status](https://github.com/DillonHammill/DataEditR/workflows/R-CMD-check/badge.svg)](https://github.com/DillonHammill/DataEditR/actions?workflow=R-CMD-check)\n[![CRAN status](https://www.r-pkg.org/badges/version/DataEditR)](https://CRAN.R-project.org/package=DataEditR)\n[![CRAN_Download_Badge](https://cranlogs.r-pkg.org/badges/grand-total/DataEditR)](https://cran.r-project.org/package=DataEditR)\n\u003c!-- badges: end --\u003e\n\nManual data entry and editing in R can be tedious, especially if you have limited coding experience and are accustomed to using software with a Graphical User Interface (GUI). **DataEditR** is an R package built on shiny and rhandsontable that makes it easy to interactively view, enter, filter and edit data. If you are new to **DataEditR** visit https://dillonhammill.github.io/DataEditR/ to get started. \n\n## Installation\n\n**DataEditR** can be installed from CRAN:\n```{r, eval = FALSE}\ninstall.packages(\"DataEditR\")\n```\n\nThe development version of **DataEditR** can be installed directly from GitHub:\n```{r, eval = FALSE}\nlibrary(devtools)\ninstall_github(\"DillonHammill/DataEditR\")\n```\n\nTo ensure that `DataEditR` works as expected, you will also need to install my fork of `rhandsontable`:\n```{r, eval = FALSE}\ndevtools::install_github(\"DillonHammill/rhandsontable\")\n```\n\n## Usage\n\n**DataEditR** ships with a series of shiny modules, namely `dataInput`, `dataSelect`, `dataFilter`, `dataEdit` and `dataOutput` which have been wrapped up into a single function called `data_edit()` to create an interactive data editor. You can use `data_edit()` as a standalone application, or include the relevant modules within your own shiny applications. Alternatively, `DataEditR` also ships with an RStudio add-in should you prefer to interact with it in this way.\n\n#### General features:\n\n- RStudio add-in\n- flexible display options (either `dialog` box, `browser` or RStudio `viewer` pane)\n- fast rendering to quickly view datasets\n- ability to interactively create data.frames from scratch \n- load tabular data saved to file using any reading function (e.g. `read.csv()`)\n- save edited data to file using any writing function (e.g. `write.csv()`)\n- return appropriately formatted data as an R object for downstream use\n- code required to create edited data can be optionally printed to the console or saved to a file\n- support for custom themes through `bslib` package\n- customisable user interface (title, logo and modules)\n- row indices are always displayed for easy navigation\n- switch between datasets or files without having to leave the application\n\n#### Data editing features:\n\n- column selection using the `dataSelect` module\n- row selection using the `dataFilter` module\n- edit row or column names\n- addition or removal of rows or columns\n- manual column resizing\n- drag to fill cells\n- copy or paste data to and from external software\n- custom column types to simplify user input (e.g. checkboxes and dropdown menus)\n- support for readonly columns to prevent users from editing certain columns\n- control over which column names can be edited\n- stretch columns horizontally to fill available space\n- programmatically add columns or rows to data prior to loading into the data editor\n\nA quick demonstration of some of these features can be seen below, where we use `data_edit()` to make changes to the `mtcars` dataset and save the result to a new csv file:\n\n```{r, eval = FALSE}\n# Load required packages\nlibrary(DataEditR)\n\n# Save output to R object \u0026 csv file\nmtcars_new \u003c- data_edit(mtcars,\n                        save_as = \"mtcars_new.csv\")\n```\n\n```{r, echo=FALSE, fig.align=\"center\", out.width = '100%'}\nknitr::include_graphics('https://raw.githubusercontent.com/DillonHammill/DataEditR/master/man/figures/DataEditR/DataEditR-README.gif')\n```\n\n## Credits\n\n**DataEditR** is built using the fantastic [rhandsontable](https://github.com/jrowen/rhandsontable) package. **DataEditR** makes use of many features for entering and editing data, but **rhandsontable** has support for much more sophisticated interactive representations of data should you need them. The user interface of **DataEditR** has been inspired by the [editData](https://github.com/cardiomoon/editData) package which is a great alternative to **DataEditR**.\n\n## Code of Conduct\n  \nPlease note that the **DataEditR** project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n\n## Citation\n\nIf you use **DataEditR** in your work, please cite the package as follows:\n```{r}\ncitation(\"DataEditR\")\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDillonHammill%2FDataEditR","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FDillonHammill%2FDataEditR","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FDillonHammill%2FDataEditR/lists"}