092fdbba5a
Add cli/refresh_pathways.py with: - refresh_pathways() main function for full pipeline orchestration - insert_pathway_records() for SQLite insertion - log_refresh_start/complete/failed() for refresh tracking - CLI with --minimum-patients, --provider-codes, --dry-run, --verbose Uses existing pipeline functions: - fetch_and_transform_data() from pathway_pipeline.py - process_all_date_filters() for 6 date filter combinations - Schema helpers from data_processing/schema.py
7 lines
170 B
Python
7 lines
170 B
Python
"""
|
|
CLI commands for NHS High-Cost Drug Patient Pathway Analysis Tool.
|
|
|
|
Available commands:
|
|
python -m cli.refresh_pathways - Refresh pathway data from Snowflake
|
|
"""
|