Basic utility functions to support reproducible research. Based on ideas published by Christopher Gandrud. This package relies on four stages of data analysis:

1. Gather - collect data
2. Cook - alter raw data so that it is fit for analysis
3. Analyze - construct models or other analysis
4. Present - synthesize the analysis so that it may be presented to an end-user or decision maker

A sample workflow

represtools::NewResearch("Baseball")
represtools::Gather("Hitters")

# write some code

represtools::Cook("Hitters")

# write some code

represtools::Analyze("Handedness")

# write some code

represtools::Present("Handedness", title = "On the quality of right-handed batters", output = "html")

# write some code

represtools::Make()

This workflow ensures that anything which changes at an earlier stage of the process must force reconstruction of later stages.