|
|
|
@ -17,16 +17,17 @@ This project is intended to compute an estimated value of risk for a given datab
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
*Generate The merged dataset
|
|
|
|
|
**Generate The merged dataset**
|
|
|
|
|
|
|
|
|
|
python risk.py create --i_dataset <in dataset|schema> --o_dataset <out dataset|schema> --table <name> --path <bigquery-key-file> --key <patient-id-field-name> [--file ]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* * Compute risk (marketer, prosecutor)
|
|
|
|
|
**Compute risk (marketer, prosecutor)**
|
|
|
|
|
|
|
|
|
|
python risk.py compute --i_dataset <dataset> --table <name> --path <bigquery-key-file> --key <patient-id-field-name>
|
|
|
|
|
## Limitations
|
|
|
|
|
- It works against bigquery for now
|
|
|
|
|
|
|
|
|
|
@TODO:
|
|
|
|
|
- Need to write a transport layer (database interface)
|
|
|
|
|
- Support for referential integrity, so one table can be selected and a dataset derived given referential integrity
|
|
|
|
|