- Notifications
You must be signed in to change notification settings - Fork41
Shiny modules to import and manipulate data into an application or addin
License
dreamRs/datamods
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Shiny modules to import and manipulate data into an application oraddin.
This package provides custom shiny modules to import data from varioussources, select, rename and convert variables in a dataset and validatecontent withvalidatepackage.
The modules can be used in any standard shiny application or RStudioadd-in.
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 PullRequest to add a CSV file like the one used for french (file is locatedininst/i18n folder in the package, you can see ithere onGitHub).
See theonlinevignette formore on this topic.
Install fromCRAN with:
install.packages("datamods")You can install the development version of datamods fromGitHub with:
remotes::install_github("dreamRs/datamods")
Import data from:
- environment: such as Global environment or from a package
- file: text files, Excel, SAS or SPSS format… anything that packagerio canhandle
- copy/paste: paste data from an other source like Excel or textfile
- 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 formimport_file_ui() /import_file_server() and can be use independently.
Or all modules can be launched together in a modal window viaimport_modal() /import_server():
This module also allow to view imported data and to update variables.
Moduleupdate_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 numericfor example
Define some validation rules with packagevalidate and check whetherdata lives up to those expectations.
Interactively filter adata.frame, this module also generates the codeto reproduce the filters.
This module extracts a sample from adata.frame, based either on afixed number of rows or on a percentage of total rows.
This module makes adata.frame editable, allowing the user to add,modify or delete rows.
This module allow to enter an expression to create a new column in adata.frame.
This module contain an interface to cut a numeric into severalintervals.
This module contain an interface to reorder the levels of a factorvariable.
About
Shiny modules to import and manipulate data into an application or addin
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.








