whodb_platform_promote_file_to_dataset
Promote a hosted project file to a dataset by mapping file columns to dataset columns, previewing the result, and confirming to apply.
Instructions
Promote a hosted project file to a dataset.
Use whodb_platform_file_inspect first to infer column_map values. Default mode returns a confirmation token; do not call whodb_platform_confirm until the user approves the preview. Accepts workspace {host, org, project} for per-call targeting without changing defaults.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Dataset name | |
| file_id | Yes | Hosted project file id | |
| workspace | No | Optional target for this call only. Omit to use the session default set by whodb_platform_session_use, then process/saved defaults. Discover targets with whodb_platform_hosts, whodb_platform_orgs and whodb_platform_projects. | |
| column_map | Yes | Column mappings, usually from whodb_platform_file_inspect | |
| description | No | Optional dataset description | |
| sheet_index | No | Optional tabular sheet index |