A Framework for Planning and Executing Analyses
Create an example R Markdown project structure
Example action function for demonstrating analysis structure
An example data_fn that returns a data set
Create a cross product of lists
Get objects with package namespace support
Generate a hash of an object
Check if code is being run directly or from within a function
R6 Class for Planning and Executing Analyses
Set package configuration options
Test action function that returns a constant value
Retry code execution with exponential backoff
Generate a UUID
A comprehensive framework for planning and executing analyses in R. It provides a structured approach to running the same function multiple times with different arguments, executing multiple functions on the same datasets, and creating systematic analyses across multiple strata or variables. The framework is particularly useful for applying the same analysis across multiple strata (e.g., locations, age groups), running statistical methods on multiple variables (e.g., exposures, outcomes), generating multiple tables or graphs for reports, and creating systematic surveillance analyses. Key features include efficient data management, structured analysis planning, flexible execution options, built-in debugging tools, and hash-based caching.
Useful links