CRAN
vartors 0.2.6
Transform Definition of Variables to R Scripts
Released Aug 11, 2014 by Joris Muller
Generates R scripts useful to perform repetitive tasks on variables of different classes from a simple database. First it helps to create a tabular file describing the variables. Then the package could process this tabulate file to create a script in a .R or .Rmd format. This script will include code blocks for each variable according to the variable description. It could help to import, adapt to R classes and perform descriptive analysis on each variable according to its type. This R script could be used as it is or it could be modified if necessary to perform additional analysis. The user could write his own R script template to produce a customized script.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>vartors</artifactId> <version>0.2.6-b242</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:vartors')
Test Results
This package was last tested against Renjin 0.9.2687 on Aug 24, 2018.
- DatabaseDef-class-examples
- DatabaseDef_class.constructor
- DatabaseDef_class.get_all_rname_Method_should_get_all_the_rnames_E1
- DatabaseDef_class.get_all_rname_Method_should_get_all_the_rnames_E2
- DatabaseDef_class.simple_construct_E1
- DatabaseDef_class.simple_construct_E2
- bad_database-examples
- c-ScriptOutput-method-examples
- create_script-examples
- descvars_skeleton-examples
- export_template-examples
- import_template-examples
- import_vardef-examples
- list_templates-examples
- test-all
- write_file-examples