tables.applycodebook.md
January 18, 2023 ยท View on GitHub
Home > @datashaper/tables > applyCodebook
applyCodebook() function
Signature:
export declare function applyCodebook(table: ColumnTable, codebook: CodebookSchema, strategy: CodebookStrategy, dataTableSchema?: Partial<DataTableSchema>): ColumnTable;
Parameters
| Parameter | Type | Description |
|---|---|---|
| table | ColumnTable | |
| codebook | CodebookSchema | |
| strategy | CodebookStrategy | |
| dataTableSchema | Partial<DataTableSchema> | (Optional) |
Returns:
ColumnTable