Package 'IGoRRR'

Title: A Shiny Interface for Simple Data Management
Description: Launches a shiny application generating code to view tables in several ways, import/export tables, modify tables, make some basic graphics. 'IGoR' is a graphic user interface designed to help beginners using simple functions around table management and exploration. Inspired by 'Rcmdr', 'IGoR' is a code generator that, with simple inputs under a Shiny application, provides R code mainly built around the 'tidyverse' or some packages in the direct line of the Mosaic project: the 'rio' and 'ggformula' packages. The generated code doesn't depend on IGoR and can be manually modified by the user or copied elsewhere.
Authors: Jean-Luc Lipatz [aut, cre], Bernard Gestin [ctb]
Maintainer: Jean-Luc Lipatz <[email protected]>
License: GPL (>= 2)
Version: 0.3.4
Built: 2024-12-16 07:05:17 UTC
Source: CRAN

Help Index


IGoR

Description

Launches IGoR.

Usage

go(envir=.GlobalEnv, examples=TRUE)

Arguments

envir

An environment where to remember tables that will be built by the user with IGoR. Only tables in this environment will be usable by IGoR.

examples

If TRUE, load three small tables usefull for testing IGoR. If same named tables exist they will be replaced.

Details

IGoRRR (within the application: IGoR for I Go R), generates R code using a limited set of packages, mostly from the 'tidyverse' or inspired by the 'Mosaic' project. The generated code is systematically displayed and, in most cases, not activated until the user aks for. Statisticals tables and graphics are the exceptions. The code may be copied elsewhere to help building a program that will not need IGoR to run. Copied code give some indication of needed packages when it is possible.

There are two small exceptions to the rule, two trivial shortcuts used to produce a readable code. They are both related to weighted statitics. Their (small) R code is in the file Utilities.R.

wtd.sum

wtd.percent

Startup

Before running IGoR, the packages used to generate code are requested to be added to loaded ones. These packages will still be available when exiting IGoR, in order to make any copy of the generated code still able to run.

Configuration

Configuration files reside in the text subdirectory of the package.

The file config.json contains the description of drives used when searching a file or a place to write a file. They should be changed to places that are meaningfull on the target system. Among them only home is mandatory but it may reference another place than the working directory.

The file config.json contains the structure of menus displayed by IGoR. They can be reordered differently and some items may be removed but there is now provision, today, to add some. The menus names cannot be changed as they reference function names in package or entries in the file FR.json where the actual titles are extracted.

The file FR.json contains every text that is displayed in the user's language. It contains the title of every widget displayed by Shiny and also every text that is used to help the user in its use of IGoR. Current file is in french language and may be completed by files in some other languess in the future, although the code todays doen't give any choice.

Value

None. Returns NULL invisibly.

Examples

## Not run: 
go()           # will retrieve and store tables in .GlobalEnv
 
## End(Not run)
## Not run: 
e <- new.env() # will store tables in a specific environment
go(e)          # make some tables then leave
go(e, FALSE)   # go back to IGoR with previously made tables without refreshing example tables
 
## End(Not run)