velocirepo export
Export the data as plain tables to the given directory: one file per table for parquet and csv, or one database file (velocirepo.duckdb) for duckdb. The tables are projects, targets, metrics, metrics_filled, indicators, events, content and meta. With --data-dict, also write data-dict.yaml, a data dictionary (https://data-dict.tidyverse.org) of exactly the exported data, with what [data_dict] in velocirepo.toml adds. The dictionary describes the duckdb format, which --data-dict implies.
velocirepo export [OPTIONS]Full --help output
Export the data as plain tables to the given directory: one file per table for parquet
and csv, or one database file (velocirepo.duckdb) for duckdb. The tables are projects,
targets, metrics, metrics_filled, indicators, events, content and meta.
With --data-dict, also write data-dict.yaml, a data dictionary (https://data-dict.tidyverse.org)
of exactly the exported data, with what [data_dict] in velocirepo.toml adds. The dictionary
describes the duckdb format, which --data-dict implies.
Usage:
velocirepo export <directory> [flags]
Flags:
--data-dict also write data-dict.yaml, a data dictionary of the export (implies --format duckdb)
--format string output format: parquet, csv, duckdb (default "parquet")
-h, --help help for export
--project string export only this project
--source string export only this source
Global Flags:
--config string config file (default: walk up for velocirepo.toml)
-q, --quiet suppress progress output
-v, --verbose enable debug logging
Options
--data-dict-
also write data-dict.yaml, a data dictionary of the export (implies
--formatduckdb) --format: string = parquet- output format: parquet, csv, duckdb
-h, --help- help for export
--project: string- export only this project
--source: string- export only this source
--config: string = walk up for velocirepo.toml- config file
-q, --quiet- suppress progress output
-v, --verbose- enable debug logging