• Stars
    star
    138
  • Rank 264,508 (Top 6 %)
  • Language
    R
  • License
    GNU General Publi...
  • Created over 4 years ago
  • Updated 5 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Shiny modules to import and manipulate data into an application or addin

datamods

Shiny modules to import and manipulate data into an application or addin.

version codecov cranlogs R-CMD-check

Overview

This package provides custom shiny modules to import data from various sources, select, rename and convert variables in a dataset and validate content with validate package.
The modules can be used in any standard shiny application or RStudio add-in.

Internationalization

Currently you can use {datamods} in the following language: english (default), french, macedonian, brazilian portuguese, albanian, chinese, spanish, german, turkish, korean, polish, japanese.

If you want another language to be supported, you can submit a Pull Request to add a CSV file like the one used for french (file is located in inst/i18n folder in the package, you can see it here on GitHub).

See the online vignette for more on this topic.

Installation

Install from CRAN with:

install.packages("datamods")

You can install the development version of datamods from GitHub with:

remotes::install_github("dreamRs/datamods")

Import

Import data from:

  • environment: such as Global environment or from a package
  • file: text files, Excel, SAS or SPSS format… anything that package rio can handle
  • copy/paste: paste data from an other source like Excel or text file
  • Google Sheet: use the URL to import the Googlesheet
  • URL: use a URL to import from a flat table

Each module is available in the form import_file_ui() / import_file_server() and can be use independently.

Or all modules can be launched together in a modal window via import_modal() / import_server():

This module also allow to view imported data and to update variables.

Update

Module update_variables_ui() / update_variables_server() allow to:

  • select variables of interest in a dataset
  • rename variables to be used in application after that
  • convert variables to change their class, from character to numeric for example

Validate

Define some validation rules with package validate and check whether data lives up to those expectations.

Filter

Interactively filter a data.frame, this module also generates the code to reproduce the filters.

Sample

Interactively sample a data.frame:

Edit

Interactively edit a data.frame:

More Repositories

1

esquisse

RStudio add-in to make plots interactively with ggplot2
R
1,765
star
2

shinyWidgets

shinyWidgets : Extend widgets available in shiny
R
822
star
3

fresh

Fresh shiny themes
SCSS
225
star
4

billboarder

πŸ“Š R Htmlwidget for billboard.js
R
173
star
5

prefixer

Prefix function with their namespace & other development tools
R
141
star
6

apexcharter

πŸ“Š R Htmlwidget for ApexCharts.js
R
139
star
7

shinybusy

Minimal busy indicator for Shiny apps
R
138
star
8

gfonts

πŸ”€ Offline Google Fonts for rmarkdown and shiny
R
112
star
9

shinyapps

Some Shiny applications
R
102
star
10

shinylogs

Logs for Shiny apps
R
95
star
11

toastui

R htmlwidgets for ToastUI libraries: grid, calendar and chart
R
80
star
12

colorscale

Create a color scale from a single color
R
80
star
13

shufflecards

✨ Create magical grid layouts in Shiny & Markdown
R
80
star
14

r2d3maps

r2d3 experiment to draw maps in D3
R
75
star
15

tuicalendr

πŸ“† R htmlwidget for tui-calendar
R
54
star
16

topogram

R htmlwidget for cartogram-chart
R
51
star
17

shinypop

Collection of notifications, confirm dialogs and alerts for 'Shiny' applications
JavaScript
51
star
18

addinit

Initialize & structure an 'RStudio' Project
R
50
star
19

viewxl

'RStudio' addin to open data.frame(s) in Excel
R
47
star
20

wired

Wired elements in Shiny
JavaScript
47
star
21

shinytreeview

Hierarchical tree input for Shiny apps
R
41
star
22

memory-hex

Hex Memory Game in Shiny
R
33
star
23

sqlquery

Htmlwidget to write SQL queries
JavaScript
31
star
24

capture

Take screenshots in Shiny apps
JavaScript
29
star
25

particlesjs

Particles.js for Shiny apps & rmarkdown
R
26
star
26

timelineschart

Htmlwidget for timelines-chart
R
26
star
27

jstools

Tools to work with JavaScript and CSS files
JavaScript
25
star
28

flexpivot

Simple frequency table
R
24
star
29

phosphoricons

Phosphor Icons for R
R
23
star
30

weather

Weather icons in ggplot2, shiny and rmarkdown
SCSS
20
star
31

where

πŸ“ Cities database and a game!
R
16
star
32

d3.format

R interface for d3.format
R
16
star
33

shinyvs

Virtual Select widget for shiny apps
R
16
star
34

gridstackr

Create movable and resizable grid layout in 'Shiny' application.
R
16
star
35

resizer

Simulate screen resolution for Shiny apps
R
15
star
36

tuichartr

πŸ“Š R htmlwidget for tui-chart
R
14
star
37

shinywb

Interface to WinBox JavaScript library to use in shiny applications
R
13
star
38

grillade

Grid sytem for shiny apps or rmarkdown and to create htmlwidgets matrix
R
13
star
39

rte.data

Access data from RTE API
R
10
star
40

tweets-transports

Analyse des tweets des lignes de transport parisien
R
9
star
41

bar

R Htmlwidget for proportions-chart JavaScript library
JavaScript
9
star
42

talks

πŸ’¬ Slides for dreamRs talks
5
star
43

france-power-grid

French housing connected to the electricity grid
R
5
star
44

reactwidgets

Extra React Widgets for Shiny applications
R
4
star
45

luciole

Luciole font for R. a new typeface developed explicitly for visually impaired people
R
3
star
46

nlpr.fr

Client for 'NLP.js' for Natural Language Operations in French
R
2
star
47

vchartr

R Htmlwidget for VChart charting library
R
2
star
48

uPlot-r

R htmlwidget for Β΅Plot.js
R
1
star
49

rr2018addins

Exemples d'add-ins RStudio pour les rencontres R 2018
R
1
star