CLI
Command-Line Interface for project
Main command
- c19_dfm
Help
- c19_dfm --help
Process data and generate parquet DataFrame
- c19_dfm process ./outfile.xlsx
create_input_h5ad(h5ad_out, data_path, factor_path, metadata_path=typer.Option(help='Path to metadata (needed if batching data)'))
¶
Convert data, factor, and metadata CSVs to H5AD and save output
Example: c19dfm create_input_h5ad data.h5ad ./data.csv ./factors.csv --metadata ./metadata.csv
Source code in dfmdash/cli.py
45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 |
|
create_project_data(outdir)
¶
Create H5AD object of covid19 response and economic data
Source code in dfmdash/cli.py
62 63 64 65 66 67 68 69 |
|
launch(port=8501)
¶
Launch Dynamic Factor Dashboard
Source code in dfmdash/cli.py
72 73 74 75 76 77 78 79 |
|