Usage
To use Datavzrd, run the following command in your terminal:
$ datavzrd [FLAGS] [OPTIONS] <CONFIG> --output <output>
Example:
$ datavzrd path/to/my-config.yaml --output my-report
Command Line Arguments
Subcommands
Datavzrd also supports additional functionality through subcommands. Below are the available subcommands:
Publish
The publish subcommand allows you to publish a generated report to GitHub Pages. This requires the user to have gh installed and authenticated.
$ datavzrd publish --repo-name <repo_name> --report-path <report_path> [--org <organization>]
Command Line Arguments for publish:
Example:
$ datavzrd publish --repo-name my-awesome-report --report-path ./output --org my-awesome-org --entry index.html
This command publishes the report located in ./output to the my-awesome-report repository of the organisation my-awesome-org on GitHub Pages, with index.html as the entry point. The repository will be created under https://my-awesome-org.github.io/my-awesome-report/ and can be accessed after GitHub pages is activated by the user. After successful publishing the user is provided with simple instructions on how to activate GitHub pages.
Suggest
The suggest subcommand generates a configuration file based on the provided tabular input files. The suggested configuration is written to stdout.
$ datavzrd suggest --files <file_paths> --separators <separators> [--name <report_name>]
Command Line Arguments for suggest:
Example:
$ datavzrd suggest -f data1.csv -s , -f data2.tsv -s $'\t'