
Create a one-command agent-ready bundle from a raw data file
Source:R/make-agent-bundle.R
make_agent_bundle.RdReads a data file, profiles it, detects column roles, synthesizes data, and exports a zip bundle suitable for passing to an AI agent.
Arguments
- file
Path to the input data file. Passed to
read_input().- out
Path for the output zip file.
- purpose
Synthesis purpose preset. Defaults to
"development". Seesynth_spec()for valid values.- seed
Optional integer random seed for reproducible synthesis.
- overwrite
Logical. When
FALSE(the default), aborts ifoutalready exists.- ...
Additional arguments passed to
read_input()only (e.g.encoding,sheet).
Examples
if (FALSE) { # \dontrun{
make_agent_bundle(
file = "path/to/data.csv",
out = tempfile(fileext = ".zip")
)
} # }