We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
export
Exports data from a code list document file (in OpenCodeList format) to a supported destination format.
ocl export {--file | -f} <file-path> --to-format {csv | ssv | xlsx} --to-file <file-path>
For an explanation of the command-line notation, see Command-Line Syntax.
The export command exports data from a code list document file (in OpenCodeList format) to a supported destination format.
The following destination formats are supported:
Exports data from a code list file to a CSV file.
ocl export --file countries.ocl --to-format csv --to-file countries.csv
Exports data from a code list file to an Excel workbook.
ocl export --file countries.ocl --to-format xlsx --to-file countries.xlsx
--file or -f
--file
-f
Specifies the source OpenCodeList file to export.
--to-format
Specifies the destination file format.
Supported values:
csv
ssv
xlsx
--to-file
Specifies the destination file to be created.