Skip to content

civex view

Export saved views

Command Description
export Export a saved view's rows, honoring its saved filter/sort and flattening joined columns (text formats use the dotted "ref_field.target_field" header; json nests them). Any file/file_list column is bundled into a zip alongside the table. civex files export --view makes the same thing as a folder.

civex view export

Export a saved view's rows, honoring its saved filter/sort and flattening joined columns (text formats use the dotted "ref_field.target_field" header; json nests them). Any file/file_list column is bundled into a zip alongside the table. civex files export --view makes the same thing as a folder.

Usage

civex view export [OPTIONS] SCHEMA_NAME VIEW_NAME

Arguments

Argument Type Required Description
SCHEMA_NAME str yes Schema the view belongs to
VIEW_NAME str yes View name

Options

Option Type Default Description
--format, -f str csv Output format: one of csv, tsv, xlsx, json, jsonl
--output, -o path Destination file. Defaults to '.', or '.zip' when the view includes file/file_list columns.