Returns a securer::securer_tool() that computes summary statistics
for a data frame.
Details
Computes per-column statistics including type, missing count, and unique count. For numeric and integer columns, also computes min, max, mean, median, and standard deviation. For character and factor columns, returns the top 5 most frequent values with counts.
When the input data frame exceeds max_rows, a random sample of
max_rows rows is profiled and the result indicates that sampling
occurred.
The data argument is declared as type "list" in the tool schema
because the IPC serialization layer converts data frames to lists.
The tool automatically coerces list input back to a data frame.
See also
Other tool factories:
calculator_tool(),
fetch_url_tool(),
plot_tool(),
query_sql_tool(),
r_help_tool(),
read_file_tool(),
write_file_tool()