• Stars
    star
    127
  • Rank 272,737 (Top 6 %)
  • Language
    R
  • License
    GNU General Publi...
  • Created over 3 years ago
  • Updated 2 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 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,719
star
2

shinyWidgets

shinyWidgets : Extend widgets available in shiny
R
794
star
3

fresh

Fresh shiny themes
SCSS
221
star
4

billboarder

๐Ÿ“Š R Htmlwidget for billboard.js
R
172
star
5

prefixer

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

shinybusy

Minimal busy indicator for Shiny apps
R
137
star
7

apexcharter

๐Ÿ“Š R Htmlwidget for ApexCharts.js
R
135
star
8

gfonts

๐Ÿ”ค Offline Google Fonts for rmarkdown and shiny
R
112
star
9

shinyapps

Some Shiny applications
R
99
star
10

shinylogs

Logs for Shiny apps
R
96
star
11

colorscale

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

shufflecards

โœจ Create magical grid layouts in Shiny & Markdown
R
80
star
13

toastui

R htmlwidgets for ToastUI libraries: grid, calendar and chart
R
75
star
14

r2d3maps

r2d3 experiment to draw maps in D3
R
73
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
50
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
40
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
24
star
28

flexpivot

Simple frequency table
R
23
star
29

weather

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

phosphoricons

Phosphor Icons for R
R
19
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

resizer

Simulate screen resolution for Shiny apps
R
15
star
35

tuichartr

๐Ÿ“Š R htmlwidget for tui-chart
R
14
star
36

grillade

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

rte.data

Access data from RTE API
R
10
star
38

tweets-transports

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

bar

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

shinywb

Interface to WinBox JavaScript library to use in shiny applications
R
8
star
41

talks

๐Ÿ’ฌ Slides for dreamRs talks
5
star
42

france-power-grid

French housing connected to the electricity grid
R
4
star
43

luciole

Luciole font for R. a new typeface developed explicitly for visually impaired people
R
2
star
44

nlpr.fr

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

uPlot-r

R htmlwidget for ยตPlot.js
R
1
star
46

rr2018addins

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