CommandHelper-package: Interactive assistance for constructing complex commands.

Description Details Author(s) References See Also Examples

Description

Currently, there is one command, lintr, that helps a user to construct a potentially complex series of commands in dplyr.

Details

Package: CommandHelper
Type: Package
Version: 0.1
Date: 2014-11-24
License: What license is it under?

Construct your command (which might be as simple as the name of a data frame) and pipe into lintr(). A shiny interface will be opened that contains your command in an editor, and the output of that command shown as a table. There is also a line editor, which you use to select a dplyr (or other) function and provide the arguments. lintr() will try to point out problems with your use of the function, and will display documentation. At your directive ("Try it!"), your new line will be evaluated on the output of your initial command. The output will be displayed in a table. You can optionally add your new line to the input command and edit another new line.

You can also edit the input command and see the results directly, but this does not provide the function vetting.

Author(s)

Daniel Kaplan, mailto:dtkaplan@gmail.com

References

As this becomes more refined, add in some documentation about the technologies involved, e.g. shiny.

See Also

dplyr, mosaic, DCF

Examples

1
2
3
4
5
6
## Not run: require( mosaicData )
KidsFeet 
  select( sex, birthyear, length, width, biggerfoot) 
  lintr()

## End(Not run)

dtkaplan/CommandHelper documentation built on May 15, 2019, 4:57 p.m.