Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Swechhya/excelR
An Interface to 'jExcel.js' Library
https://github.com/Swechhya/excelR
hacktoberfest r shiny
Last synced: 4 months ago
JSON representation
An Interface to 'jExcel.js' Library
- Host: GitHub
- URL: https://github.com/Swechhya/excelR
- Owner: Swechhya
- License: other
- Created: 2019-07-03T05:04:14.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-07-12T10:04:13.000Z (over 1 year ago)
- Last Synced: 2024-10-23T15:31:34.794Z (4 months ago)
- Topics: hacktoberfest, r, shiny
- Language: JavaScript
- Homepage: https://swechhya.github.io/excelR/
- Size: 2.34 MB
- Stars: 152
- Watchers: 13
- Forks: 19
- Open Issues: 28
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-shiny-extensions - excelR - R interface to the jExcel.js library. (UI Components / Table)
- jimsghstars - Swechhya/excelR - An Interface to 'jExcel.js' Library (JavaScript)
README
# excelR
[](https://CRAN.R-project.org/package=excelR)
[](https://cran.r-project.org/package=excelR)
[](https://travis-ci.org/Swechhya/excelR)
[](https://ci.appveyor.com/project/Swechhya/excelR)
[](https://codecov.io/gh/Swechhya/excelR)
An R interface to [jExcel](https://bossanova.uk/jexcel/v3/) library to create web-based interactive tables and spreadsheets compatible with 'Excel' or any other spreadsheet software.
## Installation
To install the stable CRAN version:
```r
install.packages('excelR')
```To install the latest development version from GitHub:
```r
library(devtools)
install_github('Swechhya/excelR')
```## Simple example
```r
library(excelR)data = data.frame(Model = c('Mazda', 'Pegeout', 'Honda Fit', 'Honda CRV'),
Date=c('2006-01-01', '2005-01-01','2004-01-01', '2003-01-01' ),
Availability = c(TRUE, FALSE, TRUE, TRUE))columns = data.frame(title=c('Model', 'Date', 'Availability'),
width= c(300, 300, 300),
type=c('text', 'calendar', 'checkbox'))excelTable(data=data, columns = columns)
```
This package can be used in `shiny`
```r
library(shiny)
library(excelR)shinyApp(
ui = fluidPage(excelOutput("table")),
server = function(input, output, session) {
output$table <-
renderExcel(excelTable(data = head(iris)))
}
)```
## Features:
- Insert and delete rows and columns.
- Excel formulas integration
- Drag and drop columns
- Resizable rows and columns
- Merge rows and columns
- Search
- Pagination
- Lazy loading
- Native color picker
- Data picker dropdown with autocomplete, multiple, and icons feature
- Date picker