
Export a Lens-compatible diagnostic schema for a dataset
Source:R/export-diagnostic.R
export_diagnostic_package.RdProfiles a data frame and writes a diagnostic_view.json describing
column roles, sensitivity, and exposure levels. Does not synthesise data.
Intended for agent pre-inspection and Lens ingestion.
Arguments
- data
A data frame to describe.
- path
Output path for the JSON file.
- roles
Optional; a
dataganger_rolesobject fromdetect_roles(). Computed internally ifNULL.- profile
Optional; a
dataganger_profileobject fromprofile_data(). Computed internally ifNULL.- overwrite
Logical. When
FALSE(the default), aborts ifpathalready exists.